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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x519ddd
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 0x519d4b
mov ecx, edi
mov eax, esi
cmp eax, 0
jne 0x51999c
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, 0x5f5790
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051f010
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 0x519aa5
mov ebx, dword [esp + 0x28]
cmp ebx, 0
je 0x519d44
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 0x519c64
mov dword [esp], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov ebp, 0x5f578f
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.00452bf0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x519c64
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 0x519a1b
mov ebx, dword [esp + 0x50]
dec ebx
mov ebp, dword [esp + 0x50]
cmp ebx, ebp
jae 0x519c5d
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 0x519c20
mov dword [esp], edx
mov dword [esp + 0x30], eax
mov dword [esp + 4], eax
mov ebp, 0x5f578f
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.00452bf0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x519c20
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x519be4
mov dword [esp + 0x5c], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 8
add ebx, ebp
mov ebp, 0x5f5784
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, 0x5f5790
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
call fcn.0051f090
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, 0x5f5790
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051fc60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], 0
mov ebx, 0x5f5790
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.0043fe30
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], 0x5c3fe0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043c390
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 0x519b24
mov dword [esp + 0x30], eax
cmp eax, 2
jne 0x519b3b
mov dword [esp], edx
mov dword [esp + 4], eax
mov ebp, 0x5f57cb
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.00452bf0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x519b09
jmp 0x519b3b
call fcn.004287a0
ud2
mov dword [esp + 0x48], ecx
cmp ecx, 2
jne 0x519cbf
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebp, 0x5f57cb
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.00452bf0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x519cbf
mov ebx, dword [esp + 0x5c]
cmp ebx, 0
jle 0x519cba
mov eax, dword [esp + 0x5c]
dec eax
mov ebx, dword [esp + 0x60]
cmp eax, ebx
ja 0x519cb3
mov dword [esp + 0x5c], eax
jmp 0x519a81
call fcn.00428810
ud2
jmp 0x519a81
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x519d0b
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 [0x6d9e18], 0
jne 0x519cfa
mov dword [ebx], ebp
jmp 0x519a81
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x519a81
mov dword [esp], 0x5c3fe0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043c390
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 0x519cd6
mov dword [ebx], eax
jmp 0x519a28
cmp edx, 0
jbe 0x519dd6
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x2f
xchg ebp, eax
je 0x519dcf
mov dword [esp], edi
mov dword [esp + 4], esi
mov ebx, 0x5f5790
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051e7d0
mov eax, dword [esp + 0x10]
inc eax
mov ebx, dword [esp + 0x78]
cmp eax, ebx
ja 0x519dc8
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.0043fe30
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jmp 0x519983
call fcn.00428810
ud2
mov eax, edx
jmp 0x519983
call fcn.004287a0
ud2
call fcn.00450ed0
jmp fcn.00519930