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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x508e81
cmp dword [ebp - 0x1c], 1
jne 0x508e7b
mov eax, dword [ebp + 0x40]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x34]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x3c]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x20]
fld qword [eax]
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x54]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov dword [ebp - 0x60], edi
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0x44]
mov ebx, dword [eax]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0x44]
mov edi, dword [eax]
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x20]
fld qword [eax]
fxch st(6)
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x94], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x90], edx
fstp qword [esp + 0x88]
fxch st(4)
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x84], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x80], edx
fstp qword [esp + 0x78]
fxch st(2)
fstp qword [esp + 0x70]
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x68], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x64], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x60], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x58], edx
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x54], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x50], edx
fstp qword [esp + 0x48]
fstp qword [esp + 0x40]
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x38], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x34], edx
fstp qword [esp + 0x2c]
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
mov esi, dword [ebp - 0x70]
mov dword [esp + 0xc], esi
fstp qword [esp + 4]
mov dword [esp], eax
call sym._GetSubstringAfterLastBackslash
mov edx, dword [ebp + 0x58]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x508e7c
nop
jmp 0x508cbb
nop
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret