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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x51a41e
sub esp, 0xa8
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
xor ebx, ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov edi, dword [esp + 0xac]
mov dword [esp + 0x44], edi
mov esi, dword [esp + 0xb0]
mov ebx, 0x5f7063
mov dword [esp + 0x4c], ebx
mov eax, 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
cmp esi, eax
jl 0x51a410
cmp eax, esi
ja 0x51a417
cmp eax, eax
jne 0x51a410
mov dword [esp + 0x94], edi
mov dword [esp], edi
mov dword [esp + 0x98], eax
mov dword [esp + 4], eax
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
call fcn.00453f60
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x51a410
mov eax, 1
cmp al, 0
je 0x51a377
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 4], ebx
mov ebx, 0x5f706a
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051fb40
mov eax, dword [esp + 0x10]
cmp eax, 0
jge 0x519fdb
mov ebx, 0x5fb311
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x13
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp], 0x5cdc40
call fcn.0040fc90
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x40]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x3c]
cmp byte [0x6dbe18], 0
jne 0x519fc9
mov dword [eax], ebp
mov edx, 0x6b29b0
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
add esp, 0xa8
ret
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00410660
mov eax, dword [esp + 0x30]
jmp 0x519f9f
mov ecx, eax
mov dword [esp + 0x28], eax
inc ecx
mov eax, dword [esp + 0xb0]
cmp ecx, eax
ja 0x51a409
mov edx, eax
sub edx, ecx
mov eax, dword [esp + 0xac]
cmp edx, 0
je 0x51a003
add eax, ecx
mov dword [esp + 0x7c], eax
mov dword [esp], eax
mov dword [esp + 0x80], edx
mov dword [esp + 4], edx
call fcn.0051a760
movzx ebx, byte [esp + 8]
cmp bl, 0
jne 0x51a0fb
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x90], ebx
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
lea ebx, [esp + 0x84]
mov dword [esp + 0x2c], ebx
mov dword [esp], 0x5c5720
lea ebx, [esp + 0x8c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040cd80
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov edx, 1
mov ecx, 1
mov eax, ebx
mov ebx, 0x5fdb11
mov dword [esp], ebx
mov dword [esp + 4], 0x1a
mov dword [esp + 0x9c], eax
mov dword [esp + 8], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x10], ecx
call fcn.0050cd20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xa8
ret
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0xb0]
cmp eax, ebx
ja 0x51a402
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x94], ecx
mov dword [esp], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 4], eax
mov ebx, 0x5f7147
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
call fcn.005217d0
mov eax, dword [esp + 0x10]
cmp eax, 0
jl 0x51a377
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0xb0]
cmp eax, ebx
ja 0x51a370
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x94], ecx
mov dword [esp], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.00517f10
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], eax
cmp eax, 0
je 0x51a1d3
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xa8
ret
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0xb0]
cmp eax, ebx
ja 0x51a369
cmp ecx, eax
ja 0x51a369
mov edx, eax
sub edx, ecx
mov eax, dword [esp + 0xac]
cmp edx, 0
je 0x51a204
add eax, ecx
mov dword [esp + 0x94], eax
mov dword [esp], eax
mov dword [esp + 0x98], edx
mov dword [esp + 4], edx
mov dword [esp + 8], 3
call fcn.00517f10
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], eax
cmp eax, 0
je 0x51a270
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xa8
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xb0]
cmp eax, ecx
ja 0x51a362
mov edx, ecx
sub edx, eax
mov ecx, dword [esp + 0xac]
cmp edx, 0
je 0x51a295
add ecx, eax
mov dword [esp + 0x94], ecx
mov dword [esp], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 4], edx
mov dword [esp + 8], 2
call fcn.00517f10
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], eax
cmp eax, 0
je 0x51a2f9
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ebp
add esp, 0xa8
ret
mov dword [esp], 0
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], ecx
call fcn.00441220
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb4], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xb8], ebx
xor ebx, ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
add esp, 0xa8
ret
call fcn.00429b80
ud2
call fcn.00429b80
ud2
call fcn.00429b80
ud2
xor ebx, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
call fcn.00517f10
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, 0
je 0x51a3dd
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xa8
ret
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], edx
xor ebx, ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
add esp, 0xa8
ret
call fcn.00429b80
ud2
call fcn.00429b80
ud2
xor eax, eax
jmp 0x519f19
call fcn.00429b80
ud2
call fcn.00452240
jmp fcn.00519e60