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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41741b
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 0x417344
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x417344
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x417344
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416e41
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416e41
mov dword [eax + 8], 0xfffffade
jmp 0x416e41
inc dword [0x81c3fc]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.00416c90
movzx eax, byte [esp + 0x10]
test al, al
jne 0x417333
xor eax, eax
test al, al
jne 0x416e3b
nop
lea eax, [0x81cbe0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00440b50
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.00416c90
movzx eax, byte [esp + 0x10]
test al, al
je 0x417313
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x81cbf4], al
mov eax, dword [0x8327fc]
cmp eax, 1
jne 0x4172fd
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x7e0130]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00440b50
nop
lea eax, [0x7e0150]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00440b50
movzx eax, byte [0x82a2e8]
test al, al
jne 0x41728c
mov eax, dword [0x81c108]
mov dword [esp + 0x44], eax
mov ecx, dword [0x81c10c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x416f72
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x416fa7
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, 0x358
mov dword [esp], ebx
call fcn.00401f10
mov eax, dword [esp + 4]
mov ecx, dword [0x823a8c]
cmp eax, ecx
je 0x416f63
jmp 0x417366
call fcn.00418670
lea eax, [0x6897a0]
mov dword [esp], eax
call fcn.00459670
mov eax, dword [0x83243c]
mov dword [0x81cc20], eax
mov dword [0x81cc24], eax
mov ecx, dword [0x832448]
cmp eax, ecx
jle 0x416fdc
mov dword [0x81cc20], ecx
lea eax, [0x835ba0]
mov dword [esp], eax
call fcn.00402100
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x81cc58], eax
mov dword [0x81cc5c], ecx
mov dword [0x81cc48], 0
mov dword [0x81cc4c], 0
mov eax, dword [esp + 0x14]
mov dword [0x81cbf0], eax
call fcn.0045bd00
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x81cc28], eax
mov dword [0x81cc2c], ecx
mov dword [0x81cc50], eax
mov dword [0x81cc54], ecx
movzx eax, byte [0x82a2e8]
test al, al
jne 0x41723e
lea eax, [0x689880]
mov dword [esp], eax
call fcn.00459670
lea eax, [0x6897a4]
mov dword [esp], eax
call fcn.00459670
call fcn.004194e0
inc dword [0x81cc1c]
lea eax, [0x832bc0]
mov dword [esp], eax
call fcn.00415600
mov eax, dword [0x834608]
mov ecx, dword [0x83460c]
mov dword [0x81cc70], eax
mov dword [0x81cc74], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417230
nop
lea eax, [0x832438]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020e0
mov eax, dword [0x832438]
cmp eax, 1
jne 0x417225
mov eax, 1
mov byte [0x8326a4], al
test al, al
je 0x417219
mov eax, 1
mov byte [0x8326a0], al
nop
mov dword [0x81cbb8], 0xffffffff
mov dword [0x81cbc4], 0xffffffff
call fcn.00419950
call fcn.0041d4e0
lea eax, [0x83242c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x832bf0], eax
mov dword [0x832bf4], 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, [0x453480]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.00459670
nop
lea eax, [0x7e0150]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00440e60
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 0x417211
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417209
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4171f8
lea eax, [0x81cbe0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00440e60
add esp, 0x50
ret
nop
lea eax, [0x6897b4]
mov dword [esp], eax
call fcn.00459610
jmp 0x4171d9
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4171d7
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4171d7
movzx eax, byte [0x8326a5]
jmp 0x4170ee
cmp eax, 2
sete al
jmp 0x4170db
mov byte [esp], 0
call fcn.0043d8e0
jmp 0x4170b0
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.0044b5d0
jmp 0x417057
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x82a318]
mov ecx, dword [0x82a31c]
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.0044b5d0
mov eax, dword [0x82a318]
add eax, 1
mov ecx, dword [0x82a31c]
mov dword [0x82a318], eax
adc ecx, 0
mov dword [0x82a31c], ecx
jmp 0x416f4b
cmp eax, 2
jne 0x41730c
mov eax, 2
jmp 0x416ef1
xor eax, eax
jmp 0x416ef1
nop
lea eax, [0x81cbe0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00440e60
add esp, 0x50
ret
call fcn.0041fae0
cmp dword [esp], 0xffffffff
setne al
jmp 0x416e74
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417362
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417362
mov dword [eax + 8], 0xfffffade
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.004325a0
lea eax, [0x670af7]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00432e40
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00432c70
lea eax, [0x66ff6b]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432e40
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432b40
lea eax, [0x6713a3]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00432e40
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432b40
call fcn.004327c0
call fcn.00432610
lea eax, [0x675275]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00430cf0
nop
call fcn.00459790
jmp fcn.00416dc0