Function at 0x413c70
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1fed
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x50c]
xor esi, esi
test eax, eax
mov dword [esp + 0x14], esi
jle 0x413d54
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x413cc8
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
test eax, eax
jl 0x414087
cmp esi, dword [ebx + 0x50c]
jge 0x414087
mov edi, dword [ebx + 0x508]
add edi, eax
lea eax, [esp + 0x24]
push eax
call fcn.004140c0
movzx eax, word [ebp + 8]
mov dword [esp + 0xb8], 0
cmp eax, dword [esp + 0x58]
je 0x413d89
cmp eax, dword [esp + 0x80]
je 0x413e45
cmp eax, dword [esp + 0xa8]
je 0x414072
lea esi, [esp + 0x24]
mov dword [esp + 0xb8], 0xffffffff
call fcn.00414220
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 0x88
add eax, 1
cmp eax, dword [ebx + 0x50c]
mov dword [esp + 0x14], eax
jl 0x413cc0
mov ecx, dword [ebp + 8]
movzx eax, cx
cmp eax, 0x2ee0
je 0x41408c
mov edx, dword [ebp + 0xc]
push edx
push ecx
mov ecx, ebx
call fcn.0040b3a0
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
mov ecx, ebx
call fcn.004609ca
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413dac
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0xbc], 1
call fcn.004027c0
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0045d6f3
test eax, eax
je 0x413de9
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x10]
push ecx
push 0x32c8
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebx + 0x20]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [esp + 0xb8], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413e37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x24]
call fcn.00414220
jmp 0x414096
push 0
mov ecx, ebx
call fcn.004609ca
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413e68
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea esi, [esp + 0x14]
mov byte [esp + 0xb8], 2
call fcn.00445180
mov byte [esp + 0xb8], 3
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x14]
push str._sFPlayer.exe
push edx
call fcn.00402a20
mov byte [esp + 0xc4], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413ece
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x414045
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x413efb
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xb8], 4
mov eax, dword [esp + 0x6c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00402840
lea ecx, [esp + 0x20]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00428320
add esp, 8
mov byte [esp + 0xb8], 5
mov edx, dword [eax]
mov eax, dword [esp + 0x84]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402840
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x28]
add esp, 4
push eax
call fcn.00428320
add esp, 8
mov byte [esp + 0xbc], 6
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x1c]
push 0x4adb90
push edx
call fcn.00402a20
mov byte [esp + 0xc8], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413fb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb8], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413fe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x18]
call fcn.00445180
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
push 1
push eax
push esi
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414021
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0xb8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414045
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x20]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [edi - 0x10]
mov byte [esp + 0xb8], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x413e2b
push 0
push ebx
mov ecx, esi
call fcn.00414e80
lea esi, [esp + 0x24]
call fcn.00414220
jmp 0x414096
call fcn.00461650
push 1
push ebx
xor ecx, ecx
call fcn.00414e80
mov eax, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8