Function at 0x1400c9d40
Capabilities:
Execute command
Get session user name
Set console window title

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4f0
mov rax, qword [0x140128010]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x53]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x53]
call fcn.1400ca750
mov rcx, rax
call fcn.1400d6190
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rsp + 0x350]
movzx edx, byte [rsp + 0x5c]
mov rcx, rax
call fcn.1400e1b50
nop
lea rax, [0x14011f5d1]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x1400c9dc1
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov r8, qword [rsp + 0xf8]
lea rdx, [0x14011f5d1]
lea rcx, [rsp + 0x350]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x3d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x3d0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rsp + 0x208]
movzx edx, byte [rsp + 0x5d]
mov rcx, rax
call fcn.1400e1b50
nop
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x78]
cmp byte [rax + rcx], 0
jne 0x1400c9e6c
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov r8, qword [rsp + 0x110]
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x208]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x208]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x350]
call fcn.1400df1b0
lea rcx, [rsp + 0x208]
call fcn.1400dfb60
mov r8, 0xffffffffffffffff
lea rdx, [0x14011f620]
lea rcx, [rsp + 0x350]
call fcn.1400deb90
inc rax
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x5e]
mov qword [rsp + 0x20], rax
mov r9, 0xffffffffffffffff
mov r8, qword [rsp + 0x120]
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x2a8]
call fcn.1400e0010
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x350]
call fcn.1400df1b0
lea rcx, [rsp + 0x2a8]
call fcn.1400dfb60
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x34]
call fcn.1400ca850
mov rcx, rax
call fcn.1400dc910
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x228]
movzx edx, byte [rsp + 0x5f]
mov rcx, rax
call fcn.1400e1b50
nop
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x80], 0xffffffffffffffff
inc qword [rsp + 0x80]
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x80]
cmp byte [rax + rcx], 0
jne 0x1400c9fdf
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x228]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x228]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, rax
call fcn.1400e01e0
mov rcx, qword [rsp + 0xc8]
mov r8, qword [rcx + 0x10]
mov rdx, rax
lea rcx, [rsp + 0x350]
call fcn.1400dfd40
nop
lea rcx, [rsp + 0x228]
call fcn.1400dfb60
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x35]
call fcn.1400ca970
mov rcx, rax
call fcn.1400d6100
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [rsp + 0x350]
mov rcx, rax
call fcn.1400e01e0
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [rsp + 0x390]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov dword [rsp + 0x348], 0x40
lea rdx, [rsp + 0x348]
lea rcx, [rsp + 0x390]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rax, [rsp + 0x370]
movzx edx, byte [rsp + 0x60]
mov rcx, rax
call fcn.1400e1b50
nop
lea rax, [rsp + 0x390]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x88], 0xffffffffffffffff
inc qword [rsp + 0x88]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x88]
cmp byte [rax + rcx], 0
jne 0x1400ca13e
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0x160]
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0x370]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x308]
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x36]
call fcn.1400caa60
mov rcx, rax
call fcn.1400d6070
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x268]
movzx edx, byte [rsp + 0x61]
mov rcx, rax
call fcn.1400e1b50
nop
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x90], 0xffffffffffffffff
inc qword [rsp + 0x90]
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x90]
cmp byte [rax + rcx], 0
jne 0x1400ca207
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov r8, qword [rsp + 0x178]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x268]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x268]
mov qword [rsp + 0x1a8], rax
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0x180]
call fcn.1400df490
mov qword [rsp + 0xa0], rax
lea rdx, [0x14011f5d1]
lea rcx, [rsp + 0x248]
call fcn.1400df350
mov qword [rsp + 0x1f8], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x54], 0
jmp 0x1400ca2cb
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x188], rax
movsxd rax, dword [rsp + 0x54]
cmp rax, qword [rsp + 0x188]
jae 0x1400ca3c1
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x18], 0x10
jb 0x1400ca32b
mov dword [rsp + 0x64], 1
jmp 0x1400ca333
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x37], al
movzx eax, byte [rsp + 0x37]
test eax, eax
je 0x1400ca368
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x198], rax
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x198]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsp + 0x38], al
movzx edx, byte [rsp + 0x38]
lea rcx, [rsp + 0x248]
call fcn.1400dfc80
jmp 0x1400ca2c1
mov rcx, qword [rsp + 0xa0]
call fcn.1400dfb60
lea rax, [rsp + 0x248]
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400e2cc0
mov byte [rsp + 0x40], al
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x248]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x268]
call fcn.1400dfb60
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400ca44d
xor eax, eax
cmp eax, 1
je 0x1400ca44d
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x390]
xor eax, 2
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x390], al
jmp 0x1400ca420
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x328]
mov qword [rsp + 0x1c0], rax
lea rcx, [rsp + 0x41]
call fcn.1400cab60
mov rcx, rax
call fcn.1400d5fe0
mov rdx, rax
lea rcx, [rsp + 0x2c8]
call fcn.1400df350
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1e8], rax
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0x1c0]
call fcn.1400df490
mov qword [rsp + 0xb0], rax
lea rdx, [0x14011f5d1]
lea rcx, [rsp + 0x288]
call fcn.1400df350
mov qword [rsp + 0x200], rax
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x58], 0
jmp 0x1400ca500
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x1c8], rax
movsxd rax, dword [rsp + 0x58]
cmp rax, qword [rsp + 0x1c8]
jae 0x1400ca5f6
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rax + 0x18], 0x10
jb 0x1400ca560
mov dword [rsp + 0x68], 1
jmp 0x1400ca568
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x1400ca59d
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x1d8], rax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1d8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsp + 0x48], al
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x288]
call fcn.1400dfc80
jmp 0x1400ca4f6
mov rcx, qword [rsp + 0xb0]
call fcn.1400dfb60
lea rax, [rsp + 0x288]
mov qword [rsp + 0x1f0], rax
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1f0]
call fcn.1400e2cc0
mov byte [rsp + 0x50], al
and dword [rsp + 0x30], 0xfffffffb
lea rcx, [rsp + 0x288]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x2c8]
call fcn.1400dfb60
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1400ca682
xor eax, eax
cmp eax, 1
je 0x1400ca682
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x390]
xor eax, 3
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x390], al
jmp 0x1400ca655
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x51]
call fcn.1400cac60
mov rcx, rax
call fcn.1400d5f50
mov rdx, rax
lea rcx, [rsp + 0x2e8]
call fcn.1400df350
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x370]
call fcn.1400e2cc0
mov byte [rsp + 0x52], al
lea rcx, [rsp + 0x2e8]
call fcn.1400dfb60
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x1400ca719
xor eax, eax
cmp eax, 1
je 0x1400ca719
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x390]
xor eax, 4
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x390], al
jmp 0x1400ca6ec
lea rcx, [rsp + 0x370]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x350]
call fcn.1400dfb60
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1400e6d70
add rsp, 0x4f0
pop rdi
ret