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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5440e6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x4a8
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebx + 8]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x450], cx
lea ecx, [ebp - 0x450]
lea eax, [esi + 0x48]
mov dword [ebp - 0x434], 0
push eax
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
call fcn.00403ec0
push 0x208
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00516d20
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x208
push 0
push eax
call fcn.00516d20
add esp, 0xc
lea eax, [ebp - 0x4a8]
push 0x44
push 0
push eax
call fcn.00516d20
add esp, 0xc
mov dword [ebp - 0x4a8], 0x44
lea eax, [ebp - 0x430]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4b8], xmm0
push 0x104
push eax
push str._windir_LogsQualysAgent
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4430df
cmp eax, 0x104
jae 0x4430df
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
jne 0x442e81
push ecx
lea ecx, [ebp - 0x430]
call fcn.00430ed0
mov dword [ebp - 0x434], eax
test eax, eax
je 0x442e81
lea ecx, [ebp - 0x430]
push ecx
push str.Failed_to_create_the_log_directory___s_
push eax
push 0x58ba20
call fcn.00437520
add esp, 0x10
jmp 0x4430fb
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x454]
push eax
movzx eax, word [ebp - 0x456]
push eax
movzx eax, word [ebp - 0x458]
push eax
movzx eax, word [ebp - 0x45a]
push eax
movzx eax, word [ebp - 0x45e]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x228]
push str._sMsiLog__02d_02d_02d_02d_02d.LOG
push eax
call fcn.00431650
add esp, 0x20
cmp word [ebp - 0x228], 0
jne 0x442edf
xor ecx, ecx
jmp 0x442eff
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442ef0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [esi + 0x60]
call fcn.00403fe0
xor ecx, ecx
mov eax, 0x11
cmp word [str.__Lvoicewarmup_x], cx
cmove eax, ecx
lea ecx, [ebp - 0x450]
push eax
push str.__Lvoicewarmup_x
call fcn.0040c930
push 1
push 0x564e24
lea ecx, [ebp - 0x450]
call fcn.0040c930
cmp word [ebp - 0x228], 0
jne 0x442f51
xor ecx, ecx
jmp 0x442f6f
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442f60
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x450]
call fcn.0040c930
push 1
push 0x564e24
lea ecx, [ebp - 0x450]
call fcn.0040c930
mov edi, dword [ebp - 0x440]
xor esi, esi
inc edi
mov dword [ebp - 0x438], esi
mov edx, edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4bc]
call fcn.0040db10
lea ecx, [ebp - 0x438]
cmp ecx, eax
je 0x442fcc
mov esi, dword [eax]
mov dword [eax], 0
mov dword [ebp - 0x438], esi
mov eax, dword [ebp - 0x4bc]
test eax, eax
je 0x442fdf
push eax
call fcn.004fdfa4
add esp, 4
mov dword [ebp - 4], 1
lea eax, [ebp - 0x450]
cmp dword [ebp - 0x43c], 8
cmovae eax, dword [ebp - 0x450]
push eax
push edi
push esi
call fcn.0052c361
add esp, 0xc
push esi
push str.MSI_path_and_parameters_for_second_attempt:_n_s
push 0x58ba20
call fcn.00437400
add esp, 0xc
push str.Re_Invoking_the_MSI_now.
push 0x58ba20
call fcn.00437360
add esp, 8
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4a8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x443073
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x434], eax
test esi, esi
je 0x4430fb
push esi
call fcn.004fdfa4
add esp, 4
jmp 0x4430fb
push str.Waiting_for_the_MSI_installer_to_finish_executing...
push 0x58ba20
call fcn.00437360
add esp, 8
push 0xffffffffffffffff
push dword [ebp - 0x4b8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x4b8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x44305d
jmp 0x443051
push str.Failed_to_expand_WinDir_variable
push 0x58ba20
call fcn.004372e0
add esp, 8
mov dword [ebp - 0x434], 0x7a
mov eax, dword [ebp - 0x4b8]
test eax, eax
je 0x44311f
cmp eax, 0xffffffff
je 0x44311f
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov dword [ebp - 0x4b8], 0xffffffff
jmp 0x443125
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4b4]
test eax, eax
je 0x443141
cmp eax, 0xffffffff
je 0x443141
push eax
call esi
mov dword [ebp - 0x4b4], 0xffffffff
mov ecx, dword [ebp - 0x43c]
mov esi, dword [ebp - 0x434]
cmp ecx, 8
jb 0x443165
inc ecx
push ecx
push dword [ebp - 0x450]
lea ecx, [ebp - 0x450]
call fcn.00403300
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004fdf3d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4