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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5150f1
sub esp, 0x64
mov eax, 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00513300
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x18]
test ecx, ecx
jne 0x5150c5
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x74]
cmp ecx, 5
jge 0x51508d
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x514fd2
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
call fcn.004bc650
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.00408a10
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
call fcn.00408a10
mov eax, dword [esp + 8]
lea ecx, [0x7802e0]
mov dword [esp], ecx
lea ecx, [0x550cc0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0046e070
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00408a10
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00408a10
mov eax, dword [esp + 8]
lea ecx, [0x780300]
mov dword [esp], ecx
lea ecx, [0x550cc0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0046e070
lea eax, [0x795938]
mov dword [esp], eax
call fcn.0046edf0
lea eax, [0x59cc4c]
mov dword [esp + 0x60], eax
lea eax, [0x795938]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
lea edx, [0x7802c0]
mov dword [esp], edx
lea ebx, [0x550cc0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x54]
mov dword [esp + 8], ebp
call fcn.0046ddf0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x14]
test dl, dl
je 0x514fc1
lea edx, [0x54a2e0]
cmp edx, ecx
jne 0x5150d1
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x30]
xor eax, eax
jmp 0x514e47
inc eax
lea edx, [0x54a2e0]
mov ebp, edi
cmp eax, ebx
jge 0x514eb5
lea edx, [ecx + eax*8]
mov edi, ebp
mov ebp, dword [edx + 4]
mov edx, dword [edx]
cmp ebp, esi
jne 0x514e3e
mov dword [esp + 0x38], eax
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004026c0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x514e90
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
jmp 0x514e3e
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0046f1b0
add esp, 0x64
ret
lea edx, [ebx + 1]
cmp edx, ebp
ja 0x514f87
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebp
lea ebp, [ecx + ebx*8 + 4]
mov dword [ebp], esi
mov ebp, dword [0x795b00]
lea edi, [ecx + ebx*8]
test ebp, ebp
jne 0x514f79
mov ebx, dword [esp + 0x48]
mov dword [edi], ebx
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00408a10
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.00408a90
mov eax, dword [esp + 0xc]
lea ecx, [0x7802c0]
mov dword [esp], ecx
lea ecx, [0x550cc0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [0x54a2e0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0046e070
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0046f1b0
add esp, 0x64
ret
mov eax, dword [esp + 0x48]
call fcn.0045a0f0
jmp 0x514eea
lea eax, [0x550cc0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00441c00
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
jmp 0x514ec0
lea edx, [0x54a2e0]
xor ebx, ebx
xor ebp, ebp
xor ecx, ecx
jmp 0x514e2a
lea ecx, [0x552220]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x57907e]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.0040eab0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x515012
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
jmp 0x514cc0
lea eax, [0x552220]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea ecx, [0x57907e]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.0040f180
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 5
mov eax, dword [0x795b00]
test eax, eax
jne 0x515080
lea eax, [0x577ac3]
mov dword [edi], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.00511930
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x514cc4
lea eax, [0x577ac3]
call fcn.0045a0f0
jmp 0x515057
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x577a55]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.004026c0
movzx ebp, byte [esp + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
jmp 0x514cb6
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebp
add esp, 0x64
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x550640]
mov dword [esp + 8], eax
call fcn.004086c0
nop
call fcn.0042efe0
add esp, 0x64
ret
call fcn.00458ba0
jmp fcn.00514c30