PUSH R12
PUSH RBP
MOV EBP,EDI
PUSH RBX
SUB RSP,0x50
MOV qword ptr [RSP + 0x30],RDX
MOV qword ptr [RSP + 0x38],RCX
MOV qword ptr [RSP + 0x40],R8
MOV qword ptr [RSP + 0x48],R9
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x18],RAX
XOR EAX,EAX
LEA RAX,[RSP + 0x70]
MOV dword ptr [RSP],0x10
MOV qword ptr [RSP + 0x8],RAX
LEA RAX,[RSP + 0x20]
MOV qword ptr [RSP + 0x10],RAX
TEST ESI,ESI
JZ 0x001253c8
CMP ESI,0x406
JZ 0x00125400
CMP ESI,0xb
JZ 0x0012535b
JLE 0x00125348
CMP ESI,0x407
JG 0x001253a0
CMP ESI,0x406
JGE 0x0012537c
CMP ESI,0x401
JZ 0x0012535b
CMP ESI,0x402
JZ 0x0012537c
CMP ESI,0x400
JZ 0x0012537c
MOV EAX,dword ptr [RSP]
CMP EAX,0x2f
JA 0x001254a8
ADD RAX,qword ptr [RSP + 0x10]
MOV RDX,qword ptr [RAX]
MOV EDI,EBP
XOR EAX,EAX
CALL 0x00104160
MOV EBX,EAX
JMP 0x001253db
CMP ESI,0x4
JZ 0x0012537c
JG 0x00125370
CMP ESI,0x2
JZ 0x0012537c
JG 0x0012535b
CMP ESI,0x1
JNZ 0x00125320
MOV EDI,EBP
XOR EAX,EAX
CALL 0x00104160
MOV EBX,EAX
JMP 0x001253db
CMP ESI,0x9
JZ 0x0012535b
JG 0x0012537c
CMP ESI,0x8
JNZ 0x00125320
MOV EAX,dword ptr [RSP]
CMP EAX,0x2f
JA 0x001254f0
ADD RAX,qword ptr [RSP + 0x10]
MOV EDX,dword ptr [RAX]
MOV EDI,EBP
XOR EAX,EAX
CALL 0x00104160
MOV EBX,EAX
JMP 0x001253db
CMP ESI,0x409
JZ 0x0012537c
JL 0x0012535b
CMP ESI,0x40a
JNZ 0x00125320
MOV EDI,EBP
XOR EAX,EAX
CALL 0x00104160
MOV EBX,EAX
JMP 0x001253db
MOV RAX,qword ptr [RSP + 0x10]
XOR ESI,ESI
MOV EDX,dword ptr [RAX + 0x10]
XOR EAX,EAX
CALL 0x00104160
MOV EBX,EAX
MOV RCX,qword ptr [RSP + 0x18]
XOR RCX,qword ptr FS:[0x28]
MOV EAX,EBX
JNZ 0x001254fa
ADD RSP,0x50
POP RBX
POP RBP
POP R12
RET
MOV RAX,qword ptr [RSP + 0x10]
MOV dword ptr [RSP],0x18
MOV R12D,dword ptr [RAX + 0x10]
MOV EAX,dword ptr [0x00135620]
MOV EDX,R12D
TEST EAX,EAX
JS 0x00125440
MOV ESI,0x406
XOR EAX,EAX
CALL 0x00104160
MOV EBX,EAX
TEST EAX,EAX
JS 0x001254b8
MOV dword ptr [0x00135620],0x1
JMP 0x001253db
XOR ESI,ESI
XOR EAX,EAX
CALL 0x00104160
MOV EBX,EAX
TEST EAX,EAX
JS 0x001253db
CMP dword ptr [0x00135620],-0x1
JNZ 0x001253db
XOR EAX,EAX
MOV ESI,0x1
MOV EDI,EBX
CALL 0x00104160
TEST EAX,EAX
JS 0x00125486
OR EAX,0x1
MOV ESI,0x2
MOV EDI,EBX
MOV EDX,EAX
XOR EAX,EAX
CALL 0x00104160
CMP EAX,-0x1
JNZ 0x001253db
CALL 0x001040b0
MOV EDI,EBX
OR EBX,0xffffffff
MOV R12D,dword ptr [RAX]
MOV RBP,RAX
CALL 0x00104300
MOV dword ptr [RBP],R12D
JMP 0x001253db
MOV RAX,qword ptr [RSP + 0x8]
JMP 0x00125331
CALL 0x001040b0
CMP dword ptr [RAX],0x16
JNZ 0x00125433
MOV EDX,R12D
XOR ESI,ESI
MOV EDI,EBP
XOR EAX,EAX
CALL 0x00104160
MOV EBX,EAX
TEST EAX,EAX
JS 0x001253db
MOV dword ptr [0x00135620],0xffffffff
JMP 0x00125458
MOV RAX,qword ptr [RSP + 0x8]
JMP 0x0012538d
CALL 0x00104240