Function at 0x140012e20
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0xc0]
call fcn.140016410
nop
mov rcx, qword [rsp + 0x198]
call fcn.140006930
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140012ec9
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0xc0]
call fcn.1400169e0
movzx eax, byte [rsp + 0x40]
jmp 0x1400131ea
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x58]
call fcn.140012770
test eax, eax
jne 0x140012f06
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0xc0]
call fcn.1400169e0
movzx eax, byte [rsp + 0x41]
jmp 0x1400131ea
mov eax, dword [rsp + 0x110]
inc eax
mov eax, eax
mov qword [rsp + 0x68], rax
mov eax, 2
mov rcx, qword [rsp + 0x68]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400c7eb0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x110]
inc eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x48], 0
jmp 0x140012f66
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x10c]
cmp dword [rsp + 0x48], eax
jae 0x1400131ae
mov eax, dword [rsp + 0x110]
inc eax
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140012fce
jmp 0x140012f5c
mov eax, dword [rsp + 0x110]
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.1400125e0
test rax, rax
jne 0x140012feb
jmp 0x140012f5c
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x150]
call fcn.14000c220
nop
lea rcx, [rsp + 0xa8]
call fcn.140016740
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x150]
call fcn.140015e50
mov byte [rsp + 0x42], al
lea rcx, [rsp + 0xa8]
call fcn.140016ae0
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x1400130d1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x198]
call fcn.140006930
mov r9, qword [rsp + 0x50]
mov r8, rax
lea rdx, [0x14013a628]
mov rcx, qword [rsp + 0x1a8]
call fcn.140023fe0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400c7ea8
mov byte [rsp + 0x43], 1
lea rcx, [rsp + 0x150]
call fcn.14000a510
nop
lea rcx, [rsp + 0xc0]
call fcn.1400169e0
movzx eax, byte [rsp + 0x43]
jmp 0x1400131ea
lea rcx, [rsp + 0x130]
call fcn.14000c280
nop
mov rcx, qword [rsp + 0x198]
call fcn.140006930
mov r9, qword [rsp + 0x50]
mov r8, rax
lea rdx, [0x14013a638]
lea rcx, [rsp + 0x130]
call fcn.140023fe0
mov r9, qword [rsp + 0x1a8]
mov r8, qword [rsp + 0x1a0]
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x190]
call fcn.140012e20
movzx eax, al
test eax, eax
je 0x14001318e
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400c7ea8
mov byte [rsp + 0x44], 1
lea rcx, [rsp + 0x130]
call fcn.14000a510
nop
lea rcx, [rsp + 0x150]
call fcn.14000a510
nop
lea rcx, [rsp + 0xc0]
call fcn.1400169e0
movzx eax, byte [rsp + 0x44]
jmp 0x1400131ea
lea rcx, [rsp + 0x130]
call fcn.14000a510
nop
lea rcx, [rsp + 0x150]
call fcn.14000a510
jmp 0x140012f5c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400c7ea8
mov byte [rsp + 0x45], 0
lea rcx, [rsp + 0xc0]
call fcn.1400169e0
movzx eax, byte [rsp + 0x45]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x188
ret