Function at 0x1400296b0
Capabilities:
Create directory
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rdi, rcx
add rcx, 0x48
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov edx, dword [rdi + 8]
lea r8, str.Exec
test eax, eax
je 0x140029d26
lea rcx, str._i:__s_Begin_execute._n
call fcn.14005cb30
xor r15d, r15d
mov qword [rsp + 0x70], r15
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi + 0x70]
call fcn.14005bc00
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x14002974c
lea rcx, str.Cannot_expand_command._Error_n
call fcn.14005cb30
lea rcx, [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x140029d37
mov rcx, qword [rdi + 0x70]
call fcn.140069370
mov rcx, rbx
call fcn.140069798
mov qword [rdi + 0x70], rax
mov rcx, rbx
call fcn.140069370
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x1400297a2
mov qword [rsp + 0x70], r15
lea rdx, [rsp + 0x70]
call fcn.14005bc00
mov rcx, qword [rdi + 0x78]
call fcn.140069370
mov rcx, qword [rsp + 0x70]
call fcn.140069798
mov qword [rdi + 0x78], rax
mov rcx, qword [rsp + 0x70]
call fcn.140069370
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x14002981c
mov qword [rsp + 0x70], r15
lea rdx, [rsp + 0x70]
call fcn.14005bc00
mov rcx, qword [rdi + 0x80]
call fcn.140069370
mov rcx, qword [rsp + 0x70]
call fcn.140069798
mov qword [rdi + 0x80], rax
mov rcx, qword [rsp + 0x70]
call fcn.140069370
xor r8d, r8d
mov rdx, qword [rdi + 0x80]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x14002981c
cmp eax, 0x50
je 0x14002981c
cmp eax, 0xb7
je 0x14002981c
mov r8d, eax
mov rdx, qword [rdi + 0x80]
lea rcx, str.Cannot_create_dir__s.__error__d__n
call fcn.14005cb30
cmp byte [rdi + 0x8e], r15b
je 0x140029842
mov rdx, qword [rdi + 0x70]
lea rcx, str.Running_as_limited_user:__s_n
call fcn.14005cb30
mov rcx, rdi
call fcn.14002a8f0
jmp 0x140029ceb
cmp byte [rdi + 0x8c], r15b
jne 0x140029ca7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
mov dword [rbp + 0x14], eax
mov dword [rbp - 0x50], 0x68
movzx eax, byte [rdi + 0x8d]
test al, al
je 0x14002988a
mov word [rbp - 0x10], r15w
mov dword [rbp - 0x14], r15d
neg al
sbb esi, esi
and esi, 0x8000000
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x20]
call fcn.1400659a0
mov rcx, qword [rdi + 0x78]
mov rbx, 0xffffffffffffffff
test rcx, rcx
je 0x140029901
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x1400298c0
test rax, rax
je 0x140029901
lea rax, str._s__s
lea r8, str.__s___s
cmp byte [rdi + 0x8f], r15b
cmovne r8, rax
mov qword [rsp + 0x20], rcx
mov r9, qword [rdi + 0x70]
mov edx, 0x208
lea rcx, [rbp + 0x20]
call fcn.14002b970
jmp 0x14002992a
mov r9, qword [rdi + 0x70]
mov edx, 0x208
lea rcx, [rbp + 0x20]
cmp byte [rdi + 0x8f], r15b
lea r8, str.__s_
je 0x140029925
lea r8, [0x1400a6cd4]
call fcn.14002b970
mov rax, qword [rdi + 0x80]
lea r8, str._NULL_
test rax, rax
cmovne r8, rax
lea rdx, [rbp + 0x20]
lea rcx, str.Running_command_with_CreateProcess:__s_in_folder:__s_n
call fcn.14005cb30
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140029c8c
mov r8d, dword [rbp - 0x78]
lea rdx, [rbp + 0x20]
lea rcx, str.Started__s_with_pid__d
call fcn.14005cb30
cmp qword [rdi + 0xb0], r15
je 0x140029ac7
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r15b
mov r8d, 4
lea rdx, str.int_
lea rcx, [rbp - 0x70]
call fcn.14001d830
nop
lea rdx, [rdi + 0xa0]
cmp qword [rdx + 0x18], 8
jb 0x1400299f3
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.14005a4e0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14001d4c0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140029a5b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029a56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029d69
call fcn.140062610
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
lea rcx, str.set_pid_variable:__S_n
call fcn.14005cb30
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
mov edx, dword [rbp - 0x78]
call sym.Installer.exe_Put
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140029ac7
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029ac2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029d6f
call fcn.140062610
mov edx, dword [rdi + 0x88]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [rdi + 0x88], 0xffffffff
jne 0x140029bbb
mov dword [rsp + 0x70], r15d
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp qword [rdi + 0x90], 0
je 0x140029ba6
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov r8d, 4
lea rdx, str.int_
lea rcx, [rbp - 0x70]
call fcn.14001d830
nop
mov rdx, qword [rdi + 0x90]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140029b40
lea rcx, [rbp - 0x70]
call fcn.14001d4c0
mov edx, dword [rsp + 0x70]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
call sym.Installer.exe_Put
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140029ba6
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029ba1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029d75
call fcn.140062610
mov r8d, dword [rsp + 0x70]
lea rdx, [rbp + 0x20]
lea rcx, str.Process__s_finished_with_return_code:__d_n
call fcn.14005cb30
cmp qword [rdi + 0x98], 0
je 0x140029c75
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov r8d, 7
lea rdx, str.HANDLE_
lea rcx, [rbp - 0x70]
call fcn.14001d830
nop
mov rdx, qword [rdi + 0x98]
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140029c00
mov r8, rbx
lea rcx, [rbp - 0x70]
call fcn.14001d4c0
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
mov rdx, qword [rsp + 0x78]
call sym.Installer.exe_Put
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140029c80
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029c64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029d63
call fcn.140062610
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140029ceb
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140029ceb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rbp + 0x20]
lea rcx, str.Failed_to_run:__s__Error__d_
call fcn.14005cb30
jmp 0x140029ceb
mov r8, qword [rdi + 0x78]
mov rdx, qword [rdi + 0x70]
lea rcx, str.Running_with_shellexecute__s__s_n
call fcn.14005cb30
mov rax, qword [rdi + 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x140029cc6
test rbx, rbx
jne 0x140029ce3
lea rcx, str.Command_is_null
call fcn.14005cb30
jmp 0x140029ceb
mov rcx, rdi
call fcn.14002a6c0
mov byte [rdi + 0x10], 1
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [0x1400926f0]
mov r9d, eax
lea r8, str.Exec
mov edx, dword [rdi + 8]
lea rcx, str._i:__s_End_execute._Next_command__i._n
call fcn.14005cb30
lea rcx, [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x140029d37
lea rcx, str._i:__s_Error:_Multiple_threads_attempting_execution._n
call fcn.14005cb30
mov eax, 0x54f
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400625f0
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400695b8
nop
call fcn.1400695b8
nop
call fcn.1400695b8
int3
call fcn.1400695b8
int3