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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x519342
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x519331
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4ce980]
call fcn.004d188c
mov dword [ebp - 8], eax
push 0x20
mov ecx, ebx
mov dl, 1
mov eax, dword [0x41c834]
call fcn.0042080c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.004d8bc0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.004bed60
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004df5a0
test al, al
jne 0x519111
call fcn.00404a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51934c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x334]
mov dword [edx + 0x78], eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004df310
mov eax, dword [ebp - 4]
add eax, 0x36c
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x28]
call fcn.00405078
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
mov ebx, dword [eax]
call dword [ebx + 0x2c]
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.004d8d78
mov edi, eax
dec edi
test edi, edi
jl 0x5191cc
inc edi
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov edx, esi
call fcn.004d8d80
cmp byte [eax + 0x10], 0
je 0x5191c8
mov bl, 1
jmp 0x5191cc
inc esi
dec edi
jne 0x5191ae
test bl, bl
je 0x5191ec
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
mov ebx, dword [eax]
call dword [ebx + 0x2c]
jmp 0x5191fe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.004b06d0
mov eax, dword [ebp - 4]
call fcn.00518688
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005184d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call fcn.004e11e8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x36c], 0
je 0x5192c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
add eax, 0x318
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x36c]
call fcn.00405078
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov dl, 1
call fcn.004e1d60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov byte [eax + 0x31e], 1
xor edx, edx
push ebp
push 0x5192a3
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004e0f74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call fcn.004e12b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5192c8
mov eax, dword [ebp - 4]
mov byte [eax + 0x360], 1
mov eax, dword [ebp - 4]
call fcn.00519400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [eax + 0x214]
cmp edx, dword [eax + 0x210]
jne 0x519303
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
xor edx, edx
call fcn.00469d3c
jmp 0x519313
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov dl, 1
call fcn.00469d3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519338
lea eax, [ebp - 8]
call fcn.00412260
lea eax, [ebp - 0xc]
call fcn.00412260
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret