Function at 0x140070880
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x100
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbp, rdx
mov rsi, rcx
lea r13, vtable.StringStorage.0
mov qword [rsp + 0x58], r13
mov ecx, 8
call fcn.1400797fc
xor r12d, r12d
test rax, rax
je 0x1400708d5
lea rcx, [rsp + 0x60]
mov qword [rax], rcx
jmp 0x1400708d8
mov rax, r12
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], r12
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400d1b20]
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.14002bfc0
mov rdx, qword [rsp + 0x80]
mov rbx, rdx
mov rdi, qword [rsp + 0x78]
sub rbx, rdi
sar rbx, 1
add rbx, rbx
cmp rdi, rdx
jbe 0x140070938
call fcn.1400796a8
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x14007094c
call fcn.1400796a8
mov rdx, r12
jmp 0x14007094f
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x14007095a
call fcn.1400796a8
mov r8, rbx
lea rdx, [0x1400d1b20]
mov rcx, rdi
call fcn.14007ad70
nop
mov qword [rsp + 0x20], r13
mov ecx, 8
call fcn.1400797fc
test rax, rax
je 0x14007098b
lea rcx, [rsp + 0x28]
mov qword [rax], rcx
jmp 0x14007098e
mov rax, r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400d1b20]
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.14002bfc0
mov rdx, qword [rsp + 0x48]
mov rbx, rdx
mov rdi, qword [rsp + 0x40]
sub rbx, rdi
sar rbx, 1
add rbx, rbx
cmp rdi, rdx
jbe 0x1400709e5
call fcn.1400796a8
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x1400709f9
call fcn.1400796a8
mov rdx, r12
jmp 0x1400709fc
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x140070a07
call fcn.1400796a8
mov r8, rbx
lea rdx, [0x1400d1b20]
mov rcx, rdi
call fcn.14007ad70
nop
lea r8, [rsp + 0x58]
mov rdx, rbp
mov rcx, rsi
call fcn.140070400
lea r8, [rsp + 0x20]
mov rdx, rbp
mov rcx, rsi
call fcn.1400705a0
mov rbx, qword [rsp + 0x78]
cmp rbx, qword [rsp + 0x80]
jbe 0x140070a4e
call fcn.1400796a8
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x140070a62
call fcn.1400796a8
mov rdx, r12
jmp 0x140070a65
mov rdx, qword [rax]
cmp rbx, qword [rdx + 0x20]
jb 0x140070a70
call fcn.1400796a8
mov rdi, qword [rsi + 8]
lea rbp, vtable.RegistryKey.0
mov qword [rsp + 0x90], rbp
lea rcx, [rsp + 0xa8]
call fcn.14002e130
nop
mov rax, qword [rdi + 8]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x98], r12
mov rdx, rbx
lea rcx, [rsp + 0xa8]
mov rax, qword [rsp + 0xa8]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xc8]
sub rdx, rdi
sar rdx, 1
cmp rdx, 1
je 0x140070b13
mov edx, 0x5c
lea rcx, [rsp + 0xa8]
call fcn.14002e3d0
test al, al
jne 0x140070b0b
lea rdx, [0x1400d26a4]
lea rcx, [rsp + 0xa8]
call fcn.14002e5d0
mov rdi, qword [rsp + 0xc8]
jmp 0x140070b13
mov rdi, qword [rsp + 0xc8]
cmp rdi, qword [rsp + 0xd0]
jbe 0x140070b22
call fcn.1400796a8
mov rax, qword [rsp + 0xb0]
test rax, rax
jne 0x140070b39
call fcn.1400796a8
mov r11, r12
jmp 0x140070b3c
mov r11, qword [rax]
cmp rdi, qword [r11 + 0x20]
jb 0x140070b47
call fcn.1400796a8
lea r8, [rsp + 0x98]
mov rdx, rdi
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
nop
mov rdi, qword [rsp + 0x40]
cmp rdi, qword [rsp + 0x48]
jbe 0x140070b72
call fcn.1400796a8
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x140070b86
call fcn.1400796a8
mov r11, r12
jmp 0x140070b89
mov r11, qword [rax]
cmp rdi, qword [r11 + 0x20]
jb 0x140070b94
call fcn.1400796a8
mov rdx, rdi
mov rcx, qword [rsi + 8]
call fcn.1400408f0
movzx ebx, al
mov rdi, qword [rsp + 0x40]
cmp rdi, qword [rsp + 0x48]
jbe 0x140070bb4
call fcn.1400796a8
mov rcx, qword [rsp + 0x28]
test rcx, rcx
jne 0x140070bc8
call fcn.1400796a8
mov rdx, r12
jmp 0x140070bcb
mov rdx, qword [rcx]
cmp rdi, qword [rdx + 0x20]
jb 0x140070bd6
call fcn.1400796a8
mov rcx, qword [rsp + 0x98]
test rcx, rcx
jne 0x140070be7
xor al, al
jmp 0x140070bfd
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
sete al
mov rcx, qword [rsp + 0x98]
test bl, bl
jne 0x140070c0a
test al, al
jne 0x140070c0a
xor dil, dil
jmp 0x140070c0d
mov dil, 1
mov qword [rsp + 0x90], rbp
test rcx, rcx
je 0x140070c32
cmp rcx, qword [rsp + 0xa0]
je 0x140070c2a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa8], r13
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140070c4c
call fcn.140078e60
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r12
mov rcx, qword [rsp + 0xb0]
call fcn.140078e60
nop
mov qword [rsp + 0x20], r13
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140070c86
call fcn.140078e60
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov rcx, qword [rsp + 0x28]
call fcn.140078e60
nop
mov qword [rsp + 0x58], r13
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140070cb4
call fcn.140078e60
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], r12
mov rcx, qword [rsp + 0x60]
call fcn.140078e60
mov al, dil
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret