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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51103f
sub esp, 0x60
mov eax, 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov byte [esp + 0x1f], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0x8b31
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
call fcn.005113e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x510e72
mov dword [esp + 0x30], ebx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x5110a0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x1f], 1
mov dword [esp], eax
mov dword [esp + 4], 0x8b30
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
call fcn.005113e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x510e48
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x511050]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], ecx
mov byte [esp + 0x1f], 3
mov dword [esp], eax
call fcn.0050e9c0
mov eax, dword [esp + 4]
nop
test eax, eax
je 0x510dea
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
call fcn.0050de30
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
call fcn.0050de30
xor eax, eax
jmp 0x510ec4
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x6f7583]
mov dword [eax], ecx
mov dword [esp + 0x84], 0
lea ecx, [0x785138]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov byte [esp + 0x1f], 1
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x60
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x60
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x60
ret
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x78]
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x28]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0050dec0
mov eax, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x7c]
cmp ecx, eax
jg 0x510e8f
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.005101b0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x8b82
call fcn.0050f970
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x510ff7
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.0050fa20
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
call fcn.0050eda0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004a6030
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409830
mov eax, dword [esp + 8]
lea ecx, [0x69bcc0]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x6f8144]
mov dword [esp], eax
mov dword [esp + 4], 0x17
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x1f], 1
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x60
ret
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov byte [esp + 0x1f], 1
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x60
ret
call fcn.004649b0
jmp fcn.00510c60