Function at 0x14003d408
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x298]
sub rsp, 0x398
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x1401a2e90]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rdi, r9
mov qword [rsp + 0x40], r9
mov r13, r8
mov qword [rsp + 0x50], r8
mov r12, rdx
mov qword [rsp + 0x68], rdx
mov r15, rcx
mov qword [rsp + 0x58], rcx
mov r14, qword [rbp + 0x300]
mov qword [rsp + 0x78], r14
mov dword [rsp + 0x48], 4
mov r8d, dword [0x1401aad80]
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
mov eax, 0x6bca1af3
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
mov eax, ecx
sub eax, edx
cmp eax, 5
jne 0x14003d4e9
movsd xmm3, qword [0x14013f170]
xorps xmm2, xmm2
movd xmm4, r8d
cvtdq2pd xmm4, xmm4
addsd xmm2, xmm3
movaps xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x14003d4d1
subsd xmm2, xmm3
divsd xmm3, qword [0x14013f198]
movaps xmm1, xmm2
mulsd xmm1, xmm2
movaps xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmmword [0x14013f168]
ja 0x14003d4b4
xor eax, eax
mov dword [rsp + 0x30], eax
lea esi, [rax + 1]
and ecx, 0x80000007
jge 0x14003d501
sub ecx, esi
or ecx, 0xfffffff8
add ecx, esi
cmp ecx, 6
jne 0x14003d520
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
lea rcx, [0x1401a29a8]
mov rax, qword [0x1401a29a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov ebx, dword [0x1401aad80]
mov ecx, ebx
imul ecx, ebx
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
cmp ecx, 3
jne 0x14003d5d0
xor r9d, r9d
lea r8, [rbp - 0x70]
mov r11b, bl
sub r11b, r9b
mov r10d, esi
mov edi, 5
xor r15d, r15d
mov eax, ebx
cdq
idiv r10d
mov r13d, edx
mov r12d, esi
mov eax, ebx
cdq
idiv r12d
mov ecx, eax
mov al, r11b
imul cl
mov cl, al
mov al, r13b
imul cl
mov byte [r8 + r15], al
add r12d, esi
add r15, rsi
cmp r15, 0xa
jl 0x14003d583
add r10d, esi
add r8, 0xa
sub rdi, rsi
jne 0x14003d574
add r9d, esi
cmp r9d, 0xf
jl 0x14003d566
mov rdi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x50]
mov rax, qword [r14]
cmp dword [rax - 0x10], 0
je 0x14003d615
lea r8, [0x14013ad98]
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140019018
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002038
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14003d615
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [0x1401a29a8]
mov rax, qword [0x1401a29a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.14003bb40
nop
mov r8, rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.14000de60
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002038
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or r13d, 0xffffffff
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003d687
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003d6a8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14003d735
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003d6ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003d70f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003d72e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x14003d7e4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, qword [r12]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov ecx, dword [rsp + 0x30]
mov dword [r15], ecx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x14003d77f
cmp dword [rsp + 0x60], 4
je 0x14003d782
xor sil, sil
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003d79f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003d7c1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov ecx, r13d
lock xadd dword [rdx + 0x10], ecx
add ecx, r13d
test ecx, ecx
jg 0x14003d7e1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov al, sil
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400bd920
add rsp, 0x398
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret