Function at 0x140077d20
Capabilities:
Contain obfuscated stackstrings
Delete registry key
Encode data using xor
Unload driver

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rdi, rcx
mov dword [rsp + 0x40], 0x569e5687
mov dword [rsp + 0x44], 0x5680568f
mov dword [rsp + 0x48], 0x56c05681
mov dword [rsp + 0x4c], 0x569c568b
mov dword [rsp + 0x50], 0x569d
xor r15d, r15d
mov edx, r15d
mov r14d, 0x56e9
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
lea eax, [r14 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 9
jb 0x140077d80
mov word [rsp + 0x52], r15w
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400781da
mov dword [rsp + 0x60], 0x56b856b5
mov dword [rsp + 0x64], 0x568b568e
mov dword [rsp + 0x68], 0x569d5684
mov dword [rsp + 0x6c], 0x5682569b
mov dword [rsp + 0x70], 0x56ae5688
mov dword [rsp + 0x74], 0x569556be
mov dword [rsp + 0x78], 0x569e5696
mov dword [rsp + 0x7c], 0x5696569e
mov dword [rbp - 0x80], 0x56a6569c
mov dword [rbp - 0x7c], 0x568556a8
mov dword [rbp - 0x78], 0x568a568e
mov dword [rbp - 0x74], 0x576d569a
mov dword [rbp - 0x70], 0x5741575d
mov dword [rbp - 0x6c], 0x57765776
mov dword [rbp - 0x68], 0x57635777
mov dword [rbp - 0x64], 0x577c5769
mov dword [rbp - 0x60], 0x5765574a
mov dword [rbp - 0x5c], 0x57785765
mov dword [rbp - 0x58], 0x5761577f
mov dword [rbp - 0x54], 0x57435763
mov dword [rbp - 0x50], 0x57665774
mov dword [rbp - 0x4c], 0x5747574f
mov dword [rbp - 0x48], 0x57645770
mov dword [rbp - 0x44], 0x57715761
mov dword [rbp - 0x40], 0x577f577a
mov dword [rbp - 0x3c], 0x57405768
xor eax, eax
mov word [rbp - 0x38], ax
mov edx, r15d
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x60]
lea rcx, [rcx + rax*2]
lea eax, [r14 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 0x34
jb 0x140077e80
mov word [rbp - 0x38], r15w
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
nop
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x140077eb0
mov rdx, qword [rdi + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x140078201
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x140077ee4
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.140068710
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rsp + 0x60], 0x56b356ba
mov dword [rsp + 0x64], 0x56b856b8
mov dword [rsp + 0x68], 0x56a356a8
mov dword [rsp + 0x6c], 0x56b356b3
mov dword [rsp + 0x70], 0x56805684
mov dword [rsp + 0x74], 0x56915681
mov dword [rsp + 0x78], 0x5682569b
mov dword [rsp + 0x7c], 0x569756b4
mov dword [rbp - 0x80], 0x568e5697
mov dword [rbp - 0x7c], 0x56935689
mov dword [rbp - 0x78], 0x56ad5691
mov dword [rbp - 0x74], 0x5774569a
mov dword [rbp - 0x70], 0x5751575d
mov dword [rbp - 0x6c], 0x57765766
mov dword [rbp - 0x68], 0x576f5773
mov dword [rbp - 0x64], 0x576d5764
mov dword [rbp - 0x60], 0x5756577a
xor eax, eax
mov word [rbp - 0x5c], ax
mov edx, r15d
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x60]
lea rcx, [rcx + rax*2]
lea eax, [r14 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 0x22
jb 0x140077fb0
mov word [rbp - 0x5c], r15w
lea rax, [rsp + 0x60]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140077fd4
mov rax, qword [rdi + 0x10]
sub rsi, rax
cmp rsi, rbx
jb 0x140078207
cmp qword [rdi + 0x18], 8
jb 0x140077ff8
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.140068710
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea r8, [rbp + 0x58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x140078043
cmp eax, 2
sete bl
jmp 0x14007814a
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov ebx, eax
movdqa xmm0, xmmword [0x1400be100]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1400bd680]
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, r15d
nop dword [rax + rax]
movsxd rcx, r8d
lea rdx, [rsp + 0x40]
add rdx, rcx
lea ecx, [r8 - 0x17]
xor byte [rdx], cl
inc r8d
cmp r8d, 0x1f
jb 0x140078080
mov byte [rsp + 0x5f], 0
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.14006fb10
test ebx, ebx
je 0x140078125
movdqa xmm0, xmmword [0x1400be270]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x9dbdda9d
mov dword [rsp + 0x54], 0x649a9294
mov dword [rsp + 0x58], 0x92320
mov eax, r15d
nop dword [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
add rdx, rcx
lea ecx, [rax - 0x17]
xor byte [rdx], cl
inc eax
cmp eax, 0x1b
jb 0x1400780e0
mov byte [rsp + 0x5b], 0
lea rcx, [rsp + 0x40]
call fcn.14006fb10
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
xor bl, bl
jmp 0x14007814a
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x140078148
xor bl, bl
jmp 0x14007814a
mov bl, 1
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14007818a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078185
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007820d
call fcn.14007a00c
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1400781d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400781d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400781fb
call fcn.14007a00c
movzx eax, bl
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
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.140089c44
int3
call fcn.140006ca0
nop
call fcn.140006ca0
nop
call fcn.140089c44
int3