Function at 0x518af0
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 0x5190ae
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, 0x5f57a3
mov dword [esp + 0x4c], ebx
mov eax, 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
cmp esi, eax
jl 0x5190a0
cmp eax, esi
ja 0x5190a7
cmp eax, eax
jne 0x5190a0
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.00452bf0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x5190a0
mov eax, 1
cmp al, 0
je 0x519007
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 4], ebx
mov ebx, 0x5f57aa
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051e7d0
mov eax, dword [esp + 0x10]
cmp eax, 0
jge 0x518c6b
mov ebx, 0x5f9a22
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], 0x5cc500
call fcn.0040e920
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 [0x6d9e18], 0
jne 0x518c59
mov dword [eax], ebp
mov edx, 0x6b09b0
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.0040f2f0
mov eax, dword [esp + 0x30]
jmp 0x518c2f
mov ecx, eax
mov dword [esp + 0x28], eax
inc ecx
mov eax, dword [esp + 0xb0]
cmp ecx, eax
ja 0x519099
mov edx, eax
sub edx, ecx
mov eax, dword [esp + 0xac]
cmp edx, 0
je 0x518c93
add eax, ecx
mov dword [esp + 0x7c], eax
mov dword [esp], eax
mov dword [esp + 0x80], edx
mov dword [esp + 4], edx
call fcn.005193f0
movzx ebx, byte [esp + 8]
cmp bl, 0
jne 0x518d8b
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], 0x5c3fe0
lea ebx, [esp + 0x8c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040ba10
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, 0x5fc20e
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.0050b9b0
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 0x519092
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, 0x5f5885
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
call fcn.00520460
mov eax, dword [esp + 0x10]
cmp eax, 0
jl 0x519007
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0xb0]
cmp eax, ebx
ja 0x519000
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.00516ba0
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 0x518e63
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 0x518ff9
cmp ecx, eax
ja 0x518ff9
mov edx, eax
sub edx, ecx
mov eax, dword [esp + 0xac]
cmp edx, 0
je 0x518e94
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.00516ba0
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 0x518f00
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 0x518ff2
mov edx, ecx
sub edx, eax
mov ecx, dword [esp + 0xac]
cmp edx, 0
je 0x518f25
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.00516ba0
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 0x518f89
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.0043feb0
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.00428810
ud2
call fcn.00428810
ud2
call fcn.00428810
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.00516ba0
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, 0
je 0x51906d
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.00428810
ud2
call fcn.00428810
ud2
xor eax, eax
jmp 0x518ba9
call fcn.00428810
ud2
call fcn.00450ed0
jmp fcn.00518af0