Function at 0x1400190f0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140019138
cmp dword [rsp + 0x58], 1
je 0x1400191cc
jmp 0x1400194ff
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400191a6
mov dword [rsp + 0x5c], 1
jmp 0x1400191ae
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400191c7
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400194ff
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x18], 0
je 0x1400194ff
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0xb0], eax
jae 0x1400194ff
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x20], 0xffffffff
je 0x1400194ff
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x50]
movsxd rcx, dword [rcx + 0x20]
add rcx, qword [rax + 0x10]
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 4]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x666c
je 0x140019259
cmp dword [rsp + 0x64], 0x686c
je 0x140019259
jmp 0x1400194ff
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 6]
test eax, eax
je 0x1400194ff
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 6]
cmp dword [rsp + 0xb0], eax
jae 0x1400194ff
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0xb0]
mov rdx, qword [rsp + 0x78]
movsxd rcx, dword [rdx + rcx*8 + 8]
add rcx, qword [rax + 0x10]
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 4]
cmp eax, 0x6b6e
jne 0x1400194ff
cmp qword [rsp + 0xb8], 0
je 0x1400194ff
cmp qword [rsp + 0xc0], 0
je 0x1400194ff
cmp qword [rsp + 0xe0], 0
je 0x140019307
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xe0]
mov qword [rcx], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
and eax, 0x20
test eax, eax
je 0x1400193af
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x4c]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x40]
cmp dword [rax], ecx
jbe 0x140019342
mov dword [rsp + 0x68], 1
jmp 0x14001934a
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400193ad
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
add rcx, 0x50
mov edx, eax
call fcn.1400201a0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400193ad
mov eax, dword [rsp + 0x40]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xb8]
call fcn.140161160
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14001941c
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x4c]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x40]
cmp dword [rax], ecx
jbe 0x1400193e0
mov dword [rsp + 0x6c], 1
jmp 0x1400193e8
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14001941c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x4c]
mov rcx, qword [rsp + 0x48]
add rcx, 0x50
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0xb8]
call fcn.140161160
cmp dword [rsp + 0x44], 0
je 0x140019435
mov eax, dword [rsp + 0x40]
xor ecx, ecx
mov rdx, qword [rsp + 0xb8]
mov word [rdx + rax*2], cx
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
cmp qword [rsp + 0xd8], 0
je 0x1400194ff
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x4e]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x40], eax
cmp qword [rsp + 0xd0], 0
je 0x1400194f1
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x40]
cmp dword [rax], ecx
jbe 0x14001948e
mov dword [rsp + 0x70], 1
jmp 0x140019496
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400194f1
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x4e]
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 8]
mov rdx, qword [rsp + 0x48]
movsxd rdx, dword [rdx + 0x34]
mov rcx, qword [rcx + 0x10]
lea rcx, [rcx + rdx + 4]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0xd0]
call fcn.140161160
mov eax, dword [rsp + 0x40]
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
mov word [rdx + rax*2], cx
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov eax, dword [rsp + 0x44]
add rsp, 0x98
ret