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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fd7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
cmp dword [ebp + 8], 0
je 0x45ed7c
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x45ed7c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45ed83
xor eax, eax
jmp 0x45ef2f
mov dword [ebp - 0x30], 0
mov eax, 1
test eax, eax
je 0x45ef2c
push 0x44
push 0
lea ecx, [ebp - 0xd4]
push ecx
call fcn.00464f70
add esp, 0xc
mov dword [ebp - 0xd4], 0x44
mov dword [ebp - 0xa8], 1
xor edx, edx
mov word [ebp - 0xa4], dx
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x78]
call fcn.0042c1c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x78]
push ecx
call fcn.00448530
add esp, 4
lea edx, [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 8
jb 0x45ee0e
mov dword [ebp - 0x1c], 1
jmp 0x45ee15
mov dword [ebp - 0x1c], 0
mov dl, byte [ebp - 0x1c]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x45ee31
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x4c], 0x4b3604
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x90]
push edx
call fcn.0042f380
add esp, 0xc
lea eax, [ebp - 0x90]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x45ee7c
mov dword [ebp - 0x24], 1
jmp 0x45ee83
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x45ee9f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0xd4]
push edx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x2c], 0
jne 0x45eef2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x3c], 0
je 0x45ef02
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x40], 0
je 0x45ef12
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x90]
call fcn.00431070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00431070
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret