Function at 0x140002560
Capabilities:
Execute command
Self delete

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, 0x35
lea rdx, str.cmdkey__list__findstr__LegacyGeneric:targetXblGrts_
lea rcx, [rsp + 0x68]
call fcn.140004c10
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rcx, qword [rsp + 0x68]
lea rdx, [0x140007740]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov r12, rax
test rax, rax
jne 0x140002611
lea rdx, str.Failed_to_list_Xbl_credentials
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400045f0
mov rcx, rax
lea rdx, [0x1400047d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140002888
mov r8, r12
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14000287e
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002650
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.140004c10
nop
mov r14, qword [rsp + 0x58]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0xf
jb 0x140002905
lea r15, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova r15, qword [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
lea rsi, [r14 + 0xf]
mov ebx, 0xf
lea rdi, [rsp + 0x28]
cmp rsi, rbx
jbe 0x14000273a
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400026dd
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000270e
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400026f8
mov rdi, r13
jmp 0x140002735
cmp rcx, 0x1000
jb 0x14000272d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000290b
mov rcx, rax
call fcn.1400056b0
test rax, rax
je 0x1400028c2
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002735
call fcn.1400056b0
mov rdi, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rbx
movsd xmm0, qword [str.cmdkey__delete:]
movsd qword [rdi], xmm0
mov ecx, dword [0x1400077a0]
mov dword [rdi + 8], ecx
movzx eax, word [0x1400077a4]
mov word [rdi + 0xc], ax
movzx eax, byte [0x1400077a6]
mov byte [rdi + 0xe], al
lea rcx, [rdi + 0xf]
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.Removed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400045f0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140005180
lea rdx, [0x1400047d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140002817
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002812
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028c2
call fcn.1400056ec
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140002863
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000285e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028c9
call fcn.1400056ec
mov r8, r12
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140002630
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400028d5
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400056ec
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140005690
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011b0
nop
call fcn.140001110
int3