Function at 0x140034420
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x4b0
mov rax, qword [0x1400e00c0]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
xor r12d, r12d
mov r13d, r12d
mov dword [rsp + 0x40], r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rsp + 0xe8], r12
lea rcx, [rsp + 0xf0]
call fcn.1400185f0
nop
lea r9d, [r12 + 1]
lea r8, [0x1400c1274]
lea rdx, str.amd.4g_
lea rcx, [rsp + 0xe8]
call fcn.140019560
nop
mov qword [rsp + 0x110], r12
lea rcx, [rsp + 0x118]
call fcn.1400185f0
nop
lea r9d, [r12 + 1]
lea r8, [0x1400c128e]
lea rdx, str.VEN_1002.
lea rcx, [rsp + 0x110]
call fcn.140019560
nop
mov qword [rsp + 0x248], r12
mov qword [rsp + 0x258], r12
mov qword [rsp + 0x260], 7
mov word [rsp + 0x248], r12w
lea r8d, [r12 + 0x22]
lea rdx, str.SYSTEMCurrentControlSetEnumPCI_
lea rcx, [rsp + 0x248]
call fcn.1400027d0
nop
mov qword [rsp + 0x268], r12
mov qword [rsp + 0x278], r12
mov qword [rsp + 0x280], 7
mov word [rsp + 0x268], r12w
lea r8d, [r12 + 0x21]
lea rdx, str.SYSTEMCurrentControlSetServices
lea rcx, [rsp + 0x268]
call fcn.1400027d0
nop
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x138]
call fcn.1400025c0
mov r9d, 0x20019
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x90]
call fcn.140033310
nop
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x90]
call fcn.140009000
nop
mov rdx, qword [rsp + 0xd8]
mov qword [rsp + 0xb8], rdx
mov r14, qword [rdx]
movabs rdi, 0x7ffffffffffffffe
mov r15, qword [rsp + 0x70]
mov qword [rsp + 0x88], r14
cmp r14, qword [rsp + 0xb8]
je 0x140034b35
lea rbx, [r14 + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400345ea
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
lea r8, [rcx + rax*2]
mov rcx, rbx
jb 0x1400345fa
mov rcx, qword [rbx]
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x110]
mov rdx, r8
call fcn.1400443d0
test al, al
je 0x140034b25
mov rcx, qword [rbx + 0x10]
mov rax, rdi
mov rdx, qword [rsp + 0x258]
sub rax, rdx
cmp rax, rcx
jb 0x14003500e
lea r9, [rsp + 0x248]
cmp qword [rsp + 0x260], 8
cmovae r9, qword [rsp + 0x248]
cmp qword [rbx + 0x18], 8
jb 0x140034659
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x98]
call fcn.140018a00
or r13d, 1
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae rdx, qword [rsp + 0x98]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, eax
test eax, eax
jne 0x140035014
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rax
or r13d, 6
mov dword [rsp + 0x40], r13d
mov rdx, qword [rsp + 0xb0]
cmp rdx, 8
jb 0x14003472b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034726
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035045
call fcn.140070654
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb0], 7
mov word [rsp + 0x98], r12w
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x60]
call fcn.140009000
nop
mov rdx, qword [rsp + 0xc8]
mov rdi, qword [rdx]
mov rax, rdx
mov qword [rsp + 0x48], rdx
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x80], rdi
cmp rdi, rax
je 0x140034af5
lea rdx, [rdi + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140034792
mov rdx, qword [rdx]
mov dword [rsp + 0x58], 0x104
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 2
lea r8, str.Service
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, eax
test eax, eax
jne 0x14003504b
mov qword [rsp + 0x1c8], r12
mov qword [rsp + 0x1d8], r12
mov qword [rsp + 0x1e0], 7
mov word [rsp + 0x1c8], r12w
lea rax, [rsp + 0x290]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140034810
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x1c8]
call fcn.1400027d0
or r13d, 8
mov dword [rsp + 0x40], r13d
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x208]
call fcn.1400025c0
or r13d, 0x10
mov dword [rsp + 0x40], r13d
lea rbx, [rsp + 0x208]
mov r8, qword [rsp + 0x208]
mov r9, qword [rsp + 0x220]
cmp r9, 8
cmovae rbx, r8
nop word [rax + rax]
lea rax, [rsp + 0x208]
cmp r9, 8
cmovae rax, r8
mov rcx, qword [rsp + 0x218]
lea rax, [rax + rcx*2]
cmp rbx, rax
je 0x1400348c2
movzx ecx, word [rbx]
call fcn.1400823b0
mov word [rbx], ax
add rbx, 2
mov r9, qword [rsp + 0x220]
mov r8, qword [rsp + 0x208]
jmp 0x140034880
mov rdx, qword [rsp + 0x1e0]
cmp rdx, 8
jb 0x140034922
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034905
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003507c
call fcn.140070654
mov r9, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x218]
mov r8, qword [rsp + 0x208]
movups xmm0, xmmword [rsp + 0x208]
movups xmmword [rsp + 0x1c8], xmm0
movups xmm1, xmmword [rsp + 0x218]
movups xmmword [rsp + 0x1d8], xmm1
lea rax, [rsp + 0x1c8]
cmp r9, 8
cmovae rax, r8
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x1c8]
cmovae rcx, r8
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0xe8]
call fcn.1400443d0
test al, al
je 0x140034a5a
mov r10, qword [rsp + 0x68]
cmp r10, r15
je 0x140034a1e
mov rbx, qword [rsp + 0x1e0]
mov r12, qword [rsp + 0x1d8]
mov r11, qword [rsp + 0x1c8]
nop word [rax + rax]
lea rax, [rsp + 0x1c8]
cmp rbx, 8
cmovae rax, r11
mov rcx, qword [r10 + 0x10]
mov r9, r10
cmp qword [r10 + 0x18], 8
jb 0x1400349d1
mov r9, qword [r10]
cmp rcx, r12
jne 0x140034a0e
test rcx, rcx
je 0x140034a19
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140034a0e
sub r9, rax
cmp dx, r8w
ja 0x140034a0e
cmp rcx, 1
je 0x140034a19
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1400349f0
add r10, 0x20
cmp r10, r15
je 0x140034a1e
jmp 0x1400349b0
cmp r10, r15
jne 0x140034a6a
cmp r15, qword [rsp + 0x78]
je 0x140034a40
lea rdx, [rsp + 0x1c8]
mov rcx, r15
call fcn.1400025c0
add r15, 0x20
mov qword [rsp + 0x70], r15
jmp 0x140034a5a
lea r8, [rsp + 0x1c8]
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.140017190
mov r15, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x1e0]
mov r11, qword [rsp + 0x1c8]
cmp rbx, 8
jb 0x140034aa6
lea rdx, [rbx*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140034a9d
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035082
mov rcx, r11
call fcn.140070654
nop
xor r12d, r12d
mov rdi, qword [rdi]
mov rdx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x48]
jmp 0x140034773
call fcn.140017d10
mov edx, 0x30
mov rcx, qword [rsp + 0xc8]
call fcn.140070654
nop
test rsi, rsi
je 0x140034b1b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rdi, 0x7ffffffffffffffe
mov r14, qword [r14]
mov rdx, qword [rsp + 0xd8]
jmp 0x1400345c3
call fcn.140017d10
mov edx, 0x30
mov rcx, qword [rsp + 0xd8]
call fcn.140070654
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x158]
call fcn.1400025c0
mov r9d, 0x20019
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.140033310
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140009000
nop
mov r13, qword [rsp + 0x48]
mov rdi, qword [r13]
mov rsi, qword [rsp + 0x40]
cmp rdi, r13
je 0x140034e18
nop dword [rax]
nop word [rax + rax]
lea r12, [rdi + 0x10]
mov rdx, r12
lea rcx, [rsp + 0x1e8]
call fcn.1400025c0
nop
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x228]
call fcn.1400025c0
lea rbx, [rsp + 0x228]
mov r8, qword [rsp + 0x228]
mov r9, qword [rsp + 0x240]
cmp r9, 8
cmovae rbx, r8
nop word [rax + rax]
lea rax, [rsp + 0x228]
cmp r9, 8
cmovae rax, r8
mov rcx, qword [rsp + 0x238]
lea rax, [rax + rcx*2]
cmp rbx, rax
je 0x140034c42
movzx ecx, word [rbx]
call fcn.1400823b0
mov word [rbx], ax
add rbx, 2
mov r9, qword [rsp + 0x240]
mov r8, qword [rsp + 0x228]
jmp 0x140034c00
mov rdx, qword [rsp + 0x200]
cmp rdx, 8
jb 0x140034ca2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034c85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003508e
call fcn.140070654
mov r9, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x238]
mov r8, qword [rsp + 0x228]
movups xmm0, xmmword [rsp + 0x228]
movups xmmword [rsp + 0x1e8], xmm0
movups xmm1, xmmword [rsp + 0x238]
movups xmmword [rsp + 0x1f8], xmm1
lea rax, [rsp + 0x1e8]
cmp r9, 8
cmovae rax, r8
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x1e8]
cmovae rcx, r8
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0xe8]
call fcn.1400443d0
test al, al
je 0x140034db6
mov r10, qword [rsp + 0x68]
cmp r10, r15
je 0x140034d9e
mov rbx, qword [rsp + 0x200]
mov r14, qword [rsp + 0x1f8]
mov r11, qword [rsp + 0x1e8]
nop word [rax + rax]
lea rax, [rsp + 0x1e8]
cmp rbx, 8
cmovae rax, r11
mov rcx, qword [r10 + 0x10]
mov r9, r10
cmp qword [r10 + 0x18], 8
jb 0x140034d51
mov r9, qword [r10]
cmp rcx, r14
jne 0x140034d8e
test rcx, rcx
je 0x140034d99
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140034d8e
sub r9, rax
cmp dx, r8w
ja 0x140034d8e
cmp rcx, 1
je 0x140034d99
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140034d70
add r10, 0x20
cmp r10, r15
je 0x140034d9e
jmp 0x140034d30
cmp r10, r15
jne 0x140034dc6
cmp qword [r12 + 0x18], 8
jb 0x140034daa
mov r12, qword [r12]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov r11, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x200]
cmp rbx, 8
jb 0x140034e01
lea rdx, [rbx*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140034df9
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035094
mov rcx, r11
call fcn.140070654
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r13
jne 0x140034bb0
mov r13, qword [rsp + 0x48]
xor r12d, r12d
mov rdx, r13
call fcn.140017d10
mov edx, 0x30
mov rcx, qword [rsp + 0x48]
call fcn.140070654
nop
test rsi, rsi
je 0x140034e3f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140034e53
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x280]
cmp rdx, 8
jb 0x140034e9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x268]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034e96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035088
call fcn.140070654
nop
mov rdx, qword [rsp + 0x260]
cmp rdx, 8
jb 0x140034ee5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x248]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034edf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003509a
call fcn.140070654
nop
mov rcx, qword [rsp + 0x110]
mov rdi, 0xffffffffffffffff
test rcx, rcx
je 0x140034f2e
mov eax, edi
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x140034f2e
mov rbx, qword [rsp + 0x110]
test rbx, rbx
je 0x140034f2e
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r12
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140034f12
mov qword [rsp + 0x110], r12
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x140034f60
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140034f60
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rax, qword [rsp + 0xe8]
test rax, rax
je 0x140034fa0
lock xadd dword [rax + 0x2c], edi
cmp edi, 1
jne 0x140034fa0
mov rbx, qword [rsp + 0xe8]
test rbx, rbx
je 0x140034fa0
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r12
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140034f84
mov qword [rsp + 0xe8], r12
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x140034fd2
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140034fd2
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rsp + 0x68]
call fcn.1400026d0
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140070140
lea r11, [rsp + 0x4b0]
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 r13
ret
call fcn.1400020a0
nop
call fcn.1400033d0
mov r8, rax
lea r9, str.Unable_to_open_registry_key
lea rcx, [rsp + 0x178]
call fcn.140009370
lea rdx, [0x1400dc6c0]
lea rcx, [rsp + 0x178]
call fcn.140071fb4
nop
call fcn.14007d0fc
nop
call fcn.1400033d0
mov r8, rax
lea r9, str.Unable_to_get_registry_value
lea rcx, [rsp + 0x1a0]
call fcn.140009370
lea rdx, [0x1400dc6c0]
lea rcx, [rsp + 0x1a0]
call fcn.140071fb4
nop
call fcn.14007d0fc
nop
call fcn.14007d0fc
nop
call fcn.14007d0fc
nop
call fcn.14007d0fc
nop
call fcn.14007d0fc
nop
call fcn.14007d0fc
int3