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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x14], ebp
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x2c], edx
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x30], edi
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x40], eax
mov ebx, dword [ebp + 0x18]
mov dword [esi + 0x34], ebx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], eax
mov eax, esp
mov dword [esi + 0x6c], eax
mov dword [esi + 0x78], 0xffffffff
lea eax, [esi + 0x70]
mov dword [esi + 0x74], 0x50c0e0
mov ecx, dword fs:[0]
mov dword [esi + 0x70], ecx
mov ecx, dword [esi + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], eax
mov byte [esi + 0x57], 0
mov byte [esi + 0x56], 0
mov byte [esi + 0x57], 1
mov byte [esi + 0x56], 1
mov dword [esi + 0x78], 1
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.005098f0
mov dword [esi + 0x44], eax
jmp 0x507cfb
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x48], eax
mov edx, dword [esi + 0x48]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0050a780
mov dword [esi + 0x28], eax
jmp 0x507d18
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x28]
mov cl, byte [ecx]
mov byte [esi + 0x27], cl
mov byte [esi + 0x6b], cl
cmp dword [eax + 8], 0
jne 0x507d40
mov al, byte [esi + 0x27]
movzx ecx, al
mov eax, esp
mov dword [eax], ecx
call fcn.00504db0
mov byte [esi + 0x26], al
jmp 0x507d46
mov byte [esi + 0x4f], 0
jmp 0x507d4e
mov al, byte [esi + 0x26]
and al, 1
mov byte [esi + 0x4f], al
movzx ecx, byte [esi + 0x4f]
and ecx, 1
mov eax, esp
mov dword [eax], ecx
call fcn.0050aee0
mov byte [esi + 0x25], al
jmp 0x507d63
mov al, byte [esi + 0x25]
test al, 1
jne 0x507d95
jmp 0x507d6c
mov bl, byte [esi + 0x27]
mov edi, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x48]
mov eax, esp
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0xc], edi
movzx edi, bl
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0050a000
jmp 0x507ddf
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x34]
mov edi, dword [esi + 0x40]
mov byte [esi + 0x56], 0
mov eax, esp
mov dword [eax + 0xc], edi
mov dword [eax + 8], edx
mov dword [eax], ecx
mov dword [eax + 4], 1
call fcn.005085c0
jmp 0x507dba
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x2c]
mov edi, dword [esi + 0x30]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.005098f0
mov dword [esi + 0x20], eax
jmp 0x507dd7
mov eax, dword [esi + 0x20]
mov dword [esi + 0x48], eax
jmp 0x507d6c
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x48]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00507b90
mov dword [esi + 0x1c], eax
jmp 0x507df6
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x50], eax
mov byte [esi + 0x57], 0
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0x50]
mov dword [eax], ecx
call fcn.00504cf0
jmp 0x507e14
mov eax, dword [esi + 0x50]
mov dword [esi + 0x18], eax
test byte [esi + 0x56], 1
jne 0x507e35
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x70]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x507e20