Function at 0x4169e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416ff7
sub esp, 0x50
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x416a4f
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x416a4f
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x416a4f
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416a77
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416a77
mov dword [eax + 8], 0xfffffade
jmp 0x416a77
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416a6d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416a6d
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
inc dword [0x128613c]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.004168b0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x416aa8
xor eax, eax
jmp 0x416ab4
call fcn.00421620
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x416a71
nop
lea eax, [0x12add8c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00446340
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.004168b0
movzx eax, byte [esp + 0x10]
test al, al
je 0x416c17
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x12adda0], al
mov eax, dword [0x12ad318]
cmp eax, 1
jne 0x416b2f
mov eax, 1
jmp 0x416b3d
cmp eax, 2
jne 0x416b3b
mov eax, 2
jmp 0x416b3d
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [0x11a21d4]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00446340
nop
lea eax, [0x11a21f4]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00446340
movzx eax, byte [0x1291368]
test al, al
je 0x416bff
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x1291398]
mov ecx, dword [0x129139c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004516b0
mov eax, dword [0x1291398]
add eax, 1
mov ecx, dword [0x129139c]
mov dword [0x1291398], eax
adc ecx, 0
mov dword [0x129139c], ecx
mov eax, dword [0x1285b28]
mov dword [esp + 0x44], eax
mov ecx, dword [0x1285b2c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x416c46
nop
lea eax, [0x12add8c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446650
add esp, 0x50
ret
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x416c7b
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00401eb0
mov eax, dword [esp + 4]
mov ecx, dword [0x128cdcc]
cmp ecx, eax
je 0x416c37
jmp 0x416f40
call fcn.00418560
lea eax, [0xc02710]
mov dword [esp], eax
call fcn.0045e450
mov eax, dword [0x12acd94]
mov dword [0x12addcc], eax
mov dword [0x12addd0], eax
mov ecx, dword [0x12acdb0]
cmp ecx, eax
jge 0x416cb0
mov dword [0x12addcc], ecx
lea eax, [0x12ad8d0]
mov dword [esp], eax
call fcn.004020c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x12ade08], eax
mov dword [0x12ade04], ecx
mov dword [0x12addf4], 0
mov dword [0x12addf8], 0
mov eax, dword [esp + 0x14]
mov dword [0x12add9c], eax
call fcn.004608f0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x12addd8], eax
mov dword [0x12addd4], ecx
mov dword [0x12ade00], eax
mov dword [0x12addfc], ecx
movzx eax, byte [0x1291368]
test al, al
je 0x416d71
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004516b0
lea eax, [0xc027ec]
mov dword [esp], eax
call fcn.0045e450
lea eax, [0xc02714]
mov dword [esp], eax
call fcn.0045e450
call fcn.00419550
inc dword [0x12addc8]
lea eax, [0x12ad8a0]
mov dword [esp], eax
call fcn.0041d670
mov eax, dword [0x12ad8c0]
mov ecx, dword [0x12ad8c4]
mov dword [0x12ade1c], eax
mov dword [0x12ade20], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x416dcf
mov byte [esp], 0
call fcn.004426a0
nop
lea eax, [0x12acd90]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402090
mov eax, dword [0x12acd90]
cmp eax, 1
jne 0x416df8
mov eax, 1
jmp 0x416dfe
cmp eax, 2
sete al
mov byte [0x12ad064], al
test al, al
je 0x416e0f
mov eax, 1
jmp 0x416e16
movzx eax, byte [0x12ad065]
mov byte [0x12ad060], al
nop
mov dword [0x12add58], 0xffffffff
mov dword [0x12add64], 0xffffffff
call fcn.00419b60
call fcn.0041d4d0
lea eax, [0x12acd88]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402090
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x12ad918], eax
mov dword [0x12ad91c], ecx
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x417010]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045e450
nop
lea eax, [0x11a21f4]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446650
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416f09
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416f01
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x416f0f
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x416f0f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x416f20
nop
lea eax, [0xc02724]
mov dword [esp], eax
call fcn.0045e3f0
nop
lea eax, [0x12add8c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446650
add esp, 0x50
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.00436180
lea eax, [0x9ec11a]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00436a60
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00436860
lea eax, [0x9ea5ae]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436a60
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00436700
lea eax, [0x9ed21d]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00436a60
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00436700
call fcn.004363a0
call fcn.004361f0
lea eax, [0x9f638e]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00434780
nop
call fcn.0045e560
jmp fcn.004169e0