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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x519f2d
sub esp, 0x70
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
cmp edx, 0
jne 0x519e9b
mov ecx, edi
mov eax, esi
cmp eax, 0
jne 0x519aec
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
add esp, 0x70
ret
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x34], ecx
mov dword [esp], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 4], eax
mov ebx, 0x5f5ab0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051f160
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x28], ecx
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
cmp ebx, ebp
jge 0x519bf5
mov ebx, dword [esp + 0x28]
cmp ebx, 0
je 0x519e94
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x40]
cmp ecx, 1
jne 0x519db4
mov dword [esp], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov ebp, 0x5f5aaf
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.00452cd0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x519db4
mov ebx, dword [esp + 0x28]
add ebx, 8
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
cmp ebx, ebp
jl 0x519b6b
mov ebx, dword [esp + 0x50]
dec ebx
mov ebp, dword [esp + 0x50]
cmp ebx, ebp
jae 0x519dad
mov ebp, dword [esp + 0x4c]
shl ebx, 3
add ebp, ebx
mov edx, dword [ebp]
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + 4]
cmp eax, 1
jne 0x519d70
mov dword [esp], edx
mov dword [esp + 0x30], eax
mov dword [esp + 4], eax
mov ebp, 0x5f5aaf
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.00452cd0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x519d70
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x519d34
mov dword [esp + 0x5c], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 8
add ebx, ebp
mov ebp, 0x5f5aa4
mov dword [ebx], ebp
mov dword [ebx + 4], 0
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov ebx, 0x5f5ab0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
call fcn.0051f1e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov ebx, 0x5f5ab0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051fdb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], 0
mov ebx, 0x5f5ab0
mov dword [esp + 4], ebx
mov dword [esp + 8], 1
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], ecx
call fcn.0043ff10
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x88], ebx
add esp, 0x70
ret
mov dword [esp], 0x5c4240
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043c470
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, ebx
inc ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], ecx
jmp 0x519c74
mov dword [esp + 0x30], eax
cmp eax, 2
jne 0x519c8b
mov dword [esp], edx
mov dword [esp + 4], eax
mov ebp, 0x5f5aeb
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.00452cd0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x519c59
jmp 0x519c8b
call fcn.00428880
ud2
mov dword [esp + 0x48], ecx
cmp ecx, 2
jne 0x519e0f
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebp, 0x5f5aeb
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.00452cd0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x519e0f
mov ebx, dword [esp + 0x5c]
cmp ebx, 0
jle 0x519e0a
mov eax, dword [esp + 0x5c]
dec eax
mov ebx, dword [esp + 0x60]
cmp eax, ebx
ja 0x519e03
mov dword [esp + 0x5c], eax
jmp 0x519bd1
call fcn.004288f0
ud2
jmp 0x519bd1
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x519e5b
mov dword [esp + 0x5c], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 8
add ebx, ebp
mov ebp, dword [esp + 0x40]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x3c]
cmp byte [0x6d9e38], 0
jne 0x519e4a
mov dword [ebx], ebp
jmp 0x519bd1
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f3d0
jmp 0x519bd1
mov dword [esp], 0x5c4240
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043c470
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, ebx
inc ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], ecx
jmp 0x519e26
mov dword [ebx], eax
jmp 0x519b78
cmp edx, 0
jbe 0x519f26
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x2f
xchg ebp, eax
je 0x519f1f
mov dword [esp], edi
mov dword [esp + 4], esi
mov ebx, 0x5f5ab0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051e920
mov eax, dword [esp + 0x10]
inc eax
mov ebx, dword [esp + 0x78]
cmp eax, ebx
ja 0x519f18
mov ecx, dword [esp + 0x74]
mov dword [esp], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x10], ebx
call fcn.0043ff10
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jmp 0x519ad3
call fcn.004288f0
ud2
mov eax, edx
jmp 0x519ad3
call fcn.00428880
ud2
call fcn.00450fb0
jmp fcn.00519a80