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

Disassembly:
mov ecx, dword [0x13d411c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416a1e
sub esp, 0x60
nop
lea eax, [0x13b35bc]
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.0044d340
jmp 0x41676b
mov dword [eax + 0x74], 0
mov dword [esp + 0x50], 0
lea eax, [0x416a30]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
mov dword [esp], ecx
call fcn.00472fe0
nop
lea eax, [0x133e75c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044d6a0
cmp dword [0x13d3fa0], 1
jne 0x4169fe
mov eax, dword [0x13b3584]
cmp dword [0x13b3578], eax
jne 0x4169fe
mov dword [esp], 0
call fcn.00418920
movzx eax, byte [esp + 4]
test al, al
jne 0x4169fe
nop
lea eax, [0x133e75c]
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.0044d340
mov dword [0x13d3fa8], 0
nop
mov dword [esp + 0x54], 0
mov byte [esp + 0x58], 0
lea eax, [0x416c10]
mov dword [esp + 0x54], eax
mov byte [esp + 0x58], 0x1e
lea ecx, [0x8c79b8]
mov dword [esp + 0x5c], ecx
lea edx, [esp + 0x54]
mov dword [esp], edx
call fcn.00472fe0
mov eax, dword [0x13d3fa8]
test eax, eax
je 0x416834
nop
lea eax, [0x133e75c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044d6a0
jmp 0x41676b
nop
call fcn.004752c0
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
mov dword [0x13b3604], eax
mov dword [0x13b3608], ecx
mov edx, dword [0x13d411c]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov dword [edx + 0x78], 5
mov ebx, dword [0x13d4400]
test ebx, ebx
je 0x41687e
mov ebx, dword [edx + 0x74]
call fcn.004744d0
mov dword [edi], ebx
lea ecx, [0x898180]
mov dword [edx + 0x74], ecx
lea edi, [esp + 0x28]
xor eax, eax
call fcn.00474799
lea ecx, [0x416bd0]
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x50], edx
lea ebx, [esp + 0x4c]
mov dword [esp], ebx
call fcn.00472fe0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [0x13b364c]
mov ebp, dword [0x13b3650]
add ebx, ecx
mov dword [0x13b364c], ebx
adc ebp, edx
mov dword [0x13b3650], ebp
mov ebx, dword [0x13b3654]
mov ebp, dword [0x13b3658]
add ebx, ecx
mov dword [0x13b3654], ebx
adc ebp, edx
mov dword [0x13b3658], ebp
mov byte [esp + 0x1f], 0
lea ecx, [0x416b30]
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x1f]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x44]
mov dword [esp], edx
call fcn.00472fe0
movzx ecx, byte [esp + 0x1f]
test cl, cl
je 0x41694e
mov eax, dword [0x13d411c]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x78], 0
mov ecx, dword [0x13d4400]
test ecx, ecx
je 0x416722
mov ecx, dword [eax + 0x74]
call fcn.004744d0
mov dword [edi], ecx
jmp 0x416722
call fcn.00451c70
lea eax, [0x13d3fa4]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004795b0
lea eax, [0x13d47a0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
call fcn.00419810
call fcn.0041bdc0
nop
lea eax, [0x13b35bc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044d6a0
mov byte [esp], 1
call fcn.00448090
mov eax, dword [0x13d4024]
movzx ecx, byte [0x13b35c8]
lea edx, [0x13d5ba0]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], cl
call fcn.0041f000
lea edi, [esp]
lea esi, [esp + 0x28]
call fcn.00474c6a
call fcn.00416c90
add esp, 0x60
ret
nop
lea eax, [0x13b35bc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044d6a0
add esp, 0x60
ret
call fcn.004730d0
jmp fcn.004166e0