Function at 0x1400068f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x14027b090]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
lea ecx, [rdi + 0x40]
call fcn.140100e60
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], gethostname
mov qword [rbp - 0x41], 0x3f
movups xmm0, xmmword [str.RegistryMachineSystemCurrentControlSetServices_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140115de8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140115df8]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x140115e08]
mov dword [rax + 0x30], ecx
mov byte [rax + 0x34], dil
lea rbx, [0x14027b2b8]
mov rdx, rbx
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x14027b2b8]
mov r8, qword [0x14027b2c8]
lea rcx, [rbp - 0x59]
call fcn.14000b470
mov r14d, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r14 + rcx]
cmp dword [0x14027d088], eax
jle 0x140006a0a
lea rcx, [0x14027d088]
call fcn.140100f88
cmp dword [0x14027d088], 0xffffffff
jne 0x140006a0a
lea rcx, [0x140115e20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUnloadDriver
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14027d078], rax
lea rcx, [0x14027d088]
call fcn.140100f1c
cmp qword [0x14027d078], 0
je 0x140006c89
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x79]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp - 0x69]
call qword [0x14027d078]
mov esi, eax
lea rcx, [rbp + 0x27]
call fcn.140005720
nop
lea rdx, [rbp + 7]
mov rcx, rax
call fcn.140005080
nop
mov rdx, rbx
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x14027b2b8]
mov r8, qword [0x14027b2c8]
mov rcx, rax
call fcn.14000b470
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 7]
call fcn.1400042c0
nop
lea rcx, [rbp + 0x27]
call fcn.14000bed0
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r14 + rcx]
cmp dword [0x14027d018], eax
jle 0x140006b7b
lea rcx, [0x14027d018]
call fcn.140100f88
cmp dword [0x14027d018], 0xffffffff
jne 0x140006b7b
xorps xmm0, xmm0
movups xmmword [0x14027d020], xmm0
mov qword [0x14027d030], rdi
mov qword [0x14027d038], 0xf
mov ecx, Ordinal_50
call fcn.140100e60
mov qword [0x14027d020], rax
mov qword [0x14027d030], 0x22
mov qword [0x14027d038], 0x2f
movups xmm0, xmmword [str.SystemCurrentControlSetServices_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140115d58]
movups xmmword [rax + 0x10], xmm1
movzx edx, word [0x140115d68]
mov word [rax + 0x20], dx
mov byte [rax + 0x22], 0
lea rcx, [0x140105f10]
call fcn.140101238
nop
lea rcx, [0x14027d018]
call fcn.140100f1c
lea rdx, [0x14027d020]
cmp qword [0x14027d038], 0x10
cmovae rdx, qword [0x14027d020]
lea r8, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [0x14027b2b8]
mov rdx, rbx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140006bda
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140006bda
mov dil, 1
jmp 0x140006bdd
xor dil, dil
lea rax, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rax, qword [rbp - 0x39]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x29]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x19]
call fcn.14000eb00
nop
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.140100aa8
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x140006cf5
lea rcx, [rbp - 0x19]
call fcn.14000bed0
test esi, esi
jne 0x140006c47
test dil, dil
je 0x140006c47
test bl, bl
je 0x140006c47
mov bl, 1
jmp 0x140006c49
xor bl, bl
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140006c8b
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006c82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140100ea4
jmp 0x140006c8b
xor bl, bl
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x140006cc9
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006cc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006cc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140100ea4
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140100e40
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
shr rbx, 0x20
lea r8, [rbp - 0x19]
mov edx, ebx
lea rcx, [0x140115c84]
call fcn.140005650
int3