Function at 0x140034ddb
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x250
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1e0], rcx
mov qword [rbp + 0x1e8], rdx
mov qword [rbp + 0x1f0], r8
mov dword [rbp + 0x1f8], r9d
mov qword [rbp + 0x1b8], 0
mov eax, dword [rbp + 0x1f8]
cdqe
mov rcx, rax
call fcn.14008d350
call fcn.14008cfe0
mov rax, qword [rbp + 0x1e0]
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call fcn.14008d0a0
mov rdx, qword [rbp + 0x1e8]
lea rax, [rbp + 0x1e8]
mov rcx, rax
call fcn.14008d0a0
mov rdx, qword [rbp + 0x1f0]
lea rax, [rbp + 0x1f0]
mov rcx, rax
call fcn.14008d0a0
mov qword [rbp], 0
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp + 0x1c8], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x28], 0
mov qword [rbp + 0x1b0], 0
mov qword [rbp + 0x1c0], 0
mov qword [rbp - 0x30], 0
mov qword [rbp + 0x1a8], 0
mov qword [rbp - 0x38], 0
mov qword [rbp + 0x1a0], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x48], 0
mov rax, qword [rbp + 0x1e0]
mov rcx, rax
call fcn.140037816
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x190], rax
lea rax, [0x140870f98]
mov qword [rbp + 0x188], rax
mov rdx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x188]
mov rcx, rax
call fcn.14008d390
test eax, eax
je 0x140035038
mov eax, dword [0x14089613c]
test eax, eax
je 0x140034fd6
mov rax, qword [0x140896128]
mov qword [rbp + 0x180], rax
mov rax, qword [0x140895d20]
mov qword [rbp + 0x178], rax
mov eax, dword [0x140896164]
or eax, 0xf003f
cdqe
mov qword [rbp + 0x170], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x168], rax
mov r8, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x178]
mov rax, qword [rbp + 0x180]
mov rcx, qword [rbp + 0x168]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x1c0], rax
nop
jmp 0x140035153
nop
mov rax, qword [0x140896128]
mov qword [rbp + 0x158], rax
mov rax, qword [0x140895d20]
mov qword [rbp + 0x150], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x148], rax
mov rcx, qword [rbp + 0x148]
mov rdx, qword [rbp + 0x150]
mov rax, qword [rbp + 0x158]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1c0], rax
jmp 0x140035153
nop
mov rax, qword [0x140896128]
mov qword [rbp + 0x138], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
mov rdx, qword [rbp + 0x130]
mov rax, qword [rbp + 0x138]
mov r8, rdx
mov rdx, rax
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [rbp + 0x12c], eax
mov eax, dword [rbp + 0x12c]
cdqe
mov qword [rbp + 0x1a0], rax
mov eax, dword [0x14089613c]
test eax, eax
je 0x140035107
mov rax, qword [0x140895d20]
mov qword [rbp + 0x120], rax
mov eax, dword [0x140896164]
or eax, 0xf003f
cdqe
mov qword [rbp + 0x118], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp - 0x20]
mov r8, qword [rbp + 0x118]
mov rdx, qword [rbp + 0x120]
mov rcx, qword [rbp + 0x110]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x1c0], rax
jmp 0x140035153
nop
mov rax, qword [0x140895d20]
mov qword [rbp + 0x100], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp + 0xf8]
mov rdx, qword [rbp + 0x100]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x1c0], rax
cmp qword [rbp + 0x1c0], 0
jne 0x14003568a
mov qword [rbp - 0x28], 0x400
call fcn.14008d230
call fcn.14008d230
call fcn.14008d260
mov edx, eax
mov rax, qword [rbp - 0x28]
mov rcx, rax
call fcn.14008bdf0
call fcn.14008d260
mov edx, eax
mov rax, rbp
mov rcx, rax
call fcn.14008cf10
lea rax, [rbp - 0x30]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x1e8]
mov r10, rax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp + 0xe8]
mov rdx, qword [rbp + 0xd8]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0xe0]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegQueryValueExW
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x1c0], rax
cmp qword [rbp + 0x1c0], 0
jne 0x14003568d
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 1
jne 0x140035301
lea rax, [rbp - 0x30]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x1e8]
mov r10, rax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x20]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegQueryValueExW
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x1c0], rax
cmp qword [rbp + 0x1c0], 0
jne 0x1400352e8
call fcn.14008d230
call fcn.14008d230
mov rax, qword [rbp - 0x28]
sub rax, 1
mov qword [rbp + 0x10], rax
call fcn.14008d260
mov ecx, eax
mov rax, qword [rbp]
mov rdx, qword [rbp + 0x10]
mov r8d, ecx
mov rcx, rax
call fcn.14008b320
call fcn.14008d260
mov edx, eax
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.14008cf10
nop
jmp 0x140035694
nop
lea rax, [rbp - 0x40]
lea rdx, [0x140896280]
mov rcx, rax
call fcn.14008d110
jmp 0x140035694
cmp qword [rbp + 0xc8], 2
jne 0x1400353da
lea rax, [rbp - 0x30]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x1e8]
mov r10, rax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x48]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x50]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegQueryValueExW
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x1c0], rax
cmp qword [rbp + 0x1c0], 0
jne 0x1400353c1
call fcn.14008d230
call fcn.14008d230
mov rax, qword [rbp - 0x28]
sub rax, 1
mov qword [rbp + 0x38], rax
call fcn.14008d260
mov ecx, eax
mov rax, qword [rbp]
mov rdx, qword [rbp + 0x38]
mov r8d, ecx
mov rcx, rax
call fcn.14008b320
call fcn.14008d260
mov edx, eax
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.14008cf10
nop
jmp 0x140035694
nop
lea rax, [rbp - 0x40]
lea rdx, [0x140896280]
mov rcx, rax
call fcn.14008d110
jmp 0x140035694
cmp qword [rbp + 0xc8], 4
jne 0x1400354a0
lea rax, [rbp - 0x38]
mov qword [rbp + 0x78], rax
lea rax, [rbp - 8]
mov qword [rbp + 0x70], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x1e8]
mov r10, rax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x70]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegQueryValueExW
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x1c0], rax
cmp qword [rbp + 0x1c0], 0
jne 0x140035487
call fcn.14008d230
call fcn.14008d230
call fcn.14008d260
mov edx, eax
mov rax, qword [rbp - 8]
mov rcx, rax
call fcn.14008be50
call fcn.14008d260
mov edx, eax
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.14008cf10
nop
jmp 0x140035694
nop
lea rax, [rbp - 0x40]
lea rdx, [0x140871180]
mov rcx, rax
call fcn.14008d110
jmp 0x140035694
cmp qword [rbp + 0xc8], 3
jne 0x140035690
mov qword [rbp - 0x10], 0x400
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14008c4e0
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x1a8], rax
lea rax, [rbp - 0x48]
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0xb0], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x1e8]
mov r10, rax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xa8]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0xb0]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegQueryValueExW
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x1c0], rax
cmp qword [rbp + 0x1c0], 0
jne 0x140035693
lea rax, [rbp - 0x40]
lea rdx, [0x140896280]
mov rcx, rax
call fcn.14008d110
mov qword [rbp + 0x1c8], 0
mov rax, qword [rbp - 0x10]
cmp qword [rbp + 0x1c8], rax
jge 0x140035663
mov rdx, qword [rbp + 0x1a8]
mov rax, qword [rbp + 0x1c8]
add rax, rdx
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
mov rcx, rax
call fcn.14008c610
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
movzx eax, al
mov qword [rbp + 0x1b0], rax
cmp qword [rbp + 0x1b0], 0xf
jg 0x14003560c
call fcn.14008d230
mov rax, qword [rbp - 0x40]
mov rcx, rax
call fcn.14008d030
lea rax, [0x140871180]
mov rcx, rax
call fcn.14008d030
call fcn.14008d260
mov edx, eax
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.14008cf10
jmp 0x14003560d
nop
call fcn.14008d230
mov rax, qword [rbp - 0x40]
mov rcx, rax
call fcn.14008d030
call fcn.14008d230
call fcn.14008d230
call fcn.14008d260
mov edx, eax
mov rax, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.14008b1e0
call fcn.14008d260
call fcn.14008d260
mov edx, eax
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.14008cf10
add qword [rbp + 0x1c8], 1
jmp 0x14003557d
nop
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.14008c590
mov qword [rbp + 0x80], rax
jmp 0x140035694
nop
jmp 0x140035694
nop
jmp 0x140035694
nop
jmp 0x140035694
nop
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp + 8], rax
call fcn.14008d230
mov rax, qword [rbp - 0x40]
mov rcx, rax
call fcn.14008d030
call fcn.14008d320
mov qword [rbp + 0x1b8], rax
nop
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call fcn.14008d1c0
mov rax, qword [rbp]
mov rcx, rax
call fcn.14008d1c0
mov rax, qword [rbp + 0x1e0]
mov rcx, rax
call fcn.14008d1c0
mov rax, qword [rbp + 0x1e8]
mov rcx, rax
call fcn.14008d1c0
mov rax, qword [rbp - 0x40]
mov rcx, rax
call fcn.14008d1c0
mov rax, qword [rbp + 0x1b8]
add rsp, 0x250
pop rbp
ret