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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4c0
mov rax, qword [0x14006f010]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x5c]
call fcn.14003bf60
mov rcx, rax
call fcn.1400484e0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rsp + 0x320]
mov qword [rsp + 0xc0], rax
movzx edx, byte [rsp + 0x5d]
mov rcx, qword [rsp + 0xc0]
call fcn.14001a1b0
nop
lea rax, [0x14006a601]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x14003b75d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov r8, qword [rsp + 0xd8]
lea rdx, [0x14006a601]
lea rcx, [rsp + 0x320]
call fcn.14001a260
nop
lea rax, [rsp + 0x3a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x3a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x258]
call fcn.14001a0f0
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x320]
call fcn.140053970
lea rcx, [rsp + 0x258]
call fcn.1400541f0
mov r8, 0xffffffffffffffff
lea rdx, [0x14006a650]
lea rcx, [rsp + 0x320]
call fcn.1400532b0
inc rax
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x5e]
mov qword [rsp + 0x20], rax
mov r9, 0xffffffffffffffff
mov r8, qword [rsp + 0xe8]
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x238]
call fcn.140054590
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x238]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x320]
call fcn.140053970
lea rcx, [rsp + 0x238]
call fcn.1400541f0
lea rcx, [rsp + 0x5f]
call fcn.14003c060
mov rcx, rax
call fcn.14004ef30
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0xf8], rax
movzx edx, byte [rsp + 0x60]
mov rcx, qword [rsp + 0xf8]
call fcn.14001a1b0
nop
mov rax, qword [rsp + 0xa8]
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 0x14003b8ff
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]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x1d8]
call fcn.14001a260
nop
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x320]
call fcn.1400538d0
nop
lea rcx, [rsp + 0x1d8]
call fcn.1400541f0
lea rcx, [rsp + 0x61]
call fcn.14003c190
mov rcx, rax
call fcn.140048450
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [rsp + 0x320]
mov rcx, rax
call fcn.14000e830
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [rsp + 0x360]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov dword [rsp + 0x318], 0x40
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x360]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0x340]
call fcn.14001a0f0
nop
lea rcx, [rsp + 0x62]
call fcn.14003c290
mov rcx, rax
call fcn.1400483c0
mov rdx, rax
lea rcx, [rsp + 0x278]
call fcn.14001a0f0
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x138], rax
lea rdx, [rsp + 0x340]
mov rcx, qword [rsp + 0x138]
call fcn.140053bb0
mov qword [rsp + 0x88], rax
lea rdx, [0x14006a601]
lea rcx, [rsp + 0x1f8]
call fcn.14001a0f0
mov qword [rsp + 0x1c8], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x54], 0
jmp 0x14003bac3
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x140], rax
movsxd rax, dword [rsp + 0x54]
cmp rax, qword [rsp + 0x140]
jae 0x14003bbb9
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0x10
jb 0x14003bb23
mov dword [rsp + 0x68], 1
jmp 0x14003bb2b
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x14003bb60
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x150], rax
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
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 + 0x1f8]
call fcn.140053790
jmp 0x14003bab9
mov rcx, qword [rsp + 0x88]
call fcn.1400541f0
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x170], rax
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
call fcn.140057880
mov byte [rsp + 0x40], al
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x1f8]
call fcn.1400541f0
nop
lea rcx, [rsp + 0x278]
call fcn.1400541f0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14003bc55
xor eax, eax
cmp eax, 1
je 0x14003bc55
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x360]
xor eax, 2
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x360], al
jmp 0x14003bc28
lea rcx, [rsp + 0x63]
call fcn.14003c390
mov rcx, rax
call fcn.140048330
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.14001a0f0
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x188], rax
lea rdx, [rsp + 0x340]
mov rcx, qword [rsp + 0x188]
call fcn.140053bb0
mov qword [rsp + 0x98], rax
lea rdx, [0x14006a601]
lea rcx, [rsp + 0x218]
call fcn.14001a0f0
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x58], 0
jmp 0x14003bd07
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x190], rax
movsxd rax, dword [rsp + 0x58]
cmp rax, qword [rsp + 0x190]
jae 0x14003bdfd
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 0x10
jb 0x14003bd67
mov dword [rsp + 0x6c], 1
jmp 0x14003bd6f
mov dword [rsp + 0x6c], 0
movzx eax, byte [rsp + 0x6c]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14003bda4
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1a0], rax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
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 + 0x218]
call fcn.140053790
jmp 0x14003bcfd
mov rcx, qword [rsp + 0x98]
call fcn.1400541f0
lea rax, [rsp + 0x218]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1c0], rax
mov rdx, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x1c0]
call fcn.140057880
mov byte [rsp + 0x50], al
and dword [rsp + 0x30], 0xfffffffb
lea rcx, [rsp + 0x218]
call fcn.1400541f0
nop
lea rcx, [rsp + 0x298]
call fcn.1400541f0
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14003be99
xor eax, eax
cmp eax, 1
je 0x14003be99
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x360]
xor eax, 3
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x360], al
jmp 0x14003be6c
lea rcx, [rsp + 0x64]
call fcn.14003c4a0
mov rcx, rax
call fcn.1400482a0
mov rdx, rax
lea rcx, [rsp + 0x2b8]
call fcn.14001a0f0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x340]
call fcn.140057880
mov byte [rsp + 0x51], al
lea rcx, [rsp + 0x2b8]
call fcn.1400541f0
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14003bf1f
xor eax, eax
cmp eax, 1
je 0x14003bf1f
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x360]
xor eax, 4
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x360], al
jmp 0x14003bef2
lea rcx, [rsp + 0x340]
call fcn.1400541f0
nop
lea rcx, [rsp + 0x320]
call fcn.1400541f0
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.14005c1a0
add rsp, 0x4c0
pop rdi
ret