Function at 0x412930
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x12c]
cmp eax, dword [ecx + 8]
jbe 0x413ad3
sub esp, 0x1ac
lea eax, [0x4f29c8]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00401e00
mov eax, dword [0x4f29c8]
cmp eax, 1
jne 0x41297b
mov eax, 1
jmp 0x412981
cmp eax, 2
sete al
mov byte [0x4f2b14], al
test al, al
je 0x412992
mov eax, 1
jmp 0x412999
movzx eax, byte [0x4f2b15]
mov byte [0x4f2b10], al
mov eax, dword [0x4f3190]
mov ecx, dword [0x4f3194]
mov dword [0x4cd158], eax
mov dword [0x4cd15c], ecx
nop
call fcn.00455450
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
mov edx, dword [esp + 4]
mov dword [esp + 0x30], edx
mov ebx, dword [esp]
mov dword [esp + 0x28], ebx
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x198], ecx
test byte [eax], al
mov dword [ecx + 0x74], 5
lea edi, [ecx + 0x70]
mov dword [esp + 0x1a8], edi
mov eax, dword [0x4f2b10]
test eax, eax
jne 0x412a12
lea eax, [0x46c3f3]
mov dword [ecx + 0x70], eax
jmp 0x412a1d
lea eax, [0x46c3f3]
call fcn.00454620
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x1a0], eax
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x99], 2
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x4c]
mov dword [esp + 0x19c], ecx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.004333c0
mov eax, dword [esp + 0x19c]
mov byte [eax + 0x64], 6
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
lea ecx, [0x413ae0]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0xd4]
mov dword [esp], ecx
call fcn.00453110
lea eax, [0x473ae4]
mov dword [esp], eax
call fcn.00453110
mov eax, dword [esp + 0x1a0]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x99], 0
mov eax, dword [esp + 0x19c]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.004333c0
movzx eax, byte [0x4d7008]
test al, al
je 0x412b30
mov byte [esp], 8
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00449580
mov ecx, dword [esp + 0x198]
mov dword [ecx + 0x74], 0
mov edx, dword [0x4f2b10]
test edx, edx
jne 0x412b51
mov dword [ecx + 0x70], 0
jmp 0x412b5f
mov edi, dword [esp + 0x1a8]
xor eax, eax
call fcn.00454620
mov eax, dword [0x4f29c8]
test eax, eax
jne 0x413abc
mov eax, dword [0x4f42b8]
mov ecx, dword [0x4f42bc]
mov dword [0x4f58a8], eax
mov dword [0x4f58ac], ecx
lea eax, [0x4f3120]
mov dword [esp], eax
movsd xmm0, qword [esp + 0x1b0]
movsd qword [esp + 4], xmm0
call fcn.0041a7a0
mov eax, dword [0x4f3138]
mov ecx, dword [0x4f313c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0041f030
mov eax, dword [0x4f3180]
mov ecx, dword [0x4f3184]
mov edx, dword [0x4f3188]
mov ebx, dword [0x4f318c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
call fcn.0041b030
nop
call fcn.00455450
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x60], edx
call fcn.00455490
mov eax, dword [esp]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
add ecx, eax
mov dword [esp + 0x38], ecx
mov ebp, dword [0x4cd148]
mov esi, dword [esp + 0x24]
mov edi, esi
sub esi, ebp
mov ecx, dword [0x4cd140]
mov dword [esp + 0xc0], ecx
add ecx, esi
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ebx, dword [0x4cd144]
mov edx, dword [0x4cd14c]
mov dword [0x4cd140], ecx
mov ecx, edi
sub edi, ebp
mov ebp, dword [esp + 0x60]
mov edi, ebp
sbb ebp, edx
mov edx, dword [esp + 0xc0]
add edx, esi
adc ebp, ebx
mov dword [0x4cd144], ebp
mov edx, dword [esp + 0x2c]
mov dword [0x4cd13c], edx
mov dword [0x4cd138], ecx
mov edx, dword [0x4cd148]
sub ecx, edx
mov edx, dword [0x4cd14c]
lea ebp, [0x4f5ff0]
mov dword [esp], ebp
sbb edi, edx
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
call fcn.00406ce0
lea eax, [0x4f4328]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
imul eax, eax, 0x3b9aca00
mov ecx, dword [esp + 0xc8]
add eax, ecx
mov ecx, dword [esp + 0x54]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0xc4]
add edx, ebx
adc eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00401e40
lea eax, [0x4f58a0]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.00401e40
mov eax, dword [0x4f5338]
and eax, 0xff
lea ecx, [0x4f4338]
lea edx, [ecx + eax*8]
mov ebx, dword [0x4cd140]
mov ebp, dword [0x4cd144]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0x4f5338]
and eax, 0xff
lea ecx, [0x4f4b38]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x38]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, dword [0x4f4330]
mov ecx, dword [0x4cd140]
add eax, ecx
mov ecx, dword [0x4f4334]
mov edx, dword [0x4cd144]
mov dword [0x4f4330], eax
adc ecx, edx
mov dword [0x4f4334], ecx
mov eax, dword [0x4cd128]
mov ecx, dword [0x4cd120]
mov edx, eax
sub eax, ecx
mov dword [esp + 0xc8], eax
mov ebx, dword [0x4cd118]
mov dword [esp + 0xbc], ebx
mov ebp, edx
mul ebx
mov dword [esp + 0xc4], edx
mov dword [esp + 0x44], eax
mov edi, dword [0x4f31e8]
mov dword [esp + 0xc0], edi
mov esi, dword [0x4f31f0]
mov dword [esp + 0xb8], esi
add edi, esi
mov dword [esp + 0xb4], edi
mov edx, dword [0x4f31f8]
mov dword [esp + 0xb0], edx
add edx, edi
mov dword [esp + 0x68], edx
mov edi, dword [0x4cd138]
mov dword [esp + 0xac], edi
mov esi, dword [0x4cd130]
mov dword [esp + 0xa8], esi
sub edi, esi
mov dword [esp + 0xa4], edi
mov eax, edi
mul ebx
mov dword [esp + 0xa0], edx
mov dword [esp + 0x64], eax
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x44]
add edi, edx
mov dword [esp + 0x9c], edi
add eax, edi
mov dword [esp + 0x78], eax
mov edi, dword [0x4cd0f0]
mov dword [esp + 0x98], edi
add edi, eax
mov dword [esp + 0x94], edi
mov eax, dword [0x4cd12c]
mov edx, dword [0x4cd124]
mov ebx, dword [0x4f31ec]
mov dword [esp + 0x90], ebx
mov esi, dword [0x4f31f4]
mov ebx, dword [0x4f31fc]
mov dword [esp + 0x8c], ebx
mov ebx, dword [0x4cd13c]
mov dword [esp + 0x88], ebx
mov ebx, dword [0x4cd134]
mov dword [esp + 0x84], ebx
mov ebx, dword [0x4cd0f4]
mov dword [esp + 0x80], ebx
mov dword [0x4cd0f0], edi
sub ebp, ecx
sbb eax, edx
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xb8]
add ecx, edx
mov ecx, dword [esp + 0x90]
adc ecx, esi
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
add edx, ebp
mov edx, dword [esp + 0x8c]
adc ecx, edx
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
sub edx, ebp
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
sbb edx, ebp
mov ebp, dword [esp + 0xbc]
mov esi, ebp
sar ebp, 0x1f
imul eax, esi
mov edi, dword [esp + 0xc4]
add eax, edi
mov edi, dword [esp + 0xc8]
imul edi, ebp
add eax, edi
mov dword [esp + 0xc8], eax
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x44]
add edi, ebx
adc ecx, eax
imul edx, esi
mov esi, dword [esp + 0xa0]
add edx, esi
mov esi, dword [esp + 0xa4]
imul esi, ebp
add edx, esi
mov dword [esp + 0xc4], edx
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x9c]
add esi, ebp
adc ecx, edx
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x78]
add esi, edi
mov esi, dword [esp + 0x80]
adc esi, ecx
mov dword [0x4cd0f4], esi
mov ecx, dword [0x4cd454]
mov dword [esp + 0xc0], ecx
mov edi, dword [esp + 0x24]
sub edi, ecx
mov dword [esp + 0xb8], edi
mov edx, dword [0x4f29cc]
mov dword [esp + 0xbc], edx
mov eax, edi
mul edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
mov ebp, dword [0x4cd45c]
mov dword [esp + 0xac], ebp
add ebp, eax
mov dword [esp + 0x40], ebp
mov ebx, dword [0x4cd460]
mov dword [esp + 0x90], ebx
mov ebp, dword [0x4cd458]
mov dword [esp + 0x8c], ebp
mov dword [esp + 4], esi
mov esi, dword [esp + 0x94]
mov dword [esp], esi
call fcn.00450f70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc0]
sub eax, ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x8c]
sbb eax, ecx
mov ecx, dword [esp + 0xbc]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0xb8]
imul ebx, ecx
mov ecx, dword [esp + 0xb4]
add ecx, ebx
imul eax, edx
add eax, ecx
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
add ecx, edx
mov ecx, dword [esp + 0x90]
adc ecx, eax
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xcc], xmm0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00450f70
movsd xmm0, qword [esp + 0xcc]
divsd xmm0, qword [esp + 8]
movsd qword [0x4f5340], xmm0
mov dword [0x4ccf0c], 0
mov dword [0x4ccf10], 0
movzx eax, byte [0x4cd0ec]
test al, al
je 0x4130b4
inc dword [0x4f533c]
nop
lea eax, [0x4cd10c]
mov dword [esp], eax
call fcn.00407d10
inc dword [0x4f5338]
lea eax, [0x4cd110]
mov dword [esp], eax
call fcn.00437350
nop
nop
lea eax, [0x4cd10c]
mov dword [esp], eax
call fcn.00407f10
call fcn.004273d0
lea eax, [0x4ccf14]
mov dword [esp], eax
call fcn.0041d730
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x413aa6
mov byte [esp + 0x23], cl
mov dword [esp + 0xc0], eax
lea eax, [0x473ae8]
mov dword [esp], eax
call fcn.00453110
call fcn.00427440
call fcn.0041fb70
lea eax, [0x473acc]
mov dword [esp], eax
call fcn.00453110
lea eax, [0x473af0]
mov dword [esp], eax
call fcn.00453110
lea eax, [0x4ccf14]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x23]
mov byte [esp + 8], al
call fcn.0041d7b0
mov eax, dword [0x4f2c5c]
test eax, eax
jle 0x4131e9
movsd xmm0, qword [0x485be8]
mulsd xmm0, qword [0x4f5340]
movsd qword [esp + 0xcc], xmm0
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.004547da
call fcn.004309a0
mov ecx, dword [0x4cd120]
mov edx, dword [0x4f2aa8]
sub ecx, edx
mov edx, dword [0x4cd124]
mov ebx, dword [0x4f2aac]
sbb edx, ebx
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.004511b0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x413263
lea eax, [0x4ca1b0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043f4c0
lea eax, [0x4ca190]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043f4c0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x198]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x413251
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x413251
mov dword [eax + 8], 0xfffffade
add esp, 0x1ac
ret
mov ecx, dword [esp + 0xb0]
mov eax, edx
mov edx, esi
test edx, edx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, 0xa
xchg esi, ebx
setae bl
xchg esi, ebx
and ebp, esi
or ebx, ebp
test bl, bl
jne 0x41328a
cmp eax, 0x14
jl 0x41335f
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], eax
mov eax, 0xcccccccd
mov ebp, edx
mul ecx
shr edx, 3
mov esi, edx
add edx, 0
mov eax, 0xcccccccd
mov edi, edx
mul ebp
shr edx, 3
mov dword [esp + 0xc0], edx
lea ebx, [edx + edx*4]
shl ebx, 1
sub ebp, ebx
mov eax, 0x19999999
mul ebp
mov dword [esp + 0xb8], eax
add eax, edi
lea ebx, [esi + esi*4]
shl ebx, 1
sub ecx, ebx
lea ebx, [ebp + ebp*2]
lea ebx, [ecx + ebx*2]
mov ecx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ebx
shr edx, 3
mov dword [esp + 0xb4], edx
add edx, ecx
mov dword [esp + 0xb0], edx
mov eax, edx
mov ebx, 0xa
mul ebx
mov edx, dword [esp + 0x34]
sub edx, eax
add edx, 0x30
add esi, 0
mov esi, dword [esp + 0xc0]
adc esi, 0
mov ebx, dword [esp + 0xb8]
add ebx, edi
adc esi, ebp
mov ebx, dword [esp + 0xb4]
add ebx, ecx
adc esi, 0
mov eax, dword [esp + 0x6c]
cmp eax, 0x18
jae 0x413a9c
mov byte [esp + eax + 0xe0], dl
lea edx, [eax - 1]
cmp eax, 0x15
jne 0x413258
mov byte [esp + eax + 0xdf], 0x2e
lea edx, [eax - 2]
jmp 0x413258
add ecx, 0x30
cmp eax, 0x18
jae 0x413a92
mov byte [esp + eax + 0xe0], cl
mov ecx, dword [0x4f5338]
mov dword [esp + 0xc0], ecx
lea edx, [esp + 0x150]
mov dword [esp], edx
lea edx, [eax - 0x18]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
lea eax, [esp + eax + 0xe0]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00444540
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.004309a0
lea eax, [0x46c26d]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00431280
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00430f20
lea eax, [0x46c160]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00431280
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00431280
lea eax, [0x46c186]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00431280
movsd xmm0, qword [esp + 0xcc]
cvttsd2si eax, xmm0
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00431080
lea eax, [0x46c1aa]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00431280
call fcn.00430a10
mov eax, dword [0x4cd120]
mov ecx, dword [0x4cd124]
mov dword [esp + 0x50], ecx
lea edi, [esp + 0xf8]
mov edx, eax
xor eax, eax
call fcn.004547da
mov ecx, dword [0x4cd128]
mov ebx, dword [0x4cd12c]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ebx
mov ecx, dword [0x4cd130]
mov ebx, dword [0x4cd134]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ebx
mov ecx, dword [0x4cd138]
mov ebx, dword [0x4cd13c]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x50]
jmp 0x413574
sub esi, edx
lea ecx, [esp + 0xe0]
mov dword [esp], ecx
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
sbb ebp, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
call fcn.00414c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x130]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00444540
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.004309a0
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00431280
call fcn.00430a10
mov eax, dword [esp + 0x74]
lea ecx, [eax + 1]
xor eax, eax
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
cmp ecx, 3
jge 0x4135e3
mov dword [esp + 0x74], ecx
lea ebp, [esp + ecx*8 + 0xf8]
mov esi, dword [ebp]
mov dword [esp + 0x4c], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x50], ebp
test ecx, ecx
je 0x4134e5
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], ebx
call fcn.004309a0
lea eax, [0x46c14a]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00431280
call fcn.00430a10
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
jmp 0x4134e5
call fcn.004309a0
lea eax, [0x46cc27]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00431280
call fcn.00430a10
lea edi, [esp + 0x170]
xor eax, eax
call fcn.004547d6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x174], eax
mov eax, dword [0x4f31e8]
mov ecx, dword [0x4f31ec]
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], ecx
mov eax, dword [0x4f31f0]
mov ecx, dword [0x4f31f8]
add eax, ecx
mov ecx, dword [0x4f31f4]
mov edx, dword [0x4f31fc]
mov dword [esp + 0x180], eax
adc ecx, edx
mov dword [esp + 0x184], ecx
mov eax, dword [0x4f3200]
mov ecx, dword [0x4f3204]
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x194], eax
xor eax, eax
jmp 0x413724
lea eax, [esp + 0xe0]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
call fcn.00414c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x110]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00444540
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.004309a0
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00431280
call fcn.00430a10
mov eax, dword [esp + 0x70]
inc eax
cmp eax, 5
jge 0x4137b5
mov dword [esp + 0x70], eax
lea ecx, [esp + eax*8 + 0x170]
mov edx, dword [ecx]
mov dword [esp + 0x58], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x5c], ecx
cmp eax, 2
je 0x41374f
cmp eax, 3
jne 0x41377c
call fcn.004309a0
lea eax, [0x46c14e]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00431280
call fcn.00430a10
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
jmp 0x4136a5
test eax, eax
je 0x4136a5
call fcn.004309a0
lea eax, [0x46c14a]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00431280
call fcn.00430a10
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
jmp 0x4136a5
mov eax, dword [0x4cd154]
mov dword [esp + 0xc8], eax
mov ecx, dword [0x4cd150]
mov dword [esp + 0xc4], ecx
mov edx, dword [0x4cd15c]
mov dword [esp + 0xc0], edx
mov ebx, dword [0x4cd158]
mov dword [esp + 0xb8], ebx
mov ebp, dword [0x4cd164]
mov dword [esp + 0xb4], ebp
mov esi, dword [0x4cd160]
mov dword [esp + 0xb0], esi
mov edi, dword [0x4cd16c]
mov dword [esp + 0xac], edi
mov edi, dword [0x4cd168]
mov dword [esp + 0xa8], edi
mov edi, dword [0x4f31ac]
mov dword [esp + 0xa4], edi
mov edi, dword [0x4f31a8]
mov dword [esp + 0xa0], edi
mov edi, dword [0x4f31bc]
mov dword [esp + 0x9c], edi
mov edi, dword [0x4f31b8]
mov dword [esp + 0x98], edi
mov edi, dword [0x4cd11c]
mov dword [esp + 0xbc], edi
call fcn.004309a0
lea eax, [0x46c840]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00431280
mov eax, dword [esp + 0xc8]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xc4]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00430f20
lea eax, [0x46c16e]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00431280
mov eax, dword [esp + 0xc0]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xb8]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00430f20
lea eax, [0x46c16e]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00431280
mov eax, dword [esp + 0xb4]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xb0]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00430f20
lea eax, [0x46c37b]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00431280
mov eax, dword [esp + 0xac]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xa8]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00430f20
lea eax, [0x46c9b1]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00431280
mov eax, dword [esp + 0xa4]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xa0]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00430f20
lea eax, [0x46ce9c]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00431280
mov eax, dword [esp + 0x9c]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0x98]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00430f20
lea eax, [0x46d1c1]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00431280
mov eax, dword [esp + 0xbc]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00431080
lea eax, [0x46c162]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00431280
call fcn.00430a10
movzx eax, byte [0x4cd0ec]
test al, al
je 0x413a45
call fcn.004309a0
lea eax, [0x46c7ef]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00431280
call fcn.00430a10
call fcn.004309a0
call fcn.00430bc0
call fcn.00430a10
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
movzx ecx, byte [eax + 0x87]
lea edx, [ecx - 1]
mov byte [eax + 0x87], dl
cmp cl, 1
jne 0x4131e9
nop
lea eax, [0x4f2994]
mov dword [esp], eax
call fcn.00407f10
jmp 0x4131e9
mov ecx, 0x18
call fcn.004546a0
mov ecx, 0x18
call fcn.004546a0
lea eax, [0x4704d9]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0042f370
lea eax, [0x470ba9]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0042f370
nop
call fcn.00453220
jmp fcn.00412930