Function at 0x18000f0d0
Capabilities:
Create process on windows
Get system information on windows
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12a0]
mov eax, 0x13a0
call fcn.18001d090
sub rsp, rax
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rbp + 0x1290], rax
mov r15, rcx
xor edi, edi
mov dword [rsp + 0x50], edi
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x20]
test rax, rax
je 0x18000f141
call rax
jmp 0x18000f147
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [rbp - 0x20]
lea eax, [rcx - 6]
mov edx, 0xfffc
test dx, ax
jne 0x18000f798
cmp cx, 8
je 0x18000f798
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
call fcn.18000ef40
mov esi, eax
mov edx, dword [r15 + 0x434]
call fcn.18000ef40
mov r13d, eax
mov ebx, edi
test eax, eax
setne bl
mov eax, edi
test esi, esi
setne al
xor ebx, eax
lea rcx, vtable.NullLog.0
mov rax, qword [0x1800650d8]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
mov r9d, esi
mov r8d, ebx
lea rdx, str.CPrintHook::CreateWorkerProcess__:_workerProcessNeeded__d_current__d_target__d._n
call qword [rax]
test ebx, ebx
je 0x18000f798
cmp dword [r15 + 0x43c], edi
jne 0x18000f798
mov word [rbp + 0x80], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x82]
call fcn.180040540
mov r8d, 0x104
lea rdx, [rbp + 0x80]
lea rcx, str._SystemRoot_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, eax
add eax, 0xfffffffe
cmp eax, 0x102
ja 0x18000f244
dec ecx
add rcx, rcx
cmp word [rbp + rcx + 0x80], 0x5c
jne 0x18000f23b
cmp rcx, 0x208
jae 0x18000f7d6
mov word [rbp + rcx + 0x80], di
lea r12, str._ls_ls_rundll32.exe___ls__WorkerProcess__ls
jmp 0x18000f252
mov word [rbp + 0x80], di
lea r12, str.C:Windows_ls_rundll32.exe___ls__WorkerProcess__ls
lea r14, [0x180052e24]
test esi, esi
je 0x18000f270
lea r14, str.System32
lea r13, vtable.std::exception.0
jmp 0x18000f2ff
test r13d, r13d
je 0x18000f285
lea r14, str.SysWOW64
lea r13, vtable.std::exception.0
jmp 0x18000f2ff
lea rdx, str.Neither_controller_nor_target_are_WOW.
lea rcx, [rbp - 0x20]
call fcn.18001abc0
nop
mov rcx, rax
call fcn.18000c7b0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x18000f2da
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f2d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f7dc
call fcn.18001c7c8
movdqa xmm0, xmmword [0x180052e60]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
lea r13, vtable.std::exception.0
mov qword [rbp - 0x20], r13
lea rcx, [rbp - 0x18]
call fcn.18001e234
lea rcx, [r15 + 8]
cmp word [rbp + 0x80], 0
jne 0x18000f377
lea rdx, [rbp - 0x20]
call fcn.18000f800
mov rsi, rax
mov dword [rsp + 0x50], 1
cmp qword [rax + 0x18], 7
jbe 0x18000f32b
mov rsi, qword [rax]
mov r8d, dword [r15 + 0x428]
lea rdx, [rbp + 0x58]
call fcn.18000ecc0
nop
mov ebx, 3
cmp qword [rax + 0x18], 7
jbe 0x18000f34b
mov rax, qword [rax]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9, r12
mov edx, 0x800
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0x290]
call fcn.18001ab50
jmp 0x18000f3ea
lea rdx, [rbp + 0x38]
call fcn.18000f800
mov rsi, rax
mov dword [rsp + 0x50], 4
cmp qword [rax + 0x18], 7
jbe 0x18000f395
mov rsi, qword [rax]
mov r8d, dword [r15 + 0x428]
lea rdx, [rbp + 0x18]
call fcn.18000ecc0
mov ebx, 0xc
cmp qword [rax + 0x18], 7
jbe 0x18000f3b4
mov rax, qword [rax]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, r12
mov edx, 0x800
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0x290]
call fcn.18001ab50
mov esi, eax
test bl, 8
je 0x18000f445
and ebx, 0xfffffff7
mov rdx, qword [rbp + 0x30]
cmp rdx, 7
jbe 0x18000f434
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f42f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f7e2
call fcn.18001c7c8
movdqa xmm0, xmmword [0x180052e50]
movdqu xmmword [rbp + 0x28], xmm0
mov word [rbp + 0x18], di
test bl, 4
je 0x18000f49e
and ebx, 0xfffffffb
mov rdx, qword [rbp + 0x50]
cmp rdx, 7
jbe 0x18000f48d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f488
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f7e8
call fcn.18001c7c8
movdqa xmm0, xmmword [0x180052e50]
movdqu xmmword [rbp + 0x48], xmm0
mov word [rbp + 0x38], di
test bl, 2
je 0x18000f4f7
and ebx, 0xfffffffd
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x18000f4e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f4e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f7ee
call fcn.18001c7c8
movdqa xmm0, xmmword [0x180052e50]
movdqu xmmword [rbp + 0x68], xmm0
mov word [rbp + 0x58], di
test bl, 1
je 0x18000f53c
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x18000f53c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f537
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f7f4
call fcn.18001c7c8
cmp esi, 0x800
jb 0x18000f5b7
lea rdx, str.Command_is_too_long.
lea rcx, [rbp - 0x20]
call fcn.18001abc0
nop
mov rcx, rax
call fcn.18000c7b0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x18000f599
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f594
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f7fa
call fcn.18001c7c8
movdqa xmm0, xmmword [0x180052e60]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov qword [rbp - 0x20], r13
lea rcx, [rbp - 0x18]
call fcn.18001e234
lea r14, vtable.NullLog.0
mov rcx, r14
mov rax, qword [0x1800650d8]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
lea r8, [rbp + 0x290]
lea rdx, str.CPrintHook::CreateWorkerProcess__:_command_is__ls._n
call qword [rax]
mov esi, dword [r15 + 0x438]
mov dword [r15 + 0x438], edi
mov dword [rsp + 0x70], 0x68
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x290]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
jne 0x18000f65d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [r15 + 0x438], esi
test ebx, ebx
jne 0x18000f6c8
mov r8d, edi
lea rdx, str.Worker_process_did_not_start___d_.
lea rcx, [rbp - 0x20]
call fcn.18001abc0
nop
mov rcx, rax
call fcn.18000c7b0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x18000f759
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f754
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f7d0
jmp 0x18000f754
mov edx, 0x1388
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
je 0x18000f6ee
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x18000f777
lea rdx, str.Worker_process_did_not_terminate.
lea rcx, [rbp - 0x20]
call fcn.18001abc0
nop
mov rcx, rax
call fcn.18000c7b0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x18000f759
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f754
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f7ca
call fcn.18001c7c8
movdqa xmm0, xmmword [0x180052e60]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov qword [rbp - 0x20], r13
lea rcx, [rbp - 0x18]
call fcn.18001e234
mov rax, qword [0x1800650d8]
test rax, rax
cmovne r14, rax
mov rax, qword [r14]
lea rdx, str.CPrintHook::CreateWorkerProcess___finished._n
mov rcx, r14
call qword [rax]
mov al, 1
jmp 0x18000f79a
xor al, al
mov rcx, qword [rbp + 0x1290]
xor rcx, rsp
call fcn.18001c3d0
lea r11, [rsp + 0x13a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800232b4
int3
call fcn.1800232b4
int3
call fcn.18001c8e0
int3
call fcn.1800232b4
nop
call fcn.1800232b4
nop
call fcn.1800232b4
nop
call fcn.1800232b4
nop
call fcn.1800232b4
int3
call fcn.1800232b4
int3