Function at 0x140090280
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1d8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x150], 0xfffffffffffffffe
mov rsi, rcx
mov rbx, qword [0x1403d2d38]
mov rax, qword [rbx]
cmp rax, 3
jb 0x140090328
lea rax, str.Attempting_to_launch_terminal_as_SYSTEM...
mov qword [rbp], rax
mov qword [rbp + 8], 1
mov qword [rbp + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
lea rcx, [0x1402ad6e0]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0x118], rcx
mov qword [rbp + 0x120], 4
mov qword [rbp + 0x128], rcx
mov qword [rbp + 0x130], 4
mov qword [rbp + 0x138], rax
mov rcx, rbp
lea r8, [rbp + 0x118]
mov edx, 3
xor r9d, r9d
call fcn.1401a7b20
lea rax, str.C:WindowsSystem32cmd.exeActive_session_ID:
mov qword [rbp - 0x20], rax
lea rax, [0x1402ad713]
mov qword [rbp - 0x18], rax
mov word [rbp - 0x10], 0
mov dword [rbp - 8], 1
lea rcx, [rbp + 0x90]
lea rdx, [rbp - 0x20]
call fcn.1400247b0
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x60], 0
mov dword [rbp], 0x68
lea rax, [0x1402ad4a5]
mov qword [rbp + 0x118], rax
lea rax, [0x1402ad4b4]
mov qword [rbp + 0x120], rax
mov word [rbp + 0x128], 0
mov dword [rbp + 0x130], 1
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x118]
call fcn.1400247b0
mov rdx, qword [rbp + 0xf0]
mov rdi, qword [rbp + 0xf8]
test rdx, rdx
je 0x1400903eb
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.1400fcbd0
mov qword [rbp + 0x10], rdi
mov dword [rbp + 0x3c], 1
mov word [rbp + 0x40], 5
xorps xmm0, xmm0
movaps xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 0
call qword [sym.imp.kernel32.dll_WTSGetActiveConsoleSessionId]
mov dword [rbp + 0xac], eax
mov rcx, qword [rbx]
cmp eax, 0xffffffff
je 0x140090812
cmp rcx, 3
jb 0x1400904e2
lea rax, [rbp + 0xac]
mov qword [rbp + 0xe0], rax
lea rax, [0x14023efa0]
mov qword [rbp + 0xe8], rax
lea rax, [0x1402ad728]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x138], 0
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], 1
lea rcx, [0x1402ad738]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], 4
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], 4
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x118]
lea r8, [rbp + 0xf0]
mov edx, 3
xor r9d, r9d
call fcn.1401a7b20
call fcn.14003b650
mov qword [rbp + 0xc8], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
lea r8, [rbp + 0xc8]
mov rcx, rax
mov edx, 0xb
call qword [sym.imp.advapi32.dll_OpenProcessToken]
test eax, eax
je 0x1400908e3
call fcn.14003b650
mov qword [rbp + 0xc0], rax
mov rcx, qword [rbp + 0xc8]
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov edx, 0x18b
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.advapi32.dll_DuplicateTokenEx]
test eax, eax
je 0x1400909e2
mov eax, dword [rbp + 0xac]
mov dword [rbp + 0xa8], eax
mov rcx, qword [rbp + 0xc0]
lea r8, [rbp + 0xa8]
mov edx, 0xc
mov r9d, 4
call qword [sym.imp.advapi32.dll_SetTokenInformation]
test eax, eax
je 0x140090b50
mov dword [rbp + 0xb8], 0
mov rax, qword [rbx]
cmp rax, 3
jb 0x140090633
lea rax, str.Creating_process_in_users_session...
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x128], 8
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
mov byte [rbp + 0x14f], 1
lea rcx, [0x1402ad7e0]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], 4
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], 4
mov qword [rbp + 0x110], rax
mov byte [rbp + 0x14f], 1
lea rcx, [rbp + 0x118]
lea r8, [rbp + 0xf0]
mov edx, 3
xor r9d, r9d
call fcn.1401a7b20
mov rcx, qword [rbp + 0xc0]
mov rdi, qword [rbp + 0x98]
lea rax, [rbp + 0x70]
mov qword [rsp + 0x50], rax
mov rax, rbp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor edx, edx
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.advapi32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140090cc9
mov rax, qword [rbx]
cmp rax, 3
jb 0x14009072b
lea rax, str.Successfully_launched_terminal_as_SYSTEM.
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x128], 8
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
mov byte [rbp + 0x14f], 1
lea rcx, [0x1402ad838]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], 4
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], 4
mov qword [rbp + 0x110], rax
mov byte [rbp + 0x14f], 1
lea rcx, [rbp + 0x118]
lea r8, [rbp + 0xf0]
mov edx, 3
xor r9d, r9d
call fcn.1401a7b20
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x140090777
mov byte [rbp + 0x14f], 1
call fcn.140203920
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], edx
test edx, edx
sete cl
test rax, rax
sete al
or al, cl
jne 0x140090777
mov byte [rbp + 0x14f], 1
lea rcx, [rbp + 0x118]
call fcn.14010c210
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x1400907c3
mov byte [rbp + 0x14f], 1
call fcn.140203920
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], edx
test edx, edx
sete cl
test rax, rax
sete al
or al, cl
jne 0x1400907c3
mov byte [rbp + 0x14f], 1
lea rcx, [rbp + 0x118]
call fcn.14010c210
mov eax, dword [rbp + 0x80]
mov dword [rsi], eax
mov dword [rsi + 8], 0
cmp dword [rbp + 0xb8], 0
je 0x1400907f1
cmp qword [rbp + 0xb0], 0
je 0x1400907f1
lea rcx, [rbp + 0xb0]
call fcn.14010c210
mov rdx, qword [rbp + 0x90]
test rdx, rdx
je 0x140090b41
add rdx, rdx
mov r8d, 2
mov rcx, rdi
jmp 0x140090b3c
test rcx, rcx
je 0x1400908d9
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rbp + 0xd0], eax
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xe0], rax
lea rax, [0x140203470]
mov qword [rbp + 0xe8], rax
lea rax, str.Failed_to_get_active_session_ID._Error:_P
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x138], 0
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], 1
lea rcx, [0x1402ad988]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], 4
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], 4
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x118]
lea r8, [rbp + 0xf0]
mov edx, 1
xor r9d, r9d
call fcn.1401a7b20
call fcn.140203920
jmp 0x140090b1a
call fcn.140203920
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], edx
test edx, edx
je 0x140090511
test rax, rax
je 0x14009090e
lea rcx, [rbp + 0x118]
call fcn.14010c210
mov rax, qword [rbx]
test rax, rax
je 0x1400909d8
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rbp + 0xd0], eax
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xe0], rax
lea rax, [0x140203470]
mov qword [rbp + 0xe8], rax
lea rax, str.Failed_to_open_SYSTEM_token._Error:
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x138], 0
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], 1
lea rcx, [0x1402ad938]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], 4
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], 4
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x118]
lea r8, [rbp + 0xf0]
mov edx, 1
xor r9d, r9d
call fcn.1401a7b20
call fcn.140203920
jmp 0x140090b1a
call fcn.140203920
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], edx
test edx, edx
je 0x140090554
test rax, rax
je 0x140090a0d
lea rcx, [rbp + 0x118]
call fcn.14010c210
mov rax, qword [rbx]
test rax, rax
je 0x140090ad7
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rbp + 0xd0], eax
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xe0], rax
lea rax, [0x140203470]
mov qword [rbp + 0xe8], rax
lea rax, str.Failed_to_duplicate_SYSTEM_token._Error:
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x138], 0
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], 1
lea rcx, [0x1402ad8e8]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], 4
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], 4
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x118]
lea r8, [rbp + 0xf0]
mov edx, 1
xor r9d, r9d
call fcn.1401a7b20
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x140090b15
call fcn.140203920
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], edx
test edx, edx
sete cl
test rax, rax
sete al
or al, cl
jne 0x140090b15
lea rcx, [rbp + 0x118]
call fcn.14010c210
call fcn.140203920
mov qword [rsi], rax
mov dword [rsi + 8], edx
mov rdx, qword [rbp + 0x90]
test rdx, rdx
je 0x140090b41
mov rcx, qword [rbp + 0x98]
add rdx, rdx
mov r8d, 2
call fcn.1400fcbd0
mov rax, rsi
add rsp, 0x1d8
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.140203920
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0xb8], edx
test edx, edx
je 0x140090591
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0xd8], edx
mov rax, qword [rbx]
test rax, rax
je 0x140090c35
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xe0], rax
lea rax, [0x140203d70]
mov qword [rbp + 0xe8], rax
lea rax, str.Failed_to_set_session_ID_on_the_token._Error:
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x138], 0
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], 1
lea rcx, [0x1402ad790]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], 4
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], 4
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x118]
lea r8, [rbp + 0xf0]
mov edx, 1
xor r9d, r9d
call fcn.1401a7b20
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x140090c73
call fcn.140203920
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], edx
test edx, edx
sete cl
test rax, rax
sete al
or al, cl
jne 0x140090c73
lea rcx, [rbp + 0x118]
call fcn.14010c210
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x140090cb1
call fcn.140203920
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], edx
test edx, edx
sete cl
test rax, rax
sete al
or al, cl
jne 0x140090cb1
lea rcx, [rbp + 0x118]
call fcn.14010c210
mov rax, qword [rbp + 0xd0]
mov ecx, dword [rbp + 0xd8]
mov qword [rsi], rax
mov dword [rsi + 8], ecx
jmp 0x140090b20
mov byte [rbp + 0x14f], 1
call fcn.140203920
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], edx
test edx, edx
je 0x140090689
test rax, rax
je 0x140090d02
mov byte [rbp + 0x14f], 1
lea rcx, [rbp + 0x118]
call fcn.14010c210
mov rax, qword [rbx]
test rax, rax
je 0x140090dda
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rbp + 0xd0], eax
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xe0], rax
lea rax, [0x140203470]
mov qword [rbp + 0xe8], rax
lea rax, str.Failed_to_create_terminal_process._Error:
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x138], 0
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], 1
mov byte [rbp + 0x14f], 1
lea rcx, [0x1402ad890]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], 4
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], 4
mov qword [rbp + 0x110], rax
mov byte [rbp + 0x14f], 1
lea rcx, [rbp + 0x118]
lea r8, [rbp + 0xf0]
mov edx, 1
xor r9d, r9d
call fcn.1401a7b20
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x140090e26
mov byte [rbp + 0x14f], 1
call fcn.140203920
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], edx
test edx, edx
sete cl
test rax, rax
sete al
or al, cl
jne 0x140090e26
mov byte [rbp + 0x14f], 1
lea rcx, [rbp + 0x118]
call fcn.14010c210
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x140090e72
mov byte [rbp + 0x14f], 1
call fcn.140203920
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], edx
test edx, edx
sete cl
test rax, rax
sete al
or al, cl
jne 0x140090e72
mov byte [rbp + 0x14f], 1
lea rcx, [rbp + 0x118]
call fcn.14010c210
mov byte [rbp + 0x14f], 1
call fcn.140203920
mov qword [rsi], rax
mov dword [rsi + 8], edx
cmp dword [rbp + 0xb8], 0
je 0x140090b20
cmp qword [rbp + 0xb0], 0
je 0x140090b20
lea rcx, [rbp + 0xb0]
call fcn.14010c210
jmp 0x140090b20