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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x518ddd
sub esp, 0x54
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
xor eax, eax
mov ecx, 0x7b
jmp 0x518b7d
mov edi, dword [esp + 0x24]
inc edi
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
mov ecx, eax
mov eax, edi
cmp eax, edx
jge 0x518cde
mov edi, dword [esp + 0x5c]
cmp eax, edi
jae 0x518dd5
mov dword [esp + 0x24], eax
mov byte [esp + 0x1f], cl
mov edi, dword [esp + 0x58]
mov dword [esp + 0x50], edi
shl eax, 6
mov edx, dword [esp + 0x24]
lea eax, [eax + edx*4]
mov dword [esp + 0x3c], eax
mov edx, dword [edi + eax + 0x28]
mov dword [esp + 0x4c], edx
mov ecx, dword [edi + eax + 0x2c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
jmp 0x518d5b
movzx eax, byte [esp + 0x1f]
jmp 0x518b64
mov dword [esp + 0x44], ebp
mov edx, dword [esp + 0x50]
movzx edi, byte [edx + eax + 0x3c]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x518bf0
xor ecx, ecx
jmp 0x518c1b
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.00516420
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov ecx, eax
mov eax, dword [esp + 0x3c]
test cl, cl
je 0x518c29
movzx eax, byte [esp + 0x1f]
jmp 0x518b64
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
movzx ecx, byte [esp + 0x1f]
mov byte [esp + 4], cl
call fcn.0050c810
movzx eax, byte [esp + 0x7d]
test al, al
je 0x518c6f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + eax + 0x1c]
mov ebx, dword [ecx + eax + 0x20]
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0050c320
jmp 0x518c93
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + eax + 0x14]
mov ebx, dword [ecx + eax + 0x18]
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0050c320
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
movzx ebx, byte [ecx + eax + 0x3d]
mov edx, dword [ecx + eax + 0x40]
mov eax, dword [edx]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], bl
movzx ebx, byte [esp + 0x7d]
mov byte [esp + 0x11], bl
call eax
mov eax, 0x2c
jmp 0x518b64
cmp cl, 0x7b
jne 0x518d05
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x609c91]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.0050c320
jmp 0x518d18
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.0050c810
add esp, 0x54
ret
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004c29f0
mov eax, dword [esp + 0x34]
inc eax
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov ecx, edx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x34]
cmp edi, ecx
jge 0x518bd9
and ebx, 0x1f
mov eax, dword [edx + edi*4]
nop
cmp ebx, 0x16
jne 0x518dcc
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x28]
test ebx, 0x200
jne 0x518da7
test ebx, 0x80
je 0x518d9b
mov edx, dword [esi]
mov esi, edx
mov edx, dword [esp + 0x4c]
test esi, esi
je 0x518bd2
mov esi, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.004c2840
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
jmp 0x518d1c
mov ebx, dword [esp + 0x28]
jmp 0x518d1c
mov ecx, edi
call fcn.0046bef0
nop
call fcn.0046aa70
jmp fcn.00518b30