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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x517e44
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0040c044
mov edx, dword [ebp - 0x10]
mov eax, 0x517e5c
call fcn.00405644
test eax, eax
jle 0x517b83
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005189c0
jmp 0x517e2e
mov eax, dword [0x524d5c]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0xa], ax
mov eax, dword [0x524d5c]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00492650
xor edx, edx
push ebp
push 0x517e24
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4ce980]
call fcn.004d188c
mov dword [ebp - 8], 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
xor edx, edx
push ebp
push 0x517e13
push dword fs:[edx]
mov dword fs:[edx], esp
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
push 0
mov cl, 1
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004d1c74
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 0x517ca6
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 0x517ca2
mov bl, 1
jmp 0x517ca6
inc esi
dec edi
jne 0x517c88
test bl, bl
je 0x517cc6
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 0x517cd8
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 0x517da2
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 0x517d7d
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 0x517da2
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 0x517ddd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
xor edx, edx
call fcn.00469d3c
jmp 0x517ded
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 0x517e1a
lea eax, [ebp - 8]
call fcn.00412260
mov eax, dword [0x524d5c]
mov eax, dword [eax]
mov dx, word [ebp - 0xa]
call fcn.00492650
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x517e4b
lea eax, [ebp - 0x10]
call fcn.00405024
ret