Function at 0x1400e5420
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 - 0x258]
sub rsp, 0x358
mov rax, qword [0x140185220]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r13, r9
mov r15, r8
mov qword [rsp + 0x60], rdx
mov r14, rcx
xor ebx, ebx
mov qword [r8], rbx
cmp qword [rcx + 0x60], rbx
jne 0x1400e580d
cmp qword [rcx + 0x18], rbx
je 0x1400e580d
mov rax, qword [rcx + 0x38]
cmp qword [rcx + 0x30], rax
je 0x1400e580d
lea rdi, [rbp - 0x50]
xor eax, eax
mov ecx, 0x80
rep stosb byte [rdi], al
lea r12d, [rbx + 1]
lea r8, [rbp - 0x50]
lea rdx, [0x1401685fc]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, r12d
test eax, eax
cmovne esi, ebx
mov edi, esi
lea r8, [rbp - 0x50]
lea r8, [r8 + rsi*8]
inc esi
lea rdx, str.AllFileSystemObjects
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
cmovne esi, edi
mov edi, esi
mov rcx, qword [r14 + 0x30]
cmp qword [rcx + 0x18], 8
jb 0x1400e54e8
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1400e553a
lea r8, [rbp - 0x50]
lea r8, [r8 + rsi*8]
inc esi
lea rdx, str.Folder
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
cmovne esi, edi
mov edi, esi
lea r8, [rbp - 0x50]
lea r8, [r8 + rsi*8]
inc esi
lea rdx, str.Directory
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
cmovne esi, edi
mov rdx, qword [r14 + 0x30]
mov rcx, qword [rdx + 0x10]
mov rdi, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400e554f
mov rdi, qword [rdx]
mov r8, 0xffffffffffffffff
test rcx, rcx
je 0x1400e5589
dec rcx
mov rax, r8
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rdi + rax*2]
cmp word [rcx], 0x2e
je 0x1400e5581
cmp rcx, rdi
je 0x1400e5589
sub rcx, 2
cmp word [rcx], 0x2e
jne 0x1400e5572
sub rcx, rdi
sar rcx, 1
jmp 0x1400e558c
mov rcx, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], bx
cmp rcx, 0xffffffffffffffff
je 0x1400e56e0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov rax, qword [rdx + 0x10]
cmp rax, rcx
jb 0x1400e5838
sub rax, rcx
cmp rax, 0xffffffffffffffff
cmovb r8, rax
cmp qword [rdx + 0x18], 8
jb 0x1400e55de
mov rdx, qword [rdx]
lea rdx, [rdx + rcx*2]
lea rcx, [rbp - 0x78]
call fcn.14004c390
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400e562c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e5627
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e5832
call fcn.14011460c
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rsp + 0x78], xmm1
lea rbx, [rbp - 0x50]
lea rbx, [rbx + rsi*8]
inc esi
mov edi, esi
lea rdx, [rsp + 0x68]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae rdx, rcx
mov r8, rbx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400e56e0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x30]
call fcn.140118720
mov dword [rsp + 0x58], 0x104
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140162d5c]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e56e0
lea r8, [rbp - 0x50]
lea r8, [r8 + rsi*8]
inc esi
lea rdx, [rbp + 0x30]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
cmovne esi, edi
mov rcx, qword [r14 + 0x60]
test rcx, rcx
je 0x1400e56f2
mov rax, qword [rcx]
mov edx, r12d
call qword [rax + 0x68]
mov ecx, 0x18
call fcn.1401145d0
mov rbx, rax
mov qword [rsp + 0x58], rax
mov rdi, qword [r14 + 0x18]
lea rax, vtable.CIShellFolderHook.0
mov qword [rbx], rax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 8]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], r14
mov qword [r14 + 0x60], rbx
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
lea rax, [0x1400e73c0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9, qword [r14 + 0x20]
mov r8d, dword [r14 + 0x28]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_CDefFolderMenu_Create2]
test eax, eax
js 0x1400e57fb
xor edi, edi
mov ebx, esi
test esi, esi
je 0x1400e5793
nop dword [rax]
mov rcx, qword [rbp + rdi*8 - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, rbx
jl 0x1400e5780
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400e57fb
mov rax, qword [rcx]
mov r8, r15
lea rdx, [0x140152eb0]
call qword [rax]
test eax, eax
jne 0x1400e57ba
mov dword [r13], 3
jmp 0x1400e57da
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov r8, r15
lea rdx, [0x140152e80]
call qword [rax]
test eax, eax
jne 0x1400e57da
mov dword [r13], 2
cmp qword [r15], 0
je 0x1400e57ed
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400e57fe
mov dword [r13], r12d
mov rax, qword [rsp + 0x50]
mov qword [r15], rax
jmp 0x1400e57fe
xor r12d, r12d
lea rcx, [rsp + 0x68]
call fcn.14004b2f0
mov eax, r12d
jmp 0x1400e580f
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1401145b0
add rsp, 0x358
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14011c9a4
nop
call fcn.14004e0d0
int3