Function at 0x140033080
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x428]
sub rsp, 0x528
mov r15, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x210]
call fcn.14007e440
mov dword [rbp + 0x480], 0x104
xor r13d, r13d
mov dword [rbp + 0x478], r13d
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400330d8
mov rdx, qword [r15]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400334a3
lea rax, [rbp]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x14]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0xc]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 4]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x478]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x480]
lea rdx, [rbp + 0x210]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp + 0x478]
test eax, eax
je 0x1400334a3
mov r12d, r13d
lea rdi, str.Device_Parameters
nop
mov dword [rbp + 0x488], 0xff
lea rax, [rbp]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x488]
lea r8, [rbp + 0x10]
mov edx, r12d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140033493
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r13w
lea r8d, [rax + 1]
lea rdx, [0x1400a7a34]
lea rcx, [rbp - 0x38]
call fcn.14000ad50
nop
mov r8, r15
cmp qword [r15 + 0x18], 8
jb 0x1400331fa
mov r8, qword [r15]
mov r9, qword [r15 + 0x10]
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.14005fcd0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140033240
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x58]
call fcn.1400272a0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400332c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400332c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033510
call fcn.14007bbb4
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r13w
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140033318
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033313
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033504
call fcn.14007bbb4
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r13w
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
lea r11, [rsp + 0x68]
mov rbx, qword [rsp + 0x68]
mov r14, qword [rbp - 0x80]
cmp r14, 8
cmovae r11, rbx
mov rsi, qword [rsp + 0x78]
cmp rsi, 0x11
jb 0x1400333c4
lea r10, [rsi - 0x10]
lea r10, [r11 + r10*2]
mov rax, r11
mov rcx, r10
sub rcx, rax
sar rcx, 1
je 0x1400333c4
cmp word [rax], 0x44
je 0x14003338d
add rax, 2
sub rcx, 1
jmp 0x14003337b
mov r8d, 0x11
mov rdx, rdi
mov r9, rax
sub r9, rdi
nop dword [rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x1400333f4
add rdx, 2
sub r8, 1
jne 0x1400333a0
sub rax, r11
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x1400334cb
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
lea rdi, [rsp + 0x68]
cmp r14, 8
cmovae rdi, rbx
cmp rsi, 8
jae 0x1400333fd
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x60], 7
jmp 0x14003343d
add rax, 2
jmp 0x140033372
mov rbx, rsi
or rbx, 7
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
cmova rbx, r14
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x78]
call fcn.14000ace0
mov qword [rbp - 0x78], rax
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.14007dab0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x68], rsi
lea rcx, [rbp - 0x78]
call fcn.140033080
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14003348c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033487
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003350a
call fcn.14007bbb4
lea rdi, str.Device_Parameters
inc r12d
cmp r12d, dword [rbp + 0x478]
jb 0x140033180
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, r15
call fcn.14000a970
add rsp, 0x528
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp r14, 8
jb 0x1400334a3
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400334fa
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003350a
mov rcx, rbx
call fcn.14007bbb4
jmp 0x1400334a3
call fcn.140082148
nop
call fcn.140082148
nop
call fcn.140082148
int3