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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416efc
sub esp, 0x60
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x4168ff
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x4168ff
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x4168ff
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x416927
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416927
mov dword [eax + 8], 0xfffffade
jmp 0x416927
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x41691d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41691d
mov dword [eax + 8], 0xfffffade
add esp, 0x60
ret
inc dword [0x9378fc]
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
call fcn.00416720
movzx eax, byte [esp + 0x10]
test al, al
jne 0x416958
xor eax, eax
jmp 0x416964
call fcn.00424ce0
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x416921
lea eax, [0x937f18]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0044a5c0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
call fcn.00416720
movzx eax, byte [esp + 0x10]
test al, al
je 0x416add
mov eax, dword [0x95dc78]
cmp eax, 1
jne 0x4169d3
mov eax, 1
jmp 0x4169e1
cmp eax, 2
jne 0x4169df
mov eax, 2
jmp 0x4169e1
xor eax, eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x64]
cmp ecx, 2
sete dl
mov byte [esp + 0x23], dl
lea ebx, [0x900308]
mov dword [esp], ebx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0044a5c0
lea eax, [0x900328]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0044a5c0
movzx eax, byte [esp + 0x23]
mov byte [0x937f2c], al
movzx eax, byte [0x941ca8]
test al, al
je 0x416ac5
nop
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [0x941cd8]
mov ecx, dword [0x941cdc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00459100
mov eax, dword [0x941cd8]
mov ecx, dword [0x941cdc]
add eax, 1
adc ecx, 0
mov dword [0x941cd8], eax
mov dword [0x941cdc], ecx
mov eax, dword [0x9373f8]
mov dword [esp + 0x54], eax
mov ecx, dword [0x9373fc]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x416b0c
nop
lea eax, [0x937f18]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a8e0
add esp, 0x60
ret
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
jge 0x416b41
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x4c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00402010
mov eax, dword [0x93d6f8]
mov ecx, dword [esp + 4]
cmp ecx, eax
je 0x416afd
jmp 0x416e45
call fcn.00418900
lea eax, [0x72bb9c]
mov dword [esp], eax
call fcn.00466a00
mov eax, dword [0x95d6b8]
mov dword [0x937f50], eax
mov dword [0x937f54], eax
mov ecx, dword [0x95d6d4]
cmp ecx, eax
jge 0x416b76
mov dword [0x937f50], ecx
lea eax, [0x95e4b0]
mov dword [esp], eax
call fcn.00402280
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x937f8c], eax
mov dword [0x937f88], ecx
mov dword [0x937f78], 0
mov dword [0x937f7c], 0
mov eax, dword [esp + 0x28]
mov dword [0x937f28], eax
call fcn.00468dd0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [0x937f5c], eax
mov dword [0x937f58], ecx
mov dword [0x937f84], eax
mov dword [0x937f80], ecx
movzx eax, byte [0x941ca8]
test al, al
je 0x416c37
nop
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00459100
lea eax, [0x72bc74]
mov dword [esp], eax
call fcn.00466a00
lea eax, [0x72bba0]
mov dword [esp], eax
call fcn.00466a00
call fcn.004198e0
nop
lea eax, [0x937f4c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402180
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [0x95d6b8]
lea ebx, [0x95e460]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
call fcn.0041eb10
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [0x95dcc0]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.00419ed0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x416ceb
mov byte [esp], 0
call fcn.00446590
lea eax, [0x95d6b4]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402250
mov eax, dword [0x95d6b4]
cmp eax, 1
jne 0x416d13
mov eax, 1
jmp 0x416d19
cmp eax, 2
sete al
mov byte [0x95da94], al
test al, al
je 0x416d2a
mov eax, 1
jmp 0x416d31
movzx eax, byte [0x95da95]
mov byte [0x95da90], al
nop
mov dword [0x937ed8], 0xffffffff
mov dword [0x937ee4], 0xffffffff
call fcn.0041ac80
call fcn.0041e9c0
lea eax, [0x95d6ac]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402250
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x416f10]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x58]
mov dword [esp], ecx
call fcn.00466a00
lea eax, [0x900328]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a8e0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x416e0f
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416e07
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x28]
test eax, eax
jmp 0x416e15
mov eax, dword [esp + 0x28]
test eax, eax
jmp 0x416e15
mov eax, dword [esp + 0x28]
test eax, eax
je 0x416e25
lea eax, [0x72bbb0]
mov dword [esp], eax
call fcn.004669a0
nop
lea eax, [0x937f18]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a8e0
add esp, 0x60
ret
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
call fcn.00439570
lea eax, [0x710e2e]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043a1c0
mov eax, dword [esp + 0x2c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439fc0
lea eax, [0x710255]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043a1c0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00439e40
lea eax, [0x711543]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043a1c0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00439e40
call fcn.00439790
call fcn.004395e0
lea eax, [0x714a88]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00437810
nop
call fcn.00466b10
jmp fcn.00416890