Function at 0x1400c50f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xc60]
sub rsp, 0xd60
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rbp + 0xc50], rax
xor edi, edi
mov r10, rdx
mov ebx, edi
mov r11, rcx
mov r8, 0xffffffffffffffff
nop dword [rax]
cmp word [rdx + r8*2 + 2], bx
lea r8, [r8 + 1]
jne 0x1400c5130
movzx r9d, word [r10]
mov edx, edi
test r9w, r9w
je 0x1400c516b
nop dword [rax + rax]
movzx ecx, r9b
lea eax, [rdx + r8]
imul ecx, eax
lea edx, [rdx + 1]
movzx r9d, word [r10 + rdx*2]
add ebx, ecx
test r9w, r9w
jne 0x1400c5150
mov rdx, qword [r11 + 0x858]
lea rsi, [r11 + 0x64c]
mov dword [r11 + 0x860], ebx
test rsi, rsi
je 0x1400c546d
test rdx, rdx
je 0x1400c546d
mov r8d, 0x1ea
mov qword [rsp + 0xd88], r14
lea rcx, [rbp + 0x20]
call fcn.1401166f8
mov r8d, edi
mov word [rbp + 0x3f4], di
lea rcx, [rbp + 0x20]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], di
jne 0x1400c51c0
lea r14, [0x140000000]
test rax, rax
je 0x1400c521e
mov rdx, rdi
nop dword [rax + rax]
movzx eax, word [rbp + rdx*2 + 0x20]
lea ecx, [r8 + r8*4]
add ecx, eax
and ecx, 0x3f
inc r8d
movzx eax, word [r14 + rcx*2 + 0x14efd0]
lea rcx, [rbp + 0x20]
mov word [rbp + rdx*2 + 0x20], ax
mov rax, 0xffffffffffffffff
mov edx, r8d
nop dword [rax]
inc rax
cmp word [rcx + rax*2], di
jne 0x1400c5210
cmp rdx, rax
jb 0x1400c51e0
mov r8d, 0xa
mov word [rsp + 0x50], di
lea rdx, [rsp + 0x50]
mov ecx, ebx
call fcn.1401157e4
lea rcx, [rbp + 0x20]
mov r8, rax
sub rcx, 2
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1400c5240
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400c5250
cmp word [rbp + 0x20], di
je 0x1400c5441
xor edx, edx
lea rcx, [rbp + 0x430]
mov r8d, 0x410
call fcn.14012ce40
mov rcx, rdi
movzx eax, word [rcx + r14 + 0x14f0d0]
mov word [rbp + rcx + 0x430], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400c5283
cmp word [rsi], di
je 0x1400c52f2
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1400c52b0
xor edx, edx
nop dword [rax]
movzx eax, word [rsi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400c52c0
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1400c52e0
mov eax, dword [0x1401490d0]
mov dword [rcx], eax
xor edx, edx
lea rcx, [rbp + 0x840]
mov r8d, 0x410
call fcn.14012ce40
mov r8d, 0x206
lea rdx, [rbp + 0x840]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp + 0x840]
call fcn.140100e2c
mov r8, rax
test rax, rax
jne 0x1400c533d
lea r8, [rbp + 0x840]
jmp 0x1400c5341
add r8, 2
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1400c5350
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400c5360
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1400c5380
mov eax, dword [0x1401490d0]
mov dword [rcx], eax
lea rax, [rbp + 0x430]
sub rax, 2
nop dword [rax]
cmp word [rax + 2], di
lea rax, [rax + 2]
jne 0x1400c53a0
movups xmm0, xmmword [str.XMessageBox]
mov r9d, 0x20019
mov dword [rsp + 0x38], edi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
movups xmmword [rax], xmm0
lea rdx, [rbp + 0x430]
mov rcx, 0xffffffff80000001
movsd xmm0, qword [0x14014f150]
movsd qword [rax + 0x10], xmm0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c543d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x40], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x20]
mov dword [rsp + 0x3c], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400c5441
mov edi, dword [rsp + 0x38]
mov r14, qword [rsp + 0xd88]
mov eax, edi
mov rcx, qword [rbp + 0xc50]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0xd90]
add rsp, 0xd60
pop rdi
pop rsi
pop rbp
ret
mov eax, edi
jmp 0x1400c544b