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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5191ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
test esi, esi
je 0x5191d4
xor eax, eax
push ebp
push 0x5191b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 0x1fc]
mov byte [ebp - 9], al
lea edx, [ebp - 9]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov al, byte [ebx + 0x5b]
mov byte [ebp - 0xd], al
lea edx, [ebp - 0xd]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1e4]
mov al, byte [eax + 0x18]
mov byte [ebp - 0xe], al
lea edx, [ebp - 0xe]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1e4]
call fcn.004c3f40
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1e4]
mov edx, dword [eax + 0x20]
mov eax, esi
call fcn.0051cd34
test al, al
jne 0x518f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5191d4
mov eax, dword [ebx + 0x1e4]
mov al, byte [eax + 0x24]
mov byte [ebp - 0x15], al
lea edx, [ebp - 0x15]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1e4]
mov al, byte [eax + 0x38]
mov byte [ebp - 9], al
lea edx, [ebp - 9]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1e4]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1e4]
call fcn.004c3f48
mov edx, eax
mov eax, esi
call fcn.0051c8b4
test al, al
jne 0x518fb2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5191d4
mov eax, dword [ebx + 0x1e4]
mov edx, dword [eax + 0x30]
mov eax, esi
call fcn.0051d06c
test al, al
jne 0x518fd3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5191d4
mov eax, dword [ebx + 0x1e4]
mov eax, dword [eax + 0x44]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1e4]
mov al, byte [eax + 0x2c]
mov byte [ebp - 0x16], al
lea edx, [ebp - 0x16]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x1e4]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.0051ca90
test al, al
jne 0x519035
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5191d4
mov eax, dword [ebx + 0x1e4]
call fcn.004c3fe0
mov byte [ebp - 0x17], al
lea edx, [ebp - 0x17]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1e4]
mov ax, word [eax + 0x2e]
mov word [ebp - 0x1a], ax
lea edx, [ebp - 0x1a]
mov ecx, 2
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1e4]
mov eax, dword [eax + 0x40]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1e4]
mov al, byte [eax + 0x19]
mov byte [ebp - 9], al
lea edx, [ebp - 9]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, dword [ebx + 0x1a8]
mov eax, esi
call fcn.0051d540
test al, al
jne 0x5190c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5191d4
mov eax, dword [ebx + 0x1dc]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
movzx eax, word [ebx + 0x1d8]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
movzx eax, word [ebx + 0x1d0]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x1d4]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov ax, word [ebx + 0x78]
mov word [ebp - 0xc], ax
lea edx, [ebp - 0xc]
mov ecx, 2
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, dword [ebx + 0x80]
mov eax, esi
call fcn.0051ca90
test al, al
jne 0x519157
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5191d4
mov eax, dword [ebx + 0x40]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x44]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x48]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5191d0
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5191f1
lea eax, [ebp - 0x20]
call fcn.00404434
ret