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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x519e4c
sub esp, 0x64
xor ebx, ebx
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, 0x5f705a
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051fb40
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
cmp eax, 0
jge 0x519dfb
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00519e60
mov ebx, dword [esp + 8]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], eax
cmp eax, 0
je 0x519b4c
mov dword [esp + 0x70], 0
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
add esp, 0x64
ret
mov ebx, dword [esp + 0x24]
cmp ebx, 0
jge 0x519b6e
mov dword [esp + 0x70], 0
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x6c]
cmp eax, ebx
ja 0x519df4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 4], eax
mov ebx, 0x5f7054
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051fa80
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x519c75
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 4
call fcn.00517f10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], edx
cmp edx, 0
je 0x519c07
mov dword [esp + 0x70], 0
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
add esp, 0x64
ret
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], ecx
mov dword [esp], 0x5d9620
call fcn.0040fc90
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x30]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x2c]
cmp byte [0x6dbe18], 0
jne 0x519c63
mov dword [eax], ebp
xor ebp, ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
xor ecx, ecx
mov byte [eax + 0x10], cl
mov dword [esp + 0x70], eax
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
add esp, 0x64
ret
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00410660
mov eax, dword [esp + 0x28]
jmp 0x519c41
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ebx, 0x5f7054
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
mov byte [esp + 0x10], 1
call fcn.00518d90
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.00517f10
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], eax
cmp eax, 0
je 0x519d09
mov dword [esp + 0x70], 0
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
add esp, 0x64
ret
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 8], 4
call fcn.00517f10
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], edx
cmp edx, 0
je 0x519d5b
mov dword [esp + 0x70], 0
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
add esp, 0x64
ret
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp], 0x5d9620
call fcn.0040fc90
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x38]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x34]
cmp byte [0x6dbe18], 0
jne 0x519de2
mov dword [eax], ebp
mov ebp, dword [esp + 0x58]
mov dword [eax + 0xc], ebp
mov ebp, dword [esp + 0x54]
cmp byte [0x6dbe18], 0
jne 0x519dcd
mov dword [eax + 8], ebp
mov ecx, 1
mov byte [eax + 0x10], cl
mov dword [esp + 0x70], eax
jmp 0x519c52
lea esi, [eax + 8]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00410660
mov eax, dword [esp + 0x28]
jmp 0x519dbc
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00410660
mov eax, dword [esp + 0x28]
jmp 0x519da5
call fcn.00429b80
ud2
mov ecx, eax
inc ecx
cmp ecx, edx
ja 0x519e45
sub edx, ecx
mov eax, ebp
cmp edx, 0
je 0x519e0d
add eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp], eax
mov dword [esp + 0x60], edx
mov dword [esp + 4], edx
call fcn.00519e60
mov ebx, dword [esp + 8]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], ebx
jmp 0x519b2d
call fcn.00429b80
ud2
call fcn.00452240
jmp fcn.00519a90