Function at 0x1400219a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x2288
call fcn.14010f740
sub rsp, rax
mov qword [rsp + 0x1d0], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x2270], rax
mov dword [rsp + 0x44], 0xffffffff
mov rax, qword [rsp + 0x2290]
cmp qword [rax + 0x38], 0
jne 0x1400219f9
mov eax, dword [rsp + 0x44]
jmp 0x1400222a8
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x2290]
call fcn.140024b40
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
nop
lea rdx, [0x140139d58]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0x228]
call sub.mfc120u.dll_Ordinal_959
nop
lea rcx, [rsp + 0x168]
call sub.mfc120u.dll_Ordinal_959
nop
lea rcx, [rsp + 0x200]
call sub.mfc120u.dll_Ordinal_959
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
jne 0x140022094
mov dword [rsp + 0x60], 0x800
mov dword [rsp + 0x70], 0x800
mov dword [rsp + 0x54], 0
lea rdx, [0x140139df0]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1260]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x250]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140022077
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
nop
lea rdx, [0x140138cf4]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
lea r9, [rsp + 0x4c]
mov rcx, qword [rsp + 0x150]
mov r8, rcx
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.140028eb0
cmp dword [rsp + 0x4c], 0
jb 0x14002204a
cmp dword [rsp + 0x4c], 3
jae 0x14002204a
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x2290]
add rax, 0x48
mov rdx, rax
mov rcx, qword [rsp + 0x108]
call fcn.1400271a0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x130], rax
lea r8, [rsp + 0xa0]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x58]
call fcn.14006bed0
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14005f430
movzx eax, al
test eax, eax
je 0x140021da8
cmp dword [rsp + 0x2298], 1
jne 0x140021da8
mov rax, qword [rsp + 0x2290]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x2290]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rax]
call qword [rax + 0x148]
movzx eax, al
test eax, eax
je 0x140021da8
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x140021da8
mov rax, qword [rsp + 0x2290]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x2290]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x80]
mov rcx, qword [rsp + 0x2290]
call fcn.140024120
mov byte [rsp + 0x40], 1
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
lea rax, [rsp + reloc.mfc120u.dll_Ordinal_488]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x2290]
add rax, 0x48
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400271a0
mov qword [rsp + reloc.mfc120u.dll_Ordinal_320], rax
mov rax, qword [rsp + reloc.mfc120u.dll_Ordinal_320]
mov qword [rsp + 0xf0], rax
lea r8, [rsp + 0xa8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x160]
call fcn.14006bed0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x58]
call fcn.14005f400
nop
lea rcx, [rsp + 0x160]
call fcn.140027580
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14005f430
movzx eax, al
test eax, eax
je 0x140021dd5
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x228]
call fcn.14001d6c0
jmp 0x140022040
lea rax, [rsp + 0x1d8]
mov qword [rsp + reloc.mfc120u.dll_Ordinal_280], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
call fcn.1400271a0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x2290]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x2290]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rax]
xor r8d, r8d
mov rdx, qword [rsp + 0x158]
call qword [rax + VarBstrFromDisp]
movzx eax, al
test eax, eax
je 0x140021ea6
lea rax, [rsp + 0x1e0]
mov qword [rsp + reloc.mfc120u.dll_Ordinal_296], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_296]
call fcn.1400271a0
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x2290]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x2290]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x138]
call qword [rax + 0x78]
movzx eax, al
test eax, eax
jne 0x140021f04
lea rcx, [rsp + 0x190]
call fcn.140058250
nop
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x190]
call fcn.140058310
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.140058390
lea rcx, [rsp + 0x190]
call fcn.1400583f0
nop
lea rcx, [rsp + 0x190]
call fcn.1400582b0
jmp 0x140022040
cmp dword [rsp + 0x4c], 0
jne 0x14002202a
cmp dword [rsp + 0x2298], 0
jne 0x140022028
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x110]
call fcn.1400271a0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xf8]
call fcn.14006ae10
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe8], rax
lea rdx, [0x1401387b0]
mov rcx, qword [rsp + 0xe8]
call fcn.140010370
mov byte [rsp + 0x48], al
lea rcx, [rsp + 0xf8]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x140022028
lea rcx, [rsp + 0x1b0]
call fcn.140058250
nop
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x1b0]
call fcn.140058310
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rsp + 0x1b0]
call fcn.140058390
lea rcx, [rsp + 0x1b0]
call fcn.1400584f0
movzx eax, al
test eax, eax
jne 0x14002201b
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x200]
call fcn.14001d6c0
nop
lea rcx, [rsp + 0x1b0]
call fcn.1400582b0
jmp 0x140022040
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x168]
call fcn.14001d6c0
nop
lea rcx, [rsp + 0x58]
call fcn.140027580
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x60], 0x800
mov dword [rsp + 0x70], 0x800
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x140021ae7
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rcx, [rsp + 0x168]
call fcn.14001d6b0
cmp rax, 1
jne 0x1400220d7
xor edx, edx
lea rcx, [rsp + 0x168]
call fcn.1400278a0
mov r8d, dword [rsp + 0x2298]
mov rdx, rax
mov rcx, qword [rsp + 0x2290]
call fcn.140026da0
mov dword [rsp + 0x44], eax
jmp 0x1400221f6
lea rcx, [rsp + 0x168]
call fcn.14001d6b0
cmp rax, 1
jle 0x1400221ee
mov rax, qword [rsp + 0x2290]
cmp qword [rax + 0x58], 0
je 0x1400221cb
mov r9d, dword [rsp + 0x2298]
lea r8, [rsp + 0x168]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2290]
call fcn.140024ce0
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
movzx eax, al
test eax, eax
jne 0x1400221be
xor r8d, r8d
lea rdx, [0x1401387c0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_4467]
cmp eax, 0xffffffff
jne 0x140022174
mov r8d, dword [rsp + 0x2298]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2290]
call fcn.140026da0
mov dword [rsp + 0x44], eax
jmp 0x1400221be
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov rcx, qword [rsp + 0x2290]
call fcn.140024c20
mov rax, qword [rsp + 0x2290]
mov rax, qword [rax]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x22a0]
mov rcx, qword [rsp + 0x2290]
call qword [rax + 0x1a8]
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x1400221ec
mov r8d, dword [rsp + 0x2298]
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x2290]
call fcn.140027010
mov dword [rsp + 0x44], eax
jmp 0x1400221f6
mov dword [rsp + 0x44], 0
mov r8d, dword [rsp + 0x2298]
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x2290]
call fcn.140027010
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x44]
call fcn.1400270d0
mov dword [rsp + 0x44], eax
mov r8d, dword [rsp + 0x2298]
lea rdx, [rsp + 0x228]
mov rcx, qword [rsp + 0x2290]
call fcn.140027010
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x44]
call fcn.1400270d0
mov dword [rsp + 0x90], eax
lea rcx, [rsp + 0x200]
call sub.mfc120u.dll_Ordinal_1423
nop
lea rcx, [rsp + 0x168]
call sub.mfc120u.dll_Ordinal_1423
nop
lea rcx, [rsp + 0x228]
call sub.mfc120u.dll_Ordinal_1423
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x2270]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x2288
ret