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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x519d2d
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 0x519c9b
mov ecx, edi
mov eax, esi
cmp eax, 0
jne 0x5198ec
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, 0x5f56f0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051ef60
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 0x5199f5
mov ebx, dword [esp + 0x28]
cmp ebx, 0
je 0x519c94
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 0x519bb4
mov dword [esp], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov ebp, 0x5f56ef
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.00452ad0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x519bb4
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 0x51996b
mov ebx, dword [esp + 0x50]
dec ebx
mov ebp, dword [esp + 0x50]
cmp ebx, ebp
jae 0x519bad
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 0x519b70
mov dword [esp], edx
mov dword [esp + 0x30], eax
mov dword [esp + 4], eax
mov ebp, 0x5f56ef
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.00452ad0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x519b70
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x519b34
mov dword [esp + 0x5c], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 8
add ebx, ebp
mov ebp, 0x5f56e4
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, 0x5f56f0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
call fcn.0051efe0
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, 0x5f56f0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051fbb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], 0
mov ebx, 0x5f56f0
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.0043fd10
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], 0x5c3f40
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043c270
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 0x519a74
mov dword [esp + 0x30], eax
cmp eax, 2
jne 0x519a8b
mov dword [esp], edx
mov dword [esp + 4], eax
mov ebp, 0x5f572b
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.00452ad0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x519a59
jmp 0x519a8b
call fcn.00428680
ud2
mov dword [esp + 0x48], ecx
cmp ecx, 2
jne 0x519c0f
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebp, 0x5f572b
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.00452ad0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x519c0f
mov ebx, dword [esp + 0x5c]
cmp ebx, 0
jle 0x519c0a
mov eax, dword [esp + 0x5c]
dec eax
mov ebx, dword [esp + 0x60]
cmp eax, ebx
ja 0x519c03
mov dword [esp + 0x5c], eax
jmp 0x5199d1
call fcn.004286f0
ud2
jmp 0x5199d1
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x519c5b
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 0x519c4a
mov dword [ebx], ebp
jmp 0x5199d1
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x5199d1
mov dword [esp], 0x5c3f40
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043c270
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 0x519c26
mov dword [ebx], eax
jmp 0x519978
cmp edx, 0
jbe 0x519d26
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x2f
xchg ebp, eax
je 0x519d1f
mov dword [esp], edi
mov dword [esp + 4], esi
mov ebx, 0x5f56f0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051e720
mov eax, dword [esp + 0x10]
inc eax
mov ebx, dword [esp + 0x78]
cmp eax, ebx
ja 0x519d18
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.0043fd10
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jmp 0x5198d3
call fcn.004286f0
ud2
mov eax, edx
jmp 0x5198d3
call fcn.00428680
ud2
call fcn.00450db0
jmp fcn.00519880