Function at 0x14003f750
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rbp + 0x168], rax
mov r15, r8
mov r13, rdx
mov r14, rcx
xor edi, edi
mov dword [rbp + 0x158], edi
mov dword [rsp + 0x30], edi
xor bl, bl
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x158]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003fc7d
test r15, r15
je 0x14003fc7b
mov esi, dword [rsp + 0x30]
test esi, esi
je case.0x14003f7f5.6
mov eax, dword [rbp + 0x158]
dec eax
cmp eax, 0xa
ja case.0x14003f7f5.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x3fcac]
add rcx, rdx
jmp rcx
xor edx, edx
mov r8d, 0x210
lea rcx, [rsp + 0x40]
call fcn.14005c570
cmp rsi, 0x200
jae 0x14003f828
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
lea rsi, [rsp + 0x50]
jmp 0x14003f84d
mov rcx, rsi
call fcn.14003f370
mov qword [rsp + 0x40], rax
mov r8, rdi
test rax, rax
cmovne r8, rsi
mov qword [rsp + 0x48], r8
mov rsi, rax
je 0x14003fc7d
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x158]
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003fb56
mov qword [rbp + 0x150], rdi
mov r8d, dword [rsp + 0x30]
mov rdx, rsi
lea rcx, [rbp + 0x150]
call fcn.140012330
cmp qword [rbp + 0x150], rdi
je 0x14003fb56
lea rdx, [rbp + 0x150]
mov rcx, r15
call fcn.14002e200
mov bl, 1
mov rcx, qword [rbp + 0x150]
test rcx, rcx
je 0x14003fb56
call fcn.140027dd0
jmp 0x14003fb56
xor edx, edx
mov r8d, 0x210
lea rcx, [rsp + 0x40]
call fcn.14005c570
cmp rsi, 0x200
jae 0x14003f8fe
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
lea r12, [rsp + 0x50]
jmp 0x14003f923
mov rcx, rsi
call fcn.14003f370
mov qword [rsp + 0x40], rax
mov rcx, rdi
test rax, rax
cmovne rcx, rsi
mov qword [rsp + 0x48], rcx
mov r12, rax
je 0x14003fc7d
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x158]
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003fb56
mov eax, dword [rsp + 0x30]
cmp eax, 2
jb 0x14003fb4c
mov esi, eax
shr rsi, 1
mov ecx, 0x40
call fcn.14005a6bc
mov rbx, rax
test rax, rax
je 0x14003f9a6
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov rcx, rax
call fcn.14002ec10
lea rax, [0x14007dd98]
mov qword [rbx], rax
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0x38], rdi
jmp 0x14003f9a9
mov rbx, rdi
test rbx, rbx
je 0x14003f9b6
mov rcx, rbx
call fcn.140027e60
mov qword [rbp + 0x150], rbx
mov rbx, rdi
test rsi, rsi
je 0x14003fa5e
mov r14d, 2
nop
cmp word [r12 + r14 - 2], 0
jne 0x14003fa1c
lea rax, [rsi - 1]
cmp rbx, rax
jb 0x14003f9e7
cmp rbx, rdi
jbe 0x14003fa18
mov r8, rbx
sub r8, rdi
lea rdx, [r12 + rdi*2]
lea rcx, [rbp + 0x160]
call fcn.14001b5a0
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.14003f5f0
lea rcx, [rbp + 0x160]
call fcn.14001bed0
lea rdi, [rbx + 1]
inc rbx
add r14, 2
cmp rbx, rsi
jb 0x14003f9d0
cmp rsi, rdi
jbe 0x14003fa5e
sub rsi, rdi
lea rdx, [r12 + rdi*2]
mov r8, rsi
lea rcx, [rbp + 0x160]
call fcn.14001b5a0
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.14003f5f0
lea rcx, [rbp + 0x160]
call fcn.14001bed0
lea rdx, [rbp + 0x150]
mov rcx, r15
call fcn.14002e360
mov bl, 1
mov rcx, qword [rbp + 0x150]
test rcx, rcx
je 0x14003fb56
call fcn.140027dd0
jmp 0x14003fb56
xor edx, edx
mov r8d, 0x210
lea rcx, [rsp + 0x40]
call fcn.14005c570
cmp rsi, 0x200
jae 0x14003faba
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
lea rsi, [rsp + 0x50]
jmp 0x14003fadf
mov rcx, rsi
call fcn.14003f370
mov qword [rsp + 0x40], rax
mov rcx, rdi
test rax, rax
cmovne rcx, rsi
mov qword [rsp + 0x48], rcx
mov rsi, rax
je 0x14003fc7d
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x158]
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003fb56
mov eax, dword [rsp + 0x30]
cmp eax, 2
jb 0x14003fb4c
mov qword [rbp + 0x150], rdi
shr eax, 1
lea r8d, [rax - 1]
mov rdx, rsi
lea rcx, [rbp + 0x150]
call fcn.14001b5a0
lea rdx, [rbp + 0x150]
mov rcx, r15
call fcn.14002e250
mov bl, 1
lea rcx, [rbp + 0x150]
call fcn.14001bed0
jmp 0x14003fb56
mov rcx, r15
call fcn.14002e210
mov bl, 1
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14003fc7d
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x14003fc7d
call fcn.14003f4a0
jmp 0x14003fc7d
cmp esi, 4
jne 0x14003fc7d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x158]
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003fc7d
cmp dword [rsp + 0x30], esi
jne 0x14003fc7d
cmp dword [rbp + 0x158], esi
jne 0x14003fbde
mov edx, dword [rbp + 0x150]
mov rcx, r15
call fcn.14002e300
jmp 0x14003fc7b
mov ecx, dword [rbp + 0x150]
mov dword [rbp + 0x160], ecx
movzx eax, byte [rbp + 0x153]
mov byte [rbp + 0x160], al
mov byte [rbp + 0x163], cl
movzx ecx, byte [rbp + 0x161]
movzx eax, byte [rbp + 0x162]
mov byte [rbp + 0x161], al
mov byte [rbp + 0x162], cl
mov edx, dword [rbp + 0x160]
mov rcx, r15
call fcn.14002e300
jmp 0x14003fc7b
cmp esi, 8
jne 0x14003fc7d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x158]
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003fc7d
cmp dword [rsp + 0x30], esi
jne 0x14003fc7d
mov rdx, qword [rbp + 0x150]
mov rcx, r15
call fcn.14002e330
jmp 0x14003fc7b
mov rcx, r15
call fcn.14002e210
mov bl, 1
movzx eax, bl
mov rcx, qword [rbp + 0x168]
xor rcx, rsp
call fcn.14005a330
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret