Function at 0x14003c390
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
add rcx, 0x48
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14003cafc
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14003c407
xor edx, edx
call sym.Installer.exe_Put
mov r9, qword [rsi + 0x90]
lea r8, str.RegGetValue
mov edx, dword [rsi + 8]
lea rcx, str._i:__s_Loaded__s_0._n
call fcn.14005cb30
xor r13d, r13d
mov qword [rbp - 0x21], r13
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x14003c435
lea rdx, [rbp - 0x21]
call fcn.14005bc00
test al, al
je 0x14003c435
mov rcx, qword [rsi + 0x78]
call fcn.140069370
mov rax, qword [rbp - 0x21]
mov qword [rsi + 0x78], rax
mov rax, qword [rsi + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsi + 0x78]
lea r8, str.RegGetValue
mov edx, dword [rsi + 8]
lea rcx, str._i:__s__s___s__S_Begin._n
call fcn.14005cb30
lea rcx, str.int_x86
call sym.Installer.exe_Get
mov rdx, qword [rsi + 0x78]
mov rcx, qword [rsi + 0x70]
xor r8d, r8d
test eax, eax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
je 0x14003c497
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14003c4c4
mov dword [rsp + 0x20], eax
mov r9, qword [rsi + 0x78]
lea r8, str.RegGetValue
mov edx, dword [rsi + 8]
lea rcx, str._i:__s_Could_not_open_key__s__errCode:_d_._n
call fcn.14005cb30
jmp 0x14003cac1
mov dword [rbp - 0x11], r13d
mov dword [rbp - 0x29], r13d
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x11]
xor r8d, r8d
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14003c502
lea rcx, str._i:__s_Could_get_value__s_in_key__s._n
jmp 0x14003ca98
mov rax, qword [rsi + 0x88]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [rax + r14], r13b
jne 0x14003c510
add r14, 0xe
mov eax, dword [rbp - 0x11]
cmp eax, 4
jne 0x14003c5b8
mov dword [rbp - 0x19], r13d
mov dword [rbp - 0x29], eax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x11]
xor r8d, r8d
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003c4f6
lea edx, [rax + 1]
mov rcx, r14
call fcn.140069790
mov rbx, rax
mov r9, qword [rsi + 0x88]
lea r8, [0x1400a5330]
mov rdx, r14
mov rcx, rax
call fcn.14001ca80
mov edx, dword [rbp - 0x19]
mov rcx, rbx
call sym.Installer.exe_Put
mov ecx, dword [rbp - 0x19]
mov dword [rsp + 0x20], ecx
mov r9, rbx
lea r8, str.RegGetValue
mov edx, dword [rsi + 8]
lea rcx, str._i:__s_Loaded__S_i._n
call fcn.14005cb30
mov rcx, rbx
jmp 0x14003c6b9
cmp eax, 1
jne 0x14003c6fa
mov ecx, dword [rbp - 0x29]
call fcn.140069368
mov r15, rax
mov r8d, dword [rbp - 0x29]
xor edx, edx
mov rcx, rax
call fcn.1400659a0
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x11]
xor r8d, r8d
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14003c633
mov dword [rsp + 0x28], eax
mov rax, qword [rsi + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsi + 0x80]
lea r8, str.RegGetValue
mov edx, dword [rsi + 8]
lea rcx, str._i:__s_Could_get_value__s_in_key__s_err_d._n
call fcn.14005cb30
jmp 0x14003cab7
mov edx, 1
mov rcx, r14
call fcn.140069790
mov rdi, rax
mov r9, qword [rsi + 0x88]
lea r8, str.String__s
mov rdx, r14
mov rcx, rax
call fcn.14001ca80
mov ecx, 0x10
call fcn.140062618
mov rbx, rax
mov qword [rbp - 0x19], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rax, vtable.CString.0
mov qword [rbx], rax
mov qword [rbx + 8], r13
mov rcx, r15
call fcn.140069798
mov qword [rbx + 8], rax
mov rdx, rbx
mov rcx, rdi
call sym.Installer.exe_Put
mov qword [rsp + 0x20], r15
mov r9, rdi
lea r8, str.RegGetValue
mov edx, dword [rsi + 8]
lea rcx, str._i:__s_Loaded__S_s._n
call fcn.14005cb30
mov rcx, rdi
call fcn.140069370
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14003cab7
mov edx, 1
call sym.Installer.exe_Put
mov r9, qword [rsi + 0x90]
lea r8, str.RegGetValue
mov edx, dword [rsi + 8]
lea rcx, str._i:__s_Loaded__s_1._n
call fcn.14005cb30
jmp 0x14003cab7
cmp eax, 7
jne 0x14003c9c5
mov eax, dword [rbp - 0x29]
test eax, eax
je 0x14003ca91
xorps xmm0, xmm0
mov ebx, eax
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r13
add rbx, rbx
cmp rbx, 0x1000
jb 0x14003c754
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14003cb4a
call fcn.140062618
mov rcx, rax
test rax, rax
je 0x14003cb44
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14003c766
test rbx, rbx
je 0x14003c763
mov rcx, rbx
call fcn.140062618
jmp 0x14003c766
mov rax, r13
mov qword [rbp - 9], rax
add rbx, rax
mov qword [rbp + 7], rbx
mov r8, rbx
sub r8, rax
xor edx, edx
mov rcx, rax
call fcn.1400659a0
mov qword [rbp - 1], rbx
mov eax, dword [rbp - 0x29]
mov r8d, eax
xor edx, edx
mov rcx, qword [rbp - 9]
call fcn.1400659a0
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x11]
xor r8d, r8d
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003c7c9
cmp dword [rbp - 0x29], eax
jne 0x14003c7d3
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.SelfFree_MultiStringApi
call sym.Installer.exe_Get
mov rcx, rax
test rax, rax
jne 0x14003c830
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14003cac1
mov rdx, qword [rbp + 7]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, 0x1000
mov rax, rcx
jb 0x14003c826
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003cb44
call fcn.140062610
jmp 0x14003cac1
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
call qword [0x1400926f0]
mov rdi, rax
test rax, rax
je 0x14003c7e7
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov qword [rbp + 0x1f], r13
test r14, r14
je 0x14003c8c6
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14003cb50
cmp r14, 0x1000
jb 0x14003c89e
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x14003cb56
call fcn.140062618
mov rcx, rax
test rax, rax
je 0x14003cb5c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14003c8a6
mov rcx, r14
call fcn.140062618
mov qword [rbp + 0xf], rax
lea rbx, [rax + r14]
mov qword [rbp + 0x1f], rbx
mov r8, rbx
sub r8, rax
xor edx, edx
mov rcx, rax
call fcn.1400659a0
mov qword [rbp + 0x17], rbx
mov r9, qword [rsi + 0x88]
lea r8, str.MultiString__s
mov rdx, r14
mov rcx, qword [rbp + 0xf]
call fcn.14001ca80
mov rbx, qword [rbp - 9]
cmp r13w, word [rbx]
je 0x14003c929
nop word [rax + rax]
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x30]
call qword [0x1400926f0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x14003c910
lea rbx, [rbx + rax*2]
add rbx, 2
cmp r13w, word [rbx]
jne 0x14003c8f0
mov rdx, rdi
mov rcx, qword [rbp + 0xf]
call sym.Installer.exe_Put
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14003c97c
mov rdx, qword [rbp + 0x1f]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c96b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003cb5c
call fcn.140062610
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r13
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14003cab7
mov rdx, qword [rbp + 7]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c9bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003cb44
call fcn.140062610
jmp 0x14003cab7
cmp eax, 3
jne 0x14003ca91
mov eax, dword [rbp - 0x29]
test eax, eax
je 0x14003ca91
mov ecx, eax
call fcn.140069368
mov r15, rax
test rax, rax
je 0x14003cab7
mov r8d, dword [rbp - 0x29]
xor edx, edx
mov rcx, rax
call fcn.1400659a0
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003ca87
cmp dword [rbp - 0x29], r13d
je 0x14003ca87
lea ecx, [rax + 0x18]
call fcn.140062618
mov qword [rbp - 0x19], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov r8d, dword [rbp - 0x29]
mov rdx, r15
mov rcx, rax
call fcn.14003c140
mov rdi, rax
mov edx, 1
mov rcx, r14
call fcn.140069790
mov rbx, rax
mov r9, qword [rsi + 0x88]
lea r8, str.SelfFree__s
mov rdx, r14
mov rcx, rax
call fcn.14001ca80
mov rdx, rdi
mov rcx, rbx
call sym.Installer.exe_Put
mov rcx, r15
call fcn.140069370
jmp 0x14003cab7
lea rcx, str._i:__s_Can_only_get_REG_DWORD___REG_SZ__REG_MULTI_SZ_and_REG_BINARY._n
mov rax, qword [rsi + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsi + 0x80]
lea r8, str.RegGetValue
mov edx, dword [rsi + 8]
call fcn.14005cb30
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsi + 0x10], 1
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [0x1400926f0]
mov r9d, eax
lea r8, str.RegGetValue
mov edx, dword [rsi + 8]
lea rcx, str._i:__s_End_execute._Next_command__i._n
call fcn.14005cb30
lea rcx, [rsi + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x14003cb17
lea r8, str.RegGetValue
mov edx, dword [rsi + 8]
lea rcx, str._i:__s_Error:_Multiple_threads_attempting_execution._n
call fcn.14005cb30
mov eax, 0x54f
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400625f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400695b8
int3
call fcn.14001da60
nop
call fcn.140014df0
nop
call fcn.14001da60
int3
call fcn.1400695b8
int3