Function at 0x140051d30
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7f8]
sub rsp, 0x8d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401cee90]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r12, rcx
mov qword [rbp - 0x58], rcx
xor r15d, r15d
mov dword [rsp + 0x38], r15d
mov r14d, r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov qword [rbp - 0x80], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsiexplore.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140051dd3
mov dword [rsp + 0x50], r15d
mov ebx, r15d
mov r14, qword [rbp - 0x80]
mov qword [rsp + 0x48], r14
mov ecx, dword [0x1401d6d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x66666667
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub r8d, eax
cmp r8d, 1
jne 0x140051e2c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 6
lea eax, [rdx + rdx*4]
shl eax, 4
sub ecx, eax
lea eax, [rcx + 1]
mov dword [0x1401d6d80], eax
test ebx, ebx
je 0x140052257
mov qword [rbp - 0x78], r15
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.IE.AssocFile.HTM_shellopencommand
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140051e8e
mov eax, r15d
test r14, r14
je 0x140051e78
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov r14, qword [rbp - 0x78]
mov qword [rsp + 0x48], r14
test eax, eax
je 0x140052257
lea rcx, [rsp + 0x30]
call fcn.14002ce00
nop
mov rcx, qword [rsp + 0x30]
cmp dword [rcx - 0x10], 0
je 0x140052093
mov eax, dword [0x1401d6d80]
lea r8d, [rax + 1]
imul r8d, eax
mov eax, 0x2aaaaaab
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 5
jne 0x140051edd
dec dword [0x1401d81fc]
mov edx, dword [rcx - 0x10]
lea eax, [rdx - 1]
test eax, eax
js 0x140052088
cmp eax, edx
jg 0x140052088
cdqe
cmp word [rcx + rax*2], 0x5c
je 0x140051f13
mov r8d, 1
lea rdx, [0x14015da3c]
lea rcx, [rsp + 0x30]
call fcn.140010c10
lea r8, str.Internet_Exploreriexplore.exe
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.14001b580
nop
lea rcx, [rsp + 0x68]
call fcn.14002d3e0
test al, al
je 0x140051fe2
mov ecx, dword [0x1401d6d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x66666667
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub r8d, eax
cmp r8d, 1
jne 0x140051f87
mov edx, 0xe9
lea r8d, [rdx + 1]
lea rcx, [0x14015da8c]
call fcn.1400d5714
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
call fcn.1400027c0
add rax, 0x18
mov qword [r12], rax
mov dword [rsp + 0x38], 1
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051fbf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005255e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
jmp 0x14005255e
mov r8d, dword [0x1401d6d80]
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 9
jne 0x14005206d
movsd xmm3, qword [0x140164068]
xorps xmm2, xmm2
movd xmm4, r8d
cvtdq2pd xmm4, xmm4
movsd xmm5, qword [0x140164090]
movsd xmm6, qword [0x140164060]
nop word [rax + rax]
addsd xmm2, xmm3
movaps xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x140052059
subsd xmm2, xmm3
divsd xmm3, xmm5
movaps xmm1, xmm2
mulsd xmm1, xmm2
movaps xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmm6
ja 0x140052040
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140052093
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140052093
mov ecx, 0x80070057
call fcn.140001920
int3
lea rcx, [rbp - 0x68]
call fcn.14002d180
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x30]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400520f6
cmp dword [rbx + 0x10], 0
jl 0x1400520e7
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400520e7
call fcn.1400027c0
mov rsi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x1400520dc
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x1400520f6
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140002670
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005210e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax - 0x10]
test ecx, ecx
je 0x1400521f6
lea edx, [rcx - 1]
test edx, edx
js 0x1400521eb
cmp edx, ecx
jg 0x1400521eb
movsxd rcx, edx
cmp word [rax + rcx*2], 0x5c
je 0x140052152
mov r8d, 1
lea rdx, [0x14015da7c]
lea rcx, [rsp + 0x30]
call fcn.140010c10
lea r8, [0x14015fb48]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14001b580
nop
call fcn.14004fe20
lea rcx, [rsp + 0x70]
call fcn.14002d3e0
test al, al
je 0x1400521d0
mov rcx, qword [rsp + 0x70]
add rcx, 0xffffffffffffffe8
call fcn.1400027c0
add rax, 0x18
mov qword [r12], rax
mov dword [rsp + 0x38], 1
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400521b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005255e
mov rcx, qword [rdx]
jmp 0x140052557
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400521f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400521f6
mov ecx, 0x80070057
call fcn.140001920
int3
lea rcx, str.D_r_
mov rax, qword [str.D_r_]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12], rax
lea rdx, [0x14015dac4]
test rdx, 0xffffffffffff0000
jne 0x14005223e
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14005224a
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call fcn.140002960
jmp 0x14005224a
xor r8d, r8d
mov rcx, r12
call fcn.140002670
nop
mov dword [rsp + 0x38], 1
jmp 0x1400521b4
mov word [rbp - 0x50], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x4e]
call fcn.1400da240
lea rcx, str.D_r_
mov rax, qword [str.D_r_]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov ecx, dword [0x1401d6d80]
imul ecx, ecx
mov eax, 0x30c30c31
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub ecx, edx
cmp ecx, 2
jne 0x1400522d3
mov eax, 1
lea edx, [rcx + 0x33]
mov r8d, eax
nop word [rax + rax]
lea ecx, [rax + r8]
lea r8d, [rax]
mov eax, ecx
dec edx
jns 0x1400522c0
mov dword [0x1401d6d80], ecx
mov dword [rsp + 0x60], 0x800
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, [0x14015daac]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x140052449
mov eax, dword [rsp + 0x78]
dec eax
cmp eax, 1
ja 0x140052449
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140052341
test al, 1
jne 0x140052449
shr rax, 1
cmp word [rbp + rax*2 - 0x52], 0
je 0x140052346
jmp 0x140052449
mov word [rbp - 0x50], r15w
lea rax, [rbp - 0x50]
mov rsi, rdi
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140052350
test esi, esi
jne 0x1400523bf
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140052449
cmp dword [rdx + 0x10], 0
jge 0x140052393
cmp dword [rbx - 0xc], 0
jge 0x140052386
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x140052449
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400523a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov r14, qword [rsp + 0x48]
jmp 0x140052449
mov r13d, dword [rbx - 0x10]
lea r15, [rbp - 0x50]
sub r15, rbx
sar r15, 1
test esi, esi
jns 0x1400523dc
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x1400523fe
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.140002760
mov rbx, qword [rsp + 0x40]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r15, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140052422
lea r8, [rbx + r15*2]
call fcn.1400d562c
jmp 0x14005242b
lea r8, [rbp - 0x50]
call fcn.1400d57ec
cmp esi, dword [rbx - 0xc]
jg 0x14005243e
mov dword [rbx - 0x10], esi
xor r15d, r15d
mov word [r13 + rbx], r15w
jmp 0x140052449
mov ecx, 0x80070057
call fcn.140001920
int3
test r14, r14
je 0x14005245c
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov eax, dword [rbx - 0x10]
test eax, eax
jns 0x140052473
mov ecx, 0x80070057
call fcn.140001920
int3
cmp word [rbx], 0x22
jne 0x14005252f
cmp eax, 1
jge 0x140052486
mov eax, edi
jmp 0x1400524a5
lea rcx, [rbx + 2]
lea rdx, [0x14015da94]
call fcn.1400d5c54
test rax, rax
jne 0x14005249f
mov eax, edi
jmp 0x1400524a5
sub rax, rbx
sar rax, 1
lea r9d, [rax - 1]
mov r8d, 1
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140010060
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140052512
cmp dword [rbx + 0x10], 0
jl 0x140052503
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140052503
call fcn.1400027c0
mov rsi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x1400524f8
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x40], rax
jmp 0x140052512
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140002670
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005252a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx - 0x18]
call fcn.1400027c0
add rax, 0x18
mov qword [r12], rax
mov dword [rsp + 0x38], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x14005255e
mov rcx, qword [rbx - 0x18]
lea rdx, [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140052573
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r15
mov rax, r12
mov dword [rsp + 0x50], r15d
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400d4e00
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret