Function at 0x1400197e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3b0
mov rax, qword [0x140065840]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0xd0], 0
lea rcx, [rsp + 0x80]
call fcn.14000aab0
mov rax, qword [rsp + 0x3c0]
cmp dword [rax + 0x90], 0
jne 0x140019a84
lea rcx, [rsp + 0xe0]
call fcn.140003220
mov rcx, qword [rsp + 0x3c8]
call fcn.1400326d0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14000ab40
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14001988c
lea rcx, [rsp + 0xe0]
call fcn.1400038b0
jmp 0x140019a7f
lea rdx, [0x14005a720]
lea rcx, [rsp + 0x80]
call fcn.14000ad60
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x1400198c5
lea rcx, [rsp + 0xe0]
call fcn.1400038b0
jmp 0x140019a7f
lea rdx, [0x14005a738]
lea rcx, [rsp + 0x350]
call fcn.140003240
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x350]
mov rcx, qword [rsp + 0xd0]
call fcn.14000a430
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x350]
call fcn.1400038b0
cmp dword [rsp + 0x44], 0
jne 0x140019920
lea rcx, [rsp + 0xe0]
call fcn.1400038b0
jmp 0x140019a7f
lea rcx, [rsp + 0xe0]
call fcn.140006550
test eax, eax
je 0x140019a68
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x80
lea rdx, [rsp + 0xe0]
call fcn.14001aad0
movzx eax, al
test eax, eax
je 0x140019a68
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x80
lea rdx, [rsp + 0xe0]
call fcn.14000ba20
mov rcx, qword [rsp + 0x3c0]
add rcx, 8
lea rdx, [rsp + 0xe8]
call fcn.1400286a0
mov rcx, qword [rsp + 0x3c0]
add rcx, 8
lea rdx, [rsp + 0x358]
call fcn.14000c0c0
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14000fa30
movzx eax, al
test eax, eax
je 0x140019a68
lea rcx, [rsp + 0xe8]
call fcn.140021180
add rax, 8
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0x3c0]
add rdx, 0x80
mov rcx, qword [rsp + 0xf8]
add rcx, 0x10
call fcn.1400145d0
movzx eax, al
test eax, eax
je 0x140019a56
mov rdx, qword [rsp + 0xf8]
add rdx, 8
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x88
call fcn.14000ba20
mov dword [rsp + 0x368], 1
lea rcx, [rsp + 0xe0]
call fcn.1400038b0
lea rcx, [rsp + 0x80]
call fcn.14000ab00
mov eax, dword [rsp + 0x368]
jmp 0x140019efe
lea rcx, [rsp + 0xe8]
call fcn.140016b10
jmp 0x140019991
lea rcx, [rsp + 0xe0]
call fcn.1400038b0
xor eax, eax
test eax, eax
jne 0x140019842
jmp 0x140019c7e
mov dword [rsp + 0x100], 1
mov dword [rsp + 0x104], 0x208
xor eax, eax
mov word [rsp + 0x110], ax
lea rdi, [rsp + 0x112]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x50
call fcn.1400326d0
mov r8, rax
lea rax, [rsp + 0x104]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x100]
lea rdx, [0x14005a750]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [rsp + 0x320], eax
cmp dword [rsp + 0x320], 0
jne 0x140019c7e
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x328]
call fcn.140003240
lea rcx, [rsp + 0x328]
call fcn.140006550
test eax, eax
je 0x140019c71
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x80
lea rdx, [rsp + 0x328]
call fcn.14001aad0
movzx eax, al
test eax, eax
je 0x140019c71
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x80
lea rdx, [rsp + 0x328]
call fcn.14000ba20
mov rcx, qword [rsp + 0x3c0]
add rcx, 8
lea rdx, [rsp + 0x330]
call fcn.1400286a0
mov rcx, qword [rsp + 0x3c0]
add rcx, 8
lea rdx, [rsp + 0x370]
call fcn.14000c0c0
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.14000fa30
movzx eax, al
test eax, eax
je 0x140019c71
lea rcx, [rsp + 0x330]
call fcn.140021180
add rax, 8
mov qword [rsp + 0x340], rax
mov rdx, qword [rsp + 0x3c0]
add rdx, 0x80
mov rcx, qword [rsp + 0x340]
add rcx, 0x10
call fcn.1400145d0
movzx eax, al
test eax, eax
je 0x140019c5f
mov rdx, qword [rsp + 0x340]
add rdx, 8
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x88
call fcn.14000ba20
mov dword [rsp + 0x380], 1
lea rcx, [rsp + 0x328]
call fcn.1400038b0
lea rcx, [rsp + 0x80]
call fcn.14000ab00
mov eax, dword [rsp + 0x380]
jmp 0x140019efe
lea rcx, [rsp + 0x330]
call fcn.140016b10
jmp 0x140019b9a
lea rcx, [rsp + 0x328]
call fcn.1400038b0
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [rsp + 0x68], ax
mov eax, 0x804
mov word [rsp + 0x60], ax
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
call fcn.140003220
lea rcx, [rsp + 0x48]
call fcn.140003220
mov edx, 0x409
mov word [rsp + 0x64], dx
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x58]
call fcn.140003220
lea rcx, [rsp + 0xd8]
call fcn.140003220
mov rcx, qword [rsp + 0x3c0]
add rcx, 8
lea rdx, [rsp + 0x30]
call fcn.1400286a0
mov rcx, qword [rsp + 0x3c0]
add rcx, 8
lea rdx, [rsp + 0x388]
call fcn.14000c0c0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000fa30
movzx eax, al
test eax, eax
je 0x140019e36
lea rcx, [rsp + 0x30]
call fcn.140021180
add rax, 8
mov qword [rsp + 0x348], rax
movzx ecx, word [rsp + 0x68]
mov rax, qword [rsp + 0x348]
cmp dword [rax], ecx
jne 0x140019d98
mov dword [rsp + 0x6c], 1
mov rdx, qword [rsp + 0x348]
add rdx, 0x10
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x80
call fcn.14000ba20
mov rdx, qword [rsp + 0x348]
add rdx, 8
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x88
call fcn.14000ba20
jmp 0x140019e36
movzx ecx, word [rsp + 0x60]
mov rax, qword [rsp + 0x348]
cmp dword [rax], ecx
jne 0x140019ddf
mov rdx, qword [rsp + 0x348]
add rdx, 0x10
lea rcx, [rsp + 0x50]
call fcn.14000ba20
mov rdx, qword [rsp + 0x348]
add rdx, 8
lea rcx, [rsp + 0x48]
call fcn.14000ba20
mov dword [rsp + 0x40], 1
jmp 0x140019e27
movzx ecx, word [rsp + 0x64]
mov rax, qword [rsp + 0x348]
cmp dword [rax], ecx
jne 0x140019e27
mov rdx, qword [rsp + 0x348]
add rdx, 0x10
lea rcx, [rsp + 0x58]
call fcn.14000ba20
mov rdx, qword [rsp + 0x348]
add rdx, 8
lea rcx, [rsp + 0xd8]
call fcn.14000ba20
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x30]
call fcn.140016b10
jmp 0x140019cee
cmp dword [rsp + 0x6c], 0
jne 0x140019eb4
movzx ecx, word [rsp + 0x68]
movzx eax, word [rsp + 0x60]
cmp ecx, eax
je 0x140019e91
cmp dword [rsp + 0x70], 0
je 0x140019e91
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x80
lea rdx, [rsp + 0x58]
call fcn.14000ba20
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x88
lea rdx, [rsp + 0xd8]
call fcn.14000ba20
mov dword [rsp + 0x6c], 1
jmp 0x140019eb4
mov rcx, qword [rsp + 0x3c0]
add rcx, 0x80
lea rdx, [0x14005a7a0]
call fcn.140003460
mov dword [rsp + 0x6c], 1
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x398], eax
lea rcx, [rsp + 0xd8]
call fcn.1400038b0
lea rcx, [rsp + 0x58]
call fcn.1400038b0
lea rcx, [rsp + 0x48]
call fcn.1400038b0
lea rcx, [rsp + 0x50]
call fcn.1400038b0
lea rcx, [rsp + 0x80]
call fcn.14000ab00
mov eax, dword [rsp + 0x398]
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.1400434f0
add rsp, 0x3b0
pop rdi
ret