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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov bl, al
shr eax, 3
mov dword [ebp - 0x224], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x230], edx
mov edx, dword [ebp + 0x18]
and al, 1
and bl, 1
push esi
mov esi, dword [ebp + 0xc]
mov dword [edx], 0
mov dword [ebp - 0x228], edx
mov dword [edi], 0
mov byte [ebp - 0x21d], al
test ecx, ecx
jne 0x48dc7b
mov dword [edi], 1
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
push 0
push ecx
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x48dd13
mov ecx, dword [ebp - 0x224]
cmp eax, dword [ecx]
je 0x48dcb8
mov edx, dword [ebp - 0x228]
push esi
push eax
mov ecx, edi
call fcn.0048d9e0
add esp, 8
test al, al
je 0x48dd13
mov eax, dword [ebp - 0x22c]
cmp byte [ebp - 0x21d], 0
mov edx, dword [ebp - 0x224]
mov dword [edx], eax
je 0x48dcfe
lea ecx, [ebp - 0x224]
push ecx
push 0x1f4
push 0
push 0
push 0
push 0x482
push eax
mov dword [ebp - 0x224], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [ebp - 0x224], 1
jne 0x48dc69
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x48dc69
test esi, esi
je 0x48dc69
xor ebx, ebx
call fcn.0049e4c0
cmp al, 1
jne 0x48de35
push 0x208
lea eax, [ebp - 0x21a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x21c], dx
call fcn.0044b7d0
mov eax, dword [ebp - 0x230]
add esp, 0xc
cmp eax, ebx
je 0x48dd6f
push eax
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.00447b75
add esp, 0xc
push 0x40
lea edx, [ebp - 0x288]
push ebx
push edx
call fcn.0044b7d0
add esp, 0xc
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x28c]
push edx
push ebx
push ebx
xor eax, eax
push ebx
push ebx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov ax, word [ebp + 0x14]
push ebx
mov word [ebp - 0x25c], ax
push ebx
lea eax, [ebp - 0x21c]
push eax
push esi
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x28c], 0x44
mov dword [ebp - 0x260], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48de06
mov dword [edi], 0x64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov ebx, 2
call esi
mov eax, dword [ebp - 0x240]
push eax
call esi
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48de66
mov dword [edi], 0x68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop esi
mov eax, ebx
xor ecx, ebp
mov dword [edi], 2
pop ebx
call fcn.0044557a
mov esp, ebp
pop ebp
ret