Function at 0x42ef00
Capabilities:
Check if file exists
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x56d380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp + 0xc]
mov ebx, ecx
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
mov dword [ebp - 0x218], 0
call fcn.004284d0
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x214]
push eax
push esi
push str.StartAppModulePure__s__s
push ebx
call fcn.0042d870
add esp, 0x1c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f22c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00403b50
push 0x44
lea ecx, [ebp - 0x2a8]
push 0
push ecx
lea edi, [eax + 0x10]
call fcn.00500080
xor eax, eax
mov edx, 0xa
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov eax, dword [0x56c260]
mov word [ebp - 0x278], dx
mov edx, dword [eax + 0xc]
add esp, 0x10
mov ecx, 0x56c260
mov dword [ebp - 0x2a8], 0x44
mov dword [ebp - 0x27c], 1
call edx
add eax, 0x10
mov dword [ebp - 0x210], eax
call fcn.0045f340
cmp dword [eax + 0x1050], 0
je 0x42f06c
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00500080
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push str.QtBin
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f022
sub eax, edx
sar eax, 1
je 0x42f057
mov ecx, dword [ebx + 0x1064]
lea eax, [ebp - 0x20c]
push eax
push ecx
lea edx, [ebp - 0x210]
push str._sDlls__s
push edx
call fcn.00428a30
add esp, 0x10
jmp 0x42f087
mov eax, dword [ebx + 0x1064]
push eax
push str._sDlls
lea ecx, [ebp - 0x210]
push ecx
jmp 0x42f07f
mov edx, dword [ebx + 0x1064]
push edx
push str._sDlls
lea eax, [ebp - 0x210]
push eax
call fcn.00428a30
add esp, 0xc
push 0x556338
push 0x53d38c
lea ecx, [ebp - 0x210]
call fcn.00423850
mov ecx, dword [ebp - 0x210]
push ecx
mov ecx, ebx
call fcn.0042d3c0
mov esi, eax
lea edx, [ebp - 0x228]
push edx
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x2a8]
push eax
mov eax, dword [ebp - 0x214]
push edi
push esi
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0x400
push ecx
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
call fcn.004ff19b
mov eax, dword [ebp - 0x220]
add esp, 4
xor esi, esi
test eax, eax
je 0x42f0fd
mov dword [ebp - 0x218], eax
jmp 0x42f105
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x214]
mov edx, dword [ebp - 0x220]
push eax
push ecx
push edi
push esi
push edx
push str.StartAppModulePure_Rst_Pid_d_Err_d_dir_s_file_s_cmd_s
push ebx
call fcn.0042d870
add esp, 0x1c
cmp esi, 0x57
jne 0x42f1ec
push 0x38
xor esi, esi
lea eax, [ebp - 0x260]
push esi
push eax
call fcn.00500080
mov ecx, dword [ebp - 0x214]
mov edx, dword [ebp + 0x10]
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
mov dword [ebp - 0x264], 0x3c
mov dword [ebp - 0x260], 0x40
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], 5
mov dword [ebp - 0x244], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42f1de
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push str.ShellExecuteEx_Succ_procid:_d
push ebx
mov dword [ebp - 0x218], eax
call fcn.0042d870
add esp, 0xc
jmp 0x42f1ec
push str.ShellExecuteEx_fail
push ebx
call fcn.0042d870
add esp, 8
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f20e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f23a
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x42f23a
push str.StartAppModulePure_FileNotExist
push ebx
call fcn.0042d870
add esp, 8
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
pop ebx
test edx, edx
jg 0x42f25f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f27e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f29d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f2bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
xor ecx, ebp
call fcn.00500397
mov esp, ebp
pop ebp
ret 0xc