Function at 0x1400093a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xf58]
mov eax, 0x1050
call fcn.140013a50
sub rsp, rax
mov rax, qword [0x140065610]
xor rax, rsp
mov qword [rbp + 0xf40], rax
xor ebx, ebx
lea rdi, [0x140075220]
cmp dword [0x140074a14], ebx
jne 0x140009690
mov r8d, 0x800
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea esi, [rbx + 0x5c]
mov rcx, rdi
mov edx, esi
call fcn.140015af8
mov ecx, ebx
mov word [rax], bx
movzx eax, word [rcx + rdi]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140009419
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.140015af8
test rax, rax
je 0x14000944b
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.140015af8
mov word [rax], bx
lea rcx, [rsp + 0x40]
call fcn.14000a6cc
mov ecx, dword [0x140074a14]
test eax, eax
mov r14d, 1
cmovne ecx, r14d
mov dword [0x140074a14], ecx
test ecx, ecx
jne 0x140009690
lea rax, [0x140061c40]
mov edx, 0x400
lea r9, [0x140061c80]
mov qword [rsp + 0x20], rax
lea r8, [0x140061cc8]
lea rcx, [0x140075a20]
call fcn.14000add8
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140075a20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009557
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [0x140061cd8]
mov dword [rsp + 0x30], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009557
mov rcx, rbx
movzx eax, word [rcx + rdi]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140009507
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.140015af8
test rax, rax
je 0x140009539
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.140015af8
mov word [rax], bx
lea rcx, [rsp + 0x40]
call fcn.14000a6cc
mov ecx, dword [0x140074a14]
test eax, eax
cmovne ecx, r14d
mov dword [0x140074a14], ecx
jmp 0x14000955d
mov ecx, dword [0x140074a14]
test ecx, ecx
jne 0x140009690
mov r8d, 0x800
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x140061c58]
mov rcx, rdi
call fcn.140014e7c
test rax, rax
je 0x140009626
lea rdx, [0x140061ce8]
mov rcx, rdi
call fcn.140014e7c
mov rcx, rbx
mov word [rax], bx
movzx eax, word [rcx + rdi]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400095a3
lea rcx, [rsp + 0x40]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x1400095be
lea r8, [0x140061c78]
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x1400095d0
lea rcx, [rdi - 2]
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x1400095e5
lea r8, [0x140061d08]
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x1400095f7
lea rcx, [rsp + 0x40]
call fcn.14000a6cc
mov ecx, dword [0x140074a14]
test eax, eax
cmovne ecx, r14d
mov dword [0x140074a14], ecx
jmp 0x14000962c
mov ecx, dword [0x140074a14]
test ecx, ecx
jne 0x140009690
mov edx, 0x400
lea rcx, [rbp + 0x740]
call fcn.14000a81c
test eax, eax
je 0x140009680
lea r9, [rbp + 0x740]
mov edx, 0x400
lea r8, [0x140061d18]
mov rcx, rdi
call fcn.14000add8
lea rcx, [rbp + 0x740]
call fcn.14000a6cc
mov ecx, dword [0x140074a14]
test eax, eax
cmovne ecx, r14d
mov dword [0x140074a14], ecx
jmp 0x140009686
mov ecx, dword [0x140074a14]
neg ecx
sbb rax, rax
and rax, rdi
jmp 0x140009693
mov rax, rdi
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.140013ab0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret