Function at 0x140002170
Capabilities:
Execute command
Self delete

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 - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15, rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 0x3a
lea rdx, str.cmdkey__list__findstr__LegacyGeneric:targetWindowsLive:_
lea rcx, [rsp + 0x78]
call fcn.140004c10
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rcx, qword [rsp + 0x78]
lea rdx, [0x140007740]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov r13, rax
test rax, rax
jne 0x140002223
lea rdx, str.Failed_to_list_Windows_Live_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 0x1400024ca
mov r8, r13
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400024c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002260
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.140004c10
nop
mov r9, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140002286
mov r9, qword [r15]
lea rcx, [rsp + 0x38]
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
cmp rdi, 0xf
cmova rcx, rbx
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rsi, qword [rsp + 0x48]
mov rdx, rsi
call fcn.140004b40
cmp rax, 0xffffffffffffffff
jne 0x140002472
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 0xf
jb 0x140002547
lea r12, [rsp + 0x38]
cmp rdi, 0xf
cmova r12, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
lea r14, [rsi + 0xf]
mov ebx, 0xf
lea rdi, [rsp + 0x58]
cmp r14, rbx
jbe 0x140002387
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000232b
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000235b
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140002345
xor edi, edi
jmp 0x140002382
cmp rcx, 0x1000
jb 0x14000237a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000254d
mov rcx, rax
call fcn.1400056b0
test rax, rax
je 0x140002504
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002382
call fcn.1400056b0
mov rdi, rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 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, rsi
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
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 + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
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 + 0x70]
cmp rdx, 0xf
jbe 0x140002465
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002460
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002504
call fcn.1400056ec
xor r14d, r14d
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
cmp rdi, 0xf
jbe 0x1400024a5
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000249d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000250b
mov rcx, rbx
call fcn.1400056ec
mov r8, r13
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140002240
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140002517
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002512
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002512
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 + 0xa0]
xor rcx, rsp
call fcn.140005690
lea r11, [rsp + 0x1b0]
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 fcn.1400011b0
nop
call fcn.140001110
int3