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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4ba920]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x26c]
push ebx
push eax
call fcn.00461130
xor eax, eax
add esp, 0xc
lea ecx, [ebp - 0x270]
push ecx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x270], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x206
lea ecx, [ebp - 0x216]
xor edx, edx
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x244], 1
mov word [ebp - 0x240], dx
mov word [ebp - 0x218], ax
call fcn.00461130
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x218]
push ecx
call esi
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00420460
mov dword [ebp - 4], ebx
call fcn.0042c430
lea ecx, [ebp - 0x21c]
test eax, eax
je 0x42c13c
push 0x1b
push str.SoftMgrEaInstHelper64.exe
jmp 0x42c143
push 0x19
push str.SoftMgrEaInstHelper.exe
call fcn.0041d8c0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c24f
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.00427390
add esp, 4
test eax, eax
je 0x42c24f
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx - 0xc]
lea edi, [eax + 0x40]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
push 0x4be5f8
neg ecx
or ecx, eax
push ecx
call fcn.00463f3c
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42c24f
mov ecx, dword [ebp - 0x21c]
push ecx
push str.__s___Install_run
push edi
push esi
call fcn.00463e23
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x270]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, ebx
je 0x42c214
mov edx, dword [ebp - 0x22c]
push 0xea60
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0042ea4d
mov eax, dword [ebp - 0x21c]
add esp, 4
cmp edi, ebx
setne bl
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c24b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
jmp 0x42c276
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c274
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046111a
mov esp, ebp
pop ebp
ret