Function at 0x100019248
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x10007d1c0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov ebp, edx
mov rbx, rcx
and dword [rsp + 0x50], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
xor dil, dil
test edx, 0xfffffff0
jne 0x100019549
cmp qword [rcx + 0x18], 0
jne 0x1000192af
mov edi, 0x32
jmp 0x10001955e
mov esi, 1
mov r14d, 0x104
test edx, 0xfffffff7
je 0x1000194a6
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x100003e38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001933d
cmp qword [rbx + 0x20], 8
jb 0x1000192fe
mov rdx, qword [rbx + 8]
jmp 0x100019302
lea rdx, [rbx + 8]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100019329
mov dil, sil
jmp 0x10001934f
lea rcx, [0x100003e70]
call fcn.1000250f8
and qword [rsp + 0x48], 0
jmp 0x10001934f
and qword [rsp + 0x40], 0
lea rcx, [0x100003ec0]
call fcn.1000250f8
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x10001935f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x40], 0
test dil, dil
je 0x1000194a6
test sil, bpl
je 0x1000193d3
mov dword [rsp + 0x54], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x18
lea r8, [0x100003f10]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
test eax, eax
je 0x1000193c8
mov edx, eax
lea rcx, [0x100003f20]
call fcn.1000250f8
jmp 0x10001954e
mov eax, dword [rsp + 0x58]
mov qword [rbx + 0x168], rax
test bpl, 4
je 0x10001942a
mov r9, r14
lea r8, [rsp + 0x90]
lea rdx, [0x100003f80]
mov rcx, qword [rsp + 0x48]
call fcn.10003177c
mov edi, eax
test eax, eax
jne 0x10001954e
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov r8, rcx
lea rcx, [rbx + 0x28]
lea rdx, [rsp + 0x90]
call fcn.100017078
test bpl, 2
je 0x1000194a6
mov r9, r14
lea r8, [rsp + 0x90]
lea rdx, [0x100003f98]
mov rcx, qword [rsp + 0x48]
call fcn.10003177c
mov edi, eax
test eax, eax
je 0x100019465
mov edx, eax
lea rcx, [0x100003fb0]
call fcn.1000250f8
jmp 0x10001954e
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.100016e20
nop
lea rcx, [rbx + 0x1a0]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x68]
call fcn.100017224
nop
cmp qword [rsp + 0x88], 8
jb 0x1000194a6
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll_free
test bpl, 8
je 0x100019545
cmp qword [rbx + 0x20], 8
jb 0x1000194bd
mov r8, qword [rbx + 8]
jmp 0x1000194c1
lea r8, [rbx + 8]
mov rdx, r14
lea rcx, [rsp + 0x90]
call fcn.10002c564
test eax, eax
jns 0x1000194dc
mov edi, 0x32
jmp 0x10001954e
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x90]
lea ecx, [r9 + 8]
call qword [sym.imp.ntdll.dll_RtlGetUILanguageInfo]
test eax, eax
jns 0x100019522
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edi, eax
cmp eax, 2
je 0x100019516
cmp eax, 0xd
jne 0x10001954e
mov dword [rbx + 0x174], 3
jmp 0x100019545
mov ecx, dword [rsp + 0x50]
mov eax, ecx
shr eax, 2
and eax, esi
mov dword [rbx + 0x174], eax
bt ecx, 8
jae 0x10001953d
test cl, cl
jns 0x10001953f
xor esi, esi
mov dword [rbx + 0x170], esi
xor edi, edi
jmp 0x10001954e
mov edi, 0x57
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x10001955e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x100019574
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.100068440
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret