Function at 0x14003a310
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x14009b010]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x38], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
mov dword [rsp + 0x30], 1
lea rsi, [rcx + 8]
mov r15, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003a37f
mov r15, qword [rsi]
mov r8d, 1
lea rdx, [rbp + 0x110]
mov rcx, qword [rcx]
call fcn.140044280
mov ebx, dword [rbp + 0x110]
test ebx, ebx
jne 0x14003a829
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xc0]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14003a829
mov eax, dword [rbp + 0xc0]
sub eax, 1
je 0x14003a64f
sub eax, 3
je 0x14003a575
cmp eax, 3
jne 0x14003a866
xorps xmm0, xmm0
mov ebx, dword [rbp + 0xb8]
shr rbx, 1
movdqu xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r12
je 0x14003a44e
lfence
mov rdx, rbx
lea rcx, [rbp + 0xc8]
call fcn.140005780
mov qword [rbp + 0xc8], rax
lea r8, [rbx + rbx]
lea rbx, [rax + r8]
mov qword [rbp + 0xd8], rbx
xor edx, edx
mov rcx, rax
call fcn.14004a420
mov qword [rbp + 0xd0], rbx
mov r15, qword [rbp + 0xc8]
cmp qword [rsi + 0x18], 8
jb 0x14003a45f
mov rsi, qword [rsi]
mov r8d, 1
lea rdx, [rbp + 0x120]
mov rcx, qword [r14]
call fcn.140044280
mov ebx, dword [rbp + 0x120]
test ebx, ebx
jne 0x14003a899
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xc0]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14003a899
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0xe0], rax
mov rbx, rax
mov qword [rbp + 0xe8], rax
mov rcx, qword [rbp + 0xd0]
cmp rax, rcx
je 0x14003a564
mov esi, 7
cmp word [rbx], 0
jne 0x14003a554
cmp rbx, rax
jne 0x14003a4f5
add rax, 2
jmp 0x14003a54d
mov rcx, qword [rdi + 8]
cmp rcx, qword [rdi + 0x10]
je 0x14003a522
mov qword [rcx], r12
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], rsi
mov r8, rbx
sub r8, rax
sar r8, 1
mov rdx, rax
call fcn.140005330
add qword [rdi + 8], 0x20
jmp 0x14003a542
lea r9, [rbp + 0xe8]
lea r8, [rbp + 0xe0]
mov rdx, rcx
mov rcx, rdi
call fcn.14003b580
mov rbx, qword [rbp + 0xe8]
lea rax, [rbx + 2]
mov rcx, qword [rbp + 0xd0]
mov qword [rbp + 0xe0], rax
add rbx, 2
mov qword [rbp + 0xe8], rbx
cmp rbx, rcx
jne 0x14003a4e4
lea rcx, [rbp + 0xc8]
call fcn.14003b380
jmp 0x14003a7bb
mov dword [rbp + 0xb8], 4
cmp qword [rsi + 0x18], 8
jb 0x14003a589
mov rsi, qword [rsi]
mov r8d, 1
lea rdx, [rbp + 0x130]
mov rcx, qword [r14]
call fcn.140044280
mov ebx, dword [rbp + 0x130]
test ebx, ebx
jne 0x14003a8d5
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xbc]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc0]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14003a8d5
mov edx, dword [rbp + 0xbc]
lea rcx, [rsp + 0x40]
call fcn.140037d10
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400370c0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14003a7bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a7b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a823
jmp 0x14003a7b6
xor r8d, r8d
mov edx, dword [rbp + 0xb8]
shr rdx, 1
lea rcx, [rbp + 0xf0]
call fcn.1400228e0
nop
lea r15, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae r15, qword [rbp + 0xf0]
cmp qword [rsi + 0x18], 8
jb 0x14003a689
mov rsi, qword [rsi]
mov r8d, 1
lea rdx, [rbp + 0x140]
mov rcx, qword [r14]
call fcn.140044280
mov ebx, dword [rbp + 0x140]
test ebx, ebx
jne 0x14003a7e9
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xc0]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14003a7e9
lea rax, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae rax, qword [rbp + 0xf0]
mov edx, dword [rbp + 0xb8]
shr rdx, 1
cmp word [rax + rdx*2 - 2], bx
jne 0x14003a71a
xor r8d, r8d
dec rdx
lea rcx, [rbp + 0xf0]
call fcn.14003b4f0
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14003a766
mov qword [rdx], r12
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rbp + 0xf0]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x100]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp + 0x100], r12
mov esi, 7
mov qword [rbp + 0x108], rsi
mov word [rbp + 0xf0], r12w
add qword [rdi + 8], 0x20
jmp 0x14003a77c
lea r8, [rbp + 0xf0]
mov rcx, rdi
call fcn.140037110
mov rsi, qword [rbp + 0x108]
cmp rsi, 8
jb 0x14003a7bb
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a7b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a90f
call fcn.1400452ac
mov rax, rdi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140045000
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov r8, r14
lea rdx, str.Failed_to_read_string_registry_value_as_multi_string
lea rcx, [rbp + 0x78]
call fcn.14003d930
mov r9, rax
call fcn.1400170a0
mov r8, rax
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140039070
lea rdx, [0x1400990b0]
lea rcx, [rbp - 0x38]
call fcn.14004a344
nop
call fcn.14004eb2c
int3
mov r8, r14
lea rdx, str.Failed_to_read_registry_value_as_string
lea rcx, [rbp + 0x98]
call fcn.14003d930
mov r9, rax
call fcn.1400170a0
mov r8, rax
mov edx, ebx
lea rcx, [rbp - 0x10]
call fcn.140039070
lea rdx, [0x1400990b0]
lea rcx, [rbp - 0x10]
call fcn.14004a344
nop
mov r8, r14
lea rdx, str.Not_a_suitable_registry_value_to_represent_as_a_multi_string
lea rcx, [rbp + 0x18]
call fcn.14003d930
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001a50
lea rdx, [0x1400990d0]
lea rcx, [rsp + 0x60]
call fcn.14004a344
nop
mov r8, r14
lea rdx, str.Failed_to_read_string_registry_value_as_multi_string
lea rcx, [rbp + 0x38]
call fcn.14003d930
mov r9, rax
call fcn.1400170a0
mov r8, rax
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.140039070
lea rdx, [0x1400990b0]
lea rcx, [rsp + 0x78]
call fcn.14004a344
nop
mov r8, r14
lea rdx, str.Failed_to_provide_integer_registry_value_as_string
lea rcx, [rbp + 0x58]
call fcn.14003d930
mov r9, rax
call fcn.1400170a0
mov r8, rax
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.140039070
lea rdx, [0x1400990b0]
lea rcx, [rbp - 0x60]
call fcn.14004a344
nop
call fcn.14004eb2c
int3