Function at 0x14008e5a0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x9e0]
sub rsp, 0xae0
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
mov rbx, qword [0x140268238]
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1d0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbx + 0xd30]
lea rdx, str.host_token_s
lea rcx, [rbp + 0x1d0]
call fcn.14008d4f0
xor r12d, r12d
mov qword [rsp + 0x68], r12
mov dword [0x140267d58], r12d
cmp qword [0x140268130], r12
je 0x14008e62b
call fcn.14009df50
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x1d0]
lea rdx, str._api_v1_user_logout
mov rcx, rbx
call fcn.14008e1d0
mov r14d, eax
mov r15, qword [rsp + 0x68]
test eax, eax
jne 0x14008e9c5
lea rax, vtable.Json::CharReaderBuilder.0
mov qword [rsp + 0x70], rax
mov byte [rbp - 0x80], r14b
and dword [rbp - 0x80], 0xfffffeff
mov qword [rbp - 0x78], r12
lea rcx, [rsp + 0x78]
call fcn.14007cf30
nop
lea rcx, [rsp + 0x70]
call fcn.14007cc60
mov rsi, rax
and dword [rsp + 0x58], 0xfffffe00
mov qword [rsp + 0x60], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], r14b
mov rdi, qword [rax]
mov r8, qword [rbp - 0x70]
add r8, r15
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov rdx, r15
mov rcx, rsi
call qword [rdi + reloc.WS2_32.dll_htonl]
cmp byte [rsp + 0x58], 7
jne 0x14008e735
lea r8, [0x1402478d9]
lea rdx, str.error
lea rcx, [rsp + 0x50]
call fcn.14007f7c0
test rax, rax
je 0x14008e706
mov r14d, 0xffffffff
jmp 0x14008e7e5
cmp byte [rsp + 0x58], 7
jne 0x14008e735
lea r8, [0x140247857]
lea rdx, str.message
lea rcx, [rsp + 0x50]
call fcn.14007f7c0
test rax, rax
je 0x14008e735
mov r14d, 0xfffffffe
jmp 0x14008e7e5
mov qword [rbp - 0x40], 0xffffffff80000002
lea r8, str.SOFTWAREMonectPCRemoteReceiver
mov edx, 0x100
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14008e7ab
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x14008e7c8
lea rdx, str.UCode
mov rcx, r8
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8, qword [rbp - 0x38]
mov rdi, rbx
xor eax, eax
mov ecx, 0x9e0
rep stosb byte [rdi], al
mov r14d, r12d
test r8, r8
je 0x14008e7e5
mov rcx, r8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14008e831
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e82c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e82c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d0398
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
movsx ecx, byte [rsp + 0x58]
sub ecx, 4
je 0x14008e8e5
sub ecx, 2
je 0x14008e85d
cmp ecx, 1
jne 0x14008e8fa
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x14008e8fa
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
cmp byte [rbx + 0x19], 0
jne 0x14008e8c9
nop dword [rax + rax]
mov r8, qword [rbx + 0x10]
mov rdx, rsi
mov rcx, rsi
call fcn.140084fb0
mov rdi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x30]
call fcn.14007e3b0
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14008e8b6
mov eax, dword [rdi + 0x28]
and al, 3
cmp al, 1
jne 0x14008e8b6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x48
mov rcx, rdi
call fcn.1401d0398
cmp byte [rbx + 0x19], 0
je 0x14008e880
mov edx, 0x48
mov rcx, qword [rsi]
call fcn.1401d0398
mov edx, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.1401d0398
jmp 0x14008e8fa
test dword [rsp + 0x58], 0x100
je 0x14008e8fa
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14008e931
lea r9, [0x14007e030]
mov r8, qword [rdi - 8]
mov edx, 8
mov rcx, rdi
call fcn.1401d0670
lea rcx, [rdi - 8]
mov rdx, qword [rcx]
lea rdx, [rdx*8 + 8]
call fcn.1401d05f8
nop
movsx ecx, byte [rbp - 0x80]
sub ecx, 4
je 0x14008e97c
sub ecx, 2
je 0x14008e944
cmp ecx, 1
jne 0x14008e990
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14008e990
mov r8, qword [rdi]
mov r8, qword [r8 + 8]
mov rdx, rdi
mov rcx, rdi
call fcn.140084fb0
mov edx, 0x48
mov rcx, qword [rdi]
call fcn.1401d0398
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.1401d0398
jmp 0x14008e990
test dword [rbp - 0x80], 0x100
je 0x14008e990
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14008e9c5
lea rdi, [rcx - 8]
lea r9, [0x14007e030]
mov r8, qword [rdi]
mov edx, 8
call fcn.1401d0670
mov rdx, qword [rdi]
lea rdx, [rdx*8 + 8]
mov rcx, rdi
call fcn.1401d05f8
nop
test r15, r15
je 0x14008e9d3
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, r14d
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.1401d0310
lea r11, [rsp + 0xae0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret