Function at 0x518a40
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 0x518ffe
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, 0x5f5703
mov dword [esp + 0x4c], ebx
mov eax, 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
cmp esi, eax
jl 0x518ff0
cmp eax, esi
ja 0x518ff7
cmp eax, eax
jne 0x518ff0
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.00452ad0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x518ff0
mov eax, 1
cmp al, 0
je 0x518f57
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 4], ebx
mov ebx, 0x5f570a
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.0051e720
mov eax, dword [esp + 0x10]
cmp eax, 0
jge 0x518bbb
mov ebx, 0x5f9982
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], 0x5cc460
call fcn.0040e800
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 [0x6d9e38], 0
jne 0x518ba9
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.0040f1d0
mov eax, dword [esp + 0x30]
jmp 0x518b7f
mov ecx, eax
mov dword [esp + 0x28], eax
inc ecx
mov eax, dword [esp + 0xb0]
cmp ecx, eax
ja 0x518fe9
mov edx, eax
sub edx, ecx
mov eax, dword [esp + 0xac]
cmp edx, 0
je 0x518be3
add eax, ecx
mov dword [esp + 0x7c], eax
mov dword [esp], eax
mov dword [esp + 0x80], edx
mov dword [esp + 4], edx
call fcn.00519340
movzx ebx, byte [esp + 8]
cmp bl, 0
jne 0x518cdb
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], 0x5c3f40
lea ebx, [esp + 0x8c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040b8f0
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, 0x5fc159
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.0050b900
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 0x518fe2
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, 0x5f57e5
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
call fcn.005203b0
mov eax, dword [esp + 0x10]
cmp eax, 0
jl 0x518f57
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0xb0]
cmp eax, ebx
ja 0x518f50
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.00516af0
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 0x518db3
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 0x518f49
cmp ecx, eax
ja 0x518f49
mov edx, eax
sub edx, ecx
mov eax, dword [esp + 0xac]
cmp edx, 0
je 0x518de4
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.00516af0
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 0x518e50
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 0x518f42
mov edx, ecx
sub edx, eax
mov ecx, dword [esp + 0xac]
cmp edx, 0
je 0x518e75
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.00516af0
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 0x518ed9
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.0043fd90
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.004286f0
ud2
call fcn.004286f0
ud2
call fcn.004286f0
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.00516af0
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, 0
je 0x518fbd
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.004286f0
ud2
call fcn.004286f0
ud2
xor eax, eax
jmp 0x518af9
call fcn.004286f0
ud2
call fcn.00450db0
jmp fcn.00518a40