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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 2
je 0x502354
cmp dword [ebp - 0x1c], 2
ja 0x502515
cmp dword [ebp - 0x1c], 0
je 0x502502
cmp dword [ebp - 0x1c], 1
jne 0x502515
jmp 0x50251b
mov eax, dword [ebp + 0x40]
fld qword [eax]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x4c]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x50]
fld qword [eax]
fstp qword [ebp - 0x38]
mov eax, dword [ebp + 0x30]
mov esi, dword [eax]
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 0x3c]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x54]
mov ebx, dword [eax]
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp + 0x50]
fld qword [eax]
fstp qword [ebp - 0x58]
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov dword [ebp - 0x50], esi
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 8]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x40]
fld qword [eax]
mov eax, dword [ebp + 0x20]
fld qword [eax]
mov eax, dword [ebp + 0x1c]
fld qword [eax]
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 0x28]
fld qword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax]
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0x58]
mov esi, dword [eax]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 0x48]
mov edi, dword [eax]
mov eax, dword [ebp + 0x28]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x38]
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
fstp qword [esp + 0x9c]
mov dword [esp + 0x98], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x94], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x90], edx
fld qword [ebp - 0x38]
fstp qword [esp + 0x88]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x84], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x80], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x78], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x74], edx
fld qword [ebp - 0x58]
fstp qword [esp + 0x6c]
fxch st(5)
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x68], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x64], edx
fstp qword [esp + 0x5c]
fxch st(3)
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x58], edx
fstp qword [esp + 0x50]
fxch st(1)
fstp qword [esp + 0x48]
fstp qword [esp + 0x40]
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x3c], edx
fstp qword [esp + 0x34]
fstp qword [esp + 0x2c]
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edi
fstp qword [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x74]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._GetSubstringAfterLastBackslash
mov edx, dword [ebp + 0x60]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x502516
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
mov eax, dword [ebp + 0x5c]
mov dword [eax], edx
mov dword [ebp - 0x1c], 1
jmp 0x502516
nop
jmp 0x50232b
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret