Function at 0x14002c8a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x5c], 0
cmp qword [rsp + 0xd8], 0
je 0x14002c90d
lea rdx, [0x1402e1ee8]
mov rcx, qword [rsp + 0xd8]
call fcn.1402775e4
test eax, eax
jne 0x14002c90d
mov dword [rsp + 0x68], 1
jmp 0x14002c915
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0xf8], 1
jne 0x14002c931
mov dword [rsp + 0x6c], 1
jmp 0x14002c939
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14002c9f0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14002c9f0
xor eax, eax
jmp 0x14002cb8a
cmp dword [rsp + 0x54], 1
jne 0x14002ca5b
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x88]
call fcn.140004170
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call fcn.140007070
nop
lea rcx, [rsp + 0x88]
call fcn.1400031c0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14002cb8a
cmp dword [rsp + 0x54], 2
jne 0x14002cb6b
mov dword [rsp + 0x70], 1
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x5c]
xor edx, edx
mov ecx, 2
div rcx
mov edx, eax
mov rcx, qword [rsp + 0xf0]
call fcn.140057cc0
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xf0]
call fcn.1400118c0
mov rcx, qword [rsp + 0xf0]
call fcn.140007860
movzx eax, al
test eax, eax
je 0x14002cb69
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0xa8]
call fcn.140004170
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xf0]
call fcn.140007070
nop
lea rcx, [rsp + 0xa8]
call fcn.1400031c0
jmp 0x14002cb7a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14002cb8a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0xc8
ret