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

Disassembly:
mov ecx, dword [0xa6fb1c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41646e
sub esp, 0x60
nop
lea eax, [0xa5081c]
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.0044b690
jmp 0x4161bb
mov dword [eax + 0x74], 0
mov dword [esp + 0x50], 0
lea eax, [0x416480]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
mov dword [esp], ecx
call fcn.00470be0
nop
lea eax, [0xa0dd84]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b9f0
cmp dword [0xa6f9c8], 1
jne 0x41644e
mov eax, dword [0xa507e4]
cmp dword [0xa507d8], eax
jne 0x41644e
mov dword [esp], 0
call fcn.00418370
movzx eax, byte [esp + 4]
test al, al
jne 0x41644e
nop
lea eax, [0xa0dd84]
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.0044b690
mov dword [0xa6f9d0], 0
nop
mov dword [esp + 0x54], 0
mov byte [esp + 0x58], 0
lea eax, [0x416660]
mov dword [esp + 0x54], eax
mov byte [esp + 0x58], 0x1e
lea ecx, [0x7ab33c]
mov dword [esp + 0x5c], ecx
lea edx, [esp + 0x54]
mov dword [esp], edx
call fcn.00470be0
mov eax, dword [0xa6f9d0]
test eax, eax
je 0x416284
nop
lea eax, [0xa0dd84]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b9f0
jmp 0x4161bb
nop
call fcn.00472e90
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
mov dword [0xa50864], eax
mov dword [0xa50868], ecx
mov edx, dword [0xa6fb1c]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov dword [edx + 0x78], 5
mov ebx, dword [0xa6fe28]
test ebx, ebx
je 0x4162ce
mov ebx, dword [edx + 0x74]
call fcn.004720d0
mov dword [edi], ebx
lea ecx, [0x78c780]
mov dword [edx + 0x74], ecx
lea edi, [esp + 0x28]
xor eax, eax
call fcn.00472369
lea ecx, [0x416620]
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x50], edx
lea ebx, [esp + 0x4c]
mov dword [esp], ebx
call fcn.00470be0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [0xa508ac]
mov ebp, dword [0xa508b0]
add ebx, ecx
mov dword [0xa508ac], ebx
adc ebp, edx
mov dword [0xa508b0], ebp
mov ebx, dword [0xa508b4]
mov ebp, dword [0xa508b8]
add ebx, ecx
mov dword [0xa508b4], ebx
adc ebp, edx
mov dword [0xa508b8], ebp
mov byte [esp + 0x1f], 0
lea ecx, [0x416580]
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x1f]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x44]
mov dword [esp], edx
call fcn.00470be0
movzx ecx, byte [esp + 0x1f]
test cl, cl
je 0x41639e
mov eax, dword [0xa6fb1c]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x78], 0
mov ecx, dword [0xa6fe28]
test ecx, ecx
je 0x416172
mov ecx, dword [eax + 0x74]
call fcn.004720d0
mov dword [edi], ecx
jmp 0x416172
call fcn.0044ffc0
lea eax, [0xa6f9cc]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00476f30
lea eax, [0xa701a0]
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.00419260
call fcn.0041b810
nop
lea eax, [0xa5081c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b9f0
mov byte [esp], 1
call fcn.004463e0
mov eax, dword [0xa6fa4c]
movzx ecx, byte [0xa50828]
lea edx, [0xa70a80]
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.0041ea50
lea edi, [esp]
lea esi, [esp + 0x28]
call fcn.0047283a
call fcn.004166e0
add esp, 0x60
ret
nop
lea eax, [0xa5081c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b9f0
add esp, 0x60
ret
call fcn.00470cd0
jmp fcn.00416130