Function at 0x14003dae0
Capabilities:
Query or enumerate registry key
Set 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 + 0x2f], rax
mov rbx, rcx
add rcx, 0x48
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14003e4b8
xor r15d, r15d
mov qword [rbp + 7], r15
lea rdx, [rbp + 7]
mov rcx, qword [rbx + 0x78]
call fcn.14005bc00
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x14003db55
test al, al
je 0x14003db55
call fcn.140069370
mov rax, qword [rbp + 7]
mov qword [rbx + 0x78], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14003db8a
mov qword [rbp + 7], r15
lea rdx, [rbp + 7]
call fcn.14005bc00
mov rdi, qword [rbp + 7]
test rdi, rdi
je 0x14003db8a
mov rcx, qword [rbx + 0x80]
call fcn.140069370
mov qword [rbx + 0x80], rdi
mov dword [rbp + 0x1b], r15d
mov r12, r15
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x14003dc19
mov qword [rbp + 7], r15
lea rdx, [rbp + 7]
call fcn.14005bc00
test al, al
je 0x14003dbe2
mov rcx, qword [rbx + 0x88]
call fcn.140069370
mov rax, qword [rbp + 7]
mov qword [rbx + 0x88], rax
mov dword [rbx + 0xcc], 1
cmp byte [rbx + 0xd0], r12b
je 0x14003dbe2
mov dword [rbx + 0xcc], 7
mov rax, qword [rbx + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x78]
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s__s___s_s_Begin._n
call fcn.14005cb30
jmp 0x14003de2f
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14003dc44
call sym.Installer.exe_Get
mov dword [rbp + 0x1b], eax
mov dword [rbx + 0xcc], 4
mov dword [rsp + 0x30], eax
mov rax, qword [rbx + 0xb0]
jmp 0x14003dc6d
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x14003dc9d
call sym.Installer.exe_Get
mov dword [rbp + 0x1b], eax
mov dword [rbx + 0xcc], 0xb
mov dword [rsp + 0x30], eax
mov rax, qword [rbx + 0xb8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x78]
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s__s___s__S__i_Begin._n
call fcn.14005cb30
jmp 0x14003de2f
cmp byte [rbx + 0xac], 1
jne 0x14003dce8
mov eax, dword [rbx + 0xa8]
mov dword [rbp + 0x1b], eax
mov dword [rbx + 0xcc], 4
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x78]
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s__s___s_i_Begin._n
call fcn.14005cb30
jmp 0x14003de2f
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
jne 0x14003ddf3
cmp byte [rbx + 0xd0], r12b
jne 0x14003ddf3
mov rcx, qword [rbx + 0xc0]
test rcx, rcx
je 0x14003ddbe
call sym.Installer.exe_Get
mov r12, rax
test rax, rax
jne 0x14003dd8c
lea ecx, [rax + 0x18]
call fcn.140062618
mov r12, rax
mov qword [rbp + 0x1f], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], rax
lea rax, vtable.CBuffer.0
mov qword [r12], rax
mov ecx, 1
call fcn.140062c38
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], 1
test rax, rax
jne 0x14003dd7a
call fcn.14006f0c4
mov dword [rax], 0x16
call fcn.140069598
jmp 0x14003dd7d
mov byte [rax], 0
mov rdx, r12
mov rcx, qword [rbx + 0xc0]
call sym.Installer.exe_Put
mov dword [rbx + 0xcc], 3
mov rax, qword [rbx + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x78]
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s__s___s_Binary_Begin._n
call fcn.14005cb30
jmp 0x14003de2f
mov rcx, qword [rbx + 0x90]
test rcx, rcx
je 0x14003de2f
call sym.Installer.exe_Get
test rax, rax
je 0x14003de2f
mov rcx, qword [rax + 8]
call fcn.140069798
mov qword [rbx + 0x88], rax
mov dword [rbx + 0xcc], 1
jmp 0x14003dbe9
call sym.Installer.exe_Get
mov qword [rbx + 0x98], rax
mov rax, qword [rbx + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x78]
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s__s___s_Multisz_Begin._n
call fcn.14005cb30
mov dword [rbx + 0xcc], 7
cmp byte [rbx + 0xc8], 0
je 0x14003e235
mov dword [rbp + 0x27], r15d
mov dword [rbp + 0x17], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14003e47d
mov eax, dword [rbp + 0x17]
inc eax
mov dword [rbp + 0x17], eax
mov ecx, eax
mov edx, 2
call fcn.140069790
mov rsi, rax
mov r13d, r15d
lea rdi, str.S_1_5_18
mov r14, 0xffffffffffffffff
nop dword [rax]
mov eax, dword [rbp + 0x17]
mov dword [rbp + 0x2b], eax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x2b]
mov r8, rsi
mov edx, r13d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rbp + 0xf], eax
mov rdx, r14
nop word [rax + rax]
movzx ecx, word [rsi + rdx*2 + 2]
cmp cx, word [rdi + rdx*2 + 2]
jne 0x14003df24
add rdx, 2
cmp rdx, 9
je 0x14003e212
movzx eax, word [rsi + rdx*2]
cmp ax, word [rdi + rdx*2]
je 0x14003df00
mov rcx, r14
lea rdx, str.S_1_5_19
nop
movzx eax, word [rsi + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x14003df54
add rcx, 2
cmp rcx, 9
je 0x14003e212
movzx eax, word [rsi + rcx*2]
cmp ax, word [rdx + rcx*2]
je 0x14003df30
mov rcx, r14
lea rdx, str.S_1_5_20
nop
movzx eax, word [rsi + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x14003df84
add rcx, 2
cmp rcx, 9
je 0x14003e212
movzx eax, word [rsi + rcx*2]
cmp ax, word [rdx + rcx*2]
je 0x14003df60
mov r9, rsi
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s_Using_from_key_root__s._n
call fcn.14005cb30
lea rcx, str.int_x86
call sym.Installer.exe_Get
mov r15, rax
lea rdi, [rbx + 0x70]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000003
test eax, eax
mov r9d, 0xf013f
je 0x14003dfd2
mov r9d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14003dffd
mov r9, rsi
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s_Could_not_open_key_HKEY_USERS_s._n
call fcn.14005cb30
xor r15d, r15d
jmp 0x14003e20b
mov rdx, qword [rbx + 0x78]
mov rcx, qword [rdi]
lea rax, [rbp + 7]
xor r9d, r9d
xor r8d, r8d
test r15d, r15d
jne 0x14003e02f
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf013f
jmp 0x14003e049
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14003e07b
mov dword [rsp + 0x20], eax
mov r9, qword [rbx + 0x78]
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s_Could_not_create_key__s._Error__d._n
call fcn.14005cb30
jmp 0x14003e20b
mov ecx, dword [rbx + 0xcc]
sub ecx, 1
je 0x14003e192
sub ecx, 2
je 0x14003e180
sub ecx, 1
je 0x14003e167
sub ecx, 3
je 0x14003e0cb
cmp ecx, 4
jne 0x14003e201
mov eax, dword [rbp + 0x1b]
mov qword [rbp + 0x1f], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
lea r9d, [rcx + 7]
jmp 0x14003e1c1
mov rcx, qword [rbx + 0x98]
test rcx, rcx
je 0x14003e13e
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1400926f0]
mov rdi, rax
add edi, edi
mov rdx, qword [rbx + 0x98]
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x50]
mov rcx, rdx
call qword [0x1400926f0]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rbx + 0x80]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rbx + 0x98]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [0x1400926f0]
jmp 0x14003e1d7
lea rcx, str._1_Multi_string_variable_is_null__setting_string_value___
call fcn.14005cb30
mov rcx, qword [rbx + 0x88]
mov rax, r14
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14003e154
mov r9d, 7
jmp 0x14003e1b1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x1b]
mov qword [rsp + 0x20], rax
mov r9d, 4
jmp 0x14003e1c1
mov eax, dword [r12 + 0x10]
mov rcx, qword [r12 + 8]
mov r9d, 3
jmp 0x14003e1b8
mov rcx, qword [rbx + 0x88]
mov rax, r14
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14003e1a0
mov r9d, 1
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, qword [rbx + 0x80]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x14003e201
mov rax, qword [rbx + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x80]
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s_Could_not_set_value__s_in_key__s._n
call fcn.14005cb30
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdi, str.S_1_5_18
inc r13d
cmp dword [rbp + 0xf], 0
je 0x14003dec0
test rsi, rsi
je 0x14003e47d
mov rcx, rsi
call fcn.140069370
jmp 0x14003e47d
mov qword [rbp + 0xf], r15
lea rcx, str.int_x86
call sym.Installer.exe_Get
test eax, eax
jne 0x14003e26e
cmp dword [rbx + 0xd4], eax
je 0x14003e26e
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0xf]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf013f
jmp 0x14003e289
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0xf]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx + 0x78]
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14003e2c9
mov dword [rsp + 0x20], eax
mov r9, qword [rbx + 0x78]
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s_Could_not_create_key__s._Error__d._n
call fcn.14005cb30
jmp 0x14003e47d
mov ecx, dword [rbx + 0xcc]
sub ecx, 1
je 0x14003e3ff
sub ecx, 2
je 0x14003e3ed
sub ecx, 1
je 0x14003e3d4
sub ecx, 3
je 0x14003e319
cmp ecx, 4
jne 0x14003e473
mov eax, dword [rbp + 0x1b]
mov qword [rbp + 0x1f], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
lea r9d, [rcx + 7]
jmp 0x14003e433
mov rcx, qword [rbx + 0x98]
test rcx, rcx
je 0x14003e38c
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1400926f0]
mov rdi, rax
add edi, edi
mov rdx, qword [rbx + 0x98]
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x50]
mov rcx, rdx
call qword [0x1400926f0]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rbx + 0x80]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rbx + 0x98]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [0x1400926f0]
jmp 0x14003e449
lea rcx, str._2_Multi_string_variable_is_null__setting_string_value___
call fcn.14005cb30
cmp byte [rbx + 0xd0], 0
je 0x14003e473
lea rcx, str.Force_Multi_Sz_is_not_null___
call fcn.14005cb30
mov rcx, qword [rbx + 0x88]
mov r14, 0xffffffffffffffff
nop
lea r14, [r14 + 1]
cmp word [rcx + r14*2], 0
jne 0x14003e3c0
mov r9d, 7
jmp 0x14003e422
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x1b]
mov qword [rsp + 0x20], rax
mov r9d, 4
jmp 0x14003e433
mov eax, dword [r12 + 0x10]
mov rcx, qword [r12 + 8]
mov r9d, 3
jmp 0x14003e42a
mov rcx, qword [rbx + 0x88]
mov r14, 0xffffffffffffffff
nop dword [rax]
lea r14, [r14 + 1]
cmp word [rcx + r14*2], 0
jne 0x14003e410
mov r9d, 1
lea eax, [r14*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, qword [rbx + 0x80]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x14003e473
mov rax, qword [rbx + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x80]
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s_Could_set_value__s_in_key__s._n
call fcn.14005cb30
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rbx + 0x10], 1
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x1400926f0]
mov r9d, eax
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s_End_execute._Next_command__i._n
call fcn.14005cb30
lea rcx, [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x14003e4d3
lea r8, str.RegSetValue
mov edx, dword [rbx + 8]
lea rcx, str._i:__s_Error:_Multiple_threads_attempting_execution._n
call fcn.14005cb30
mov eax, 0x54f
mov rcx, qword [rbp + 0x2f]
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