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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51954c
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, 0x5f673a
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051f240
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
cmp eax, 0
jge 0x5194fb
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00519560
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 0x51924c
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 0x51926e
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 0x5194f4
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, 0x5f6734
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051f180
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x519375
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 4
call fcn.00517610
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 0x519307
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], 0x5d8d00
call fcn.0040f320
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 [0x6dae38], 0
jne 0x519363
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.0040fcf0
mov eax, dword [esp + 0x28]
jmp 0x519341
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ebx, 0x5f6734
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
mov byte [esp + 0x10], 1
call fcn.00518490
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.00517610
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 0x519409
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.00517610
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 0x51945b
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], 0x5d8d00
call fcn.0040f320
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 [0x6dae38], 0
jne 0x5194e2
mov dword [eax], ebp
mov ebp, dword [esp + 0x58]
mov dword [eax + 0xc], ebp
mov ebp, dword [esp + 0x54]
cmp byte [0x6dae38], 0
jne 0x5194cd
mov dword [eax + 8], ebp
mov ecx, 1
mov byte [eax + 0x10], cl
mov dword [esp + 0x70], eax
jmp 0x519352
lea esi, [eax + 8]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov eax, dword [esp + 0x28]
jmp 0x5194bc
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov eax, dword [esp + 0x28]
jmp 0x5194a5
call fcn.00429210
ud2
mov ecx, eax
inc ecx
cmp ecx, edx
ja 0x519545
sub edx, ecx
mov eax, ebp
cmp edx, 0
je 0x51950d
add eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp], eax
mov dword [esp + 0x60], edx
mov dword [esp + 4], edx
call fcn.00519560
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 0x51922d
call fcn.00429210
ud2
call fcn.004518d0
jmp fcn.00519190