Function at 0x66c490
Capabilities:
Create process on windows
Create process suspended
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689fb9
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0xb
push str.install_dir
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00504f30
mov dword [ebp - 4], 0
call fcn.00662810
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00663460
mov esi, eax
push esi
call fcn.004f4a70
add esp, 4
lea ecx, [esi + 0x30]
push ecx
lea ecx, [ebp - 0x40]
call fcn.005ee340
push esi
call fcn.004f4b00
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
movlpd qword [ebp - 0x94], xmm0
push eax
lea ecx, [ebp - 0x28]
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x98], 0x44
call fcn.005ee340
push 0x20
push str._Tools_GatherInfo_gatherinfo.bat
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00636c05
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push eax
cmovae ecx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x66c5f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 4
je 0x66c623
push eax
push str.Failed_to_launch_new_process_error___d___n
push 0x4f4
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_tasks.cpp
push str.mapl_handle_gatherinfo
push dword [0x909fb0]
push 4
call fcn.004f21c0
add esp, 0x1c
test byte [0x9538a8], 4
je 0x66c623
push dword [ebp - 0x48]
push str.Launched_new_process_pid___d___n
push 0x4f8
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_tasks.cpp
push str.mapl_handle_gatherinfo
push dword [0x909fb0]
push 4
call fcn.004f21c0
add esp, 0x1c
push 0xffffffffffffffff
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4c]
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x66c674
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x66c66a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66c6da
push edx
push ecx
call fcn.0063cad3
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x66c6be
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x66c6b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66c6da
push edx
push ecx
call fcn.0063cad3
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3