Function at 0x42d2d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x485666
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push esi
push edi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
mov ebx, edx
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, ebx
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
call fcn.0042b570
add esp, 4
mov esi, eax
push esi
push str._IPC_StartProcess_nStatus:_d
push 0
push str.Light_ipc.cpp
call fcn.0040e7f0
add esp, 0x10
cmp esi, 2
je 0x42d51e
cmp esi, 3
je 0x42d51e
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
call fcn.00415af0
lea eax, [esp + 0x4c]
mov dword [esp + 0x478], 0
push eax
lea ecx, [esp + 0x38]
call fcn.00403330
mov edi, dword [esp + 0x14]
mov byte [esp + 0x478], 1
test edi, edi
je 0x42d3bf
push edi
lea ecx, [esp + 0x38]
call fcn.00408720
lea ecx, [esp + 0x34]
call fcn.00403480
push eax
push str._IPC_StartProcess_wsExeFile_s
push 0
push str.Light_ipc.cpp
call fcn.0040e7f0
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.00403480
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42d41f
push str._IPC__StartProcess
push 0
push str.Light_ipc.cpp
call fcn.0040e7f0
add esp, 0xc
lea ecx, [esp + 0x34]
call fcn.004033c0
lea ecx, [esp + 0x4c]
call fcn.004033c0
xor eax, eax
jmp 0x42d5a9
cmp dword [ebp + 0x24], 0
jne 0x42d42a
cmp esi, 1
jne 0x42d431
mov ecx, edi
call fcn.0041fa20
xor eax, eax
push 0x3fe
push eax
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6e]
push eax
call sub.MSVCR120.dll_memset
mov ecx, dword [esp + 0x38]
add esp, 0xc
call fcn.00403480
push eax
lea ecx, [esp + 0x38]
call fcn.00403480
push eax
push str.__s___s__s
lea eax, [esp + 0x70]
push 0x200
push eax
call fcn.0040b200
add esp, 0x14
lea eax, [esp + 0x64]
push eax
push str._IPC_StartProcess_RunProcess_s
push 0
push str.Light_ipc.cpp
call fcn.0040e7f0
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.00403480
mov edx, eax
lea ecx, [esp + 0x68]
call fcn.0041f840
add esp, 4
push ebx
push str._IPC_StartProcess_wait_window_s_Complete
push 0
push str.Light_ipc.cpp
call fcn.0040e7f0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
xor esi, esi
push dword [esp + 0x18]
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.0042b570
add esp, 4
cmp eax, 2
je 0x42d4ea
cmp eax, 3
je 0x42d4ea
push 0x64
inc esi
call edi
cmp esi, 0xa
jl 0x42d4c3
jmp 0x42d4f2
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x34]
call fcn.004033c0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x478], 0xffffffff
call fcn.004033c0
cmp dword [esp + 0x10], 0
je 0x42d418
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ecx
push edi
mov dword [esp + 0x38], 0
call dword [eax + 0x14]
mov eax, dword [esp + 0x30]
cmp eax, 2
je 0x42d558
cmp eax, 3
je 0x42d558
push eax
push str._IPC__m_oIPCPipe_can_not_work__dwStatus___d
push 0
push str.Light_ipc.cpp
call fcn.0040e7f0
add esp, 0x10
xor eax, eax
jmp 0x42d5a9
push dword [esp + 0x14]
push str._IPC_StartProcess__s_IPC_POST
push 0
push str.Light_ipc.cpp
call fcn.0040e7f0
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebp + 0x1c]
push ebx
push esi
push str._IPC_StartProcess_IPC_dwSize_d_pData_s
push 0
push str.Light_ipc.cpp
call fcn.0040e5a0
mov eax, dword [edi]
add esp, 0x24
push 0
push 0x1f4
push 0
push esi
push ebx
push 0x3e9
push dword [esp + 0x3c]
push edi
call dword [eax + 0x18]
mov eax, 1
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret