Function at 0x1401d84a0
Capabilities:
Enumerate disk volumes
Get common file path
Get disk information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xf50]
mov eax, 0x1050
call fcn.140359d40
sub rsp, rax
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0xf40], rax
mov ecx, 0x40
call fcn.1403590cc
mov rbx, rax
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movss dword [rsp + 0x30], xmm0
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
xor r14d, r14d
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
lfence
lea ecx, [r14 + 0x40]
call fcn.1403590cc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
lea edx, [r14 + 0x10]
call fcn.14008f7e0
nop
mov qword [0x140687620], rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
lfence
lea ecx, [r14 + 0x40]
call fcn.1403590cc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x70]
call fcn.1401d8f60
mov rbx, qword [rbp - 0x70]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r14b
jne 0x1401d8622
nop dword [rax]
lea rcx, [rbx + 0x20]
cmp qword [rcx + 0x18], 8
jb 0x1401d85be
mov rcx, qword [rcx]
xor r8d, r8d
lea rdx, str._profile
call fcn.1401d7f70
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1401d85f9
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401d85f4
cmp rbx, qword [rax + 0x10]
jne 0x1401d85f4
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401d85e1
mov rbx, rax
jmp 0x1401d861c
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401d861c
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401d8610
cmp byte [rbx + 0x19], 0
je 0x1401d85b0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str..DEFAULTSoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401d8781
lea rbx, str.374DE290_123F_4565_9164_39C4925E467B
lea r15, [0x1405e91b0]
nop
mov dword [rbp - 0x78], 0x208
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x910]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401d876a
cmp dword [rbp - 0x78], 0x1a
jbe 0x1401d876a
lea r8d, [rax + 0xd]
lea rdx, [rbp + 0x910]
lea rcx, str._USERPROFILE_
call fcn.14036ef28
test eax, eax
jne 0x1401d876a
mov rdi, qword [rbx + 0x10]
mov rsi, qword [rbx + 8]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
lea rax, [rbp + 0x910]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1401d86f0
lea rdx, [rbp + 0x910]
lea rcx, [rsp + 0x38]
call fcn.1400739a0
nop
mov r9, rdi
mov r8, rsi
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.1401d8290
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1401d8764
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d875f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8f4d
call fcn.140359090
mov word [rsp + 0x38], r14w
add rbx, 0x18
cmp rbx, r15
jne 0x1401d8660
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str..DEFAULTEnvironment
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401d88c6
mov dword [rbp - 0x74], 0x208
lea rax, [rbp - 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xb20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x5c]
xor r8d, r8d
lea rdx, str.TEMP
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401d88bc
cmp dword [rbp - 0x74], 0x1a
jbe 0x1401d88bc
lea r8d, [rax + 0xd]
lea rdx, [rbp + 0xb20]
lea rcx, str._USERPROFILE_
call fcn.14036ef28
test eax, eax
jne 0x1401d88bc
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
lea rax, [rbp + 0xb20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401d8840
lea rdx, [rbp + 0xb20]
lea rcx, [rsp + 0x58]
call fcn.1400739a0
nop
lea r9, [0x1401d9640]
lea r8, str._temp
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.1401d8290
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1401d88bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d88b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8f59
call fcn.140359090
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1401d8ad0
lea rax, [rbp + 0xd0]
mov r9, 0xffffffffffffffff
nop
inc r9
cmp word [rax + r9*2], 0
jne 0x1401d88f0
lea rbx, [r9 + 4]
xor dil, dil
test r9, r9
je 0x1401d8919
cmp word [rbp + r9*2 + 0xce], 0x5c
je 0x1401d8919
inc rbx
mov dil, 1
inc rbx
cmp rbx, 0x104
ja 0x1401d8997
mov word [rbp + 0x4f0], r14w
lfence
lea r8, [rbp + 0xd0]
mov rdx, rbx
lea rcx, [rbp + 0x4f0]
call fcn.140375ff4
test dil, dil
je 0x1401d8964
lfence
lea r8, [0x1405e45bc]
mov rdx, rbx
lea rcx, [rbp + 0x4f0]
call fcn.140374040
lfence
lea r8, str.Temp
mov rdx, rbx
lea rcx, [rbp + 0x4f0]
call fcn.140374040
lea r8, [0x1401d9640]
lea rdx, str._temp
lea rcx, [rbp + 0x4f0]
call fcn.1401d7f70
lea rax, [rbp + 0xd0]
mov r9, 0xffffffffffffffff
inc r9
cmp word [rax + r9*2], 0
jne 0x1401d89a5
lea rbx, [r9 + 6]
xor dil, dil
test r9, r9
je 0x1401d89ce
cmp word [rbp + r9*2 + 0xce], 0x5c
je 0x1401d89ce
inc rbx
mov dil, 1
inc rbx
cmp rbx, 0x104
ja 0x1401d8ad0
mov word [rbp + 0x700], r14w
lfence
lea r8, [rbp + 0xd0]
mov rdx, rbx
lea rcx, [rbp + 0x700]
call fcn.140375ff4
test dil, dil
je 0x1401d8a1d
lfence
lea r8, [0x1405e45bc]
mov rdx, rbx
lea rcx, [rbp + 0x700]
call fcn.140374040
lfence
lea r8, str.WinSxS
mov rdx, rbx
lea rcx, [rbp + 0x700]
call fcn.140374040
lea rcx, [rbp + 0x700]
call qword [sym.imp.USER32.dll_CharLowerW]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401d8a50
mov rdx, rax
lea rbx, [0x140676d40]
mov rcx, rbx
call fcn.1400739a0
mov rdx, qword [0x140676d50]
mov r8, qword [0x140676d58]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x1401d8ab0
lea rcx, [rdx + 1]
mov qword [0x140676d50], rcx
cmp r8, 8
cmovae rbx, qword [0x140676d40]
movzx eax, word [0x1405e45bc]
mov word [rbx + rdx*2], ax
mov word [rbx + rcx*2], r14w
jmp 0x1401d8ad0
lfence
mov qword [rsp + 0x20], 1
lea r9, [0x1405e45bc]
mov edx, 1
mov rcx, rbx
call fcn.1400735a0
lea rbx, [0x1405e91b0]
lea rdi, str.D:P_A_CI_KA___SY__A_CI_KA___BA_
nop
mov edx, dword [rbx]
add edx, 0x4000
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1401d8b1d
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0xd0]
call fcn.1401d7f70
add rbx, 0x18
cmp rbx, rdi
jne 0x1401d8ae0
call fcn.1401d4560
xor r8d, r8d
lea rdx, str._system32
mov rcx, rax
call fcn.1401d7f70
call fcn.1401d45f0
xor r8d, r8d
lea rdx, str._system32
mov rcx, rax
call fcn.1401d7f70
lea r8, str._ProgramFiles_x86__
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call fcn.140368338
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
shr eax, 0x10
cmp ax, 1
jne 0x1401d8b9d
xor r8d, r8d
lea rdx, str._programfiles
lea rcx, [rbp + 0xd0]
call fcn.1401d7f70
lea r8, str._ProgramW6432_
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call fcn.140368338
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
shr eax, 0x10
cmp ax, 1
jne 0x1401d8be6
xor r8d, r8d
lea rdx, str._programfiles
lea rcx, [rbp + 0xd0]
call fcn.1401d7f70
lea r8, str._CommonProgramFiles_x86__
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call fcn.140368338
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
shr eax, 0x10
cmp ax, 1
jne 0x1401d8c2f
xor r8d, r8d
lea rdx, str._commonprogramfiles
lea rcx, [rbp + 0xd0]
call fcn.1401d7f70
lea r8, str._CommonProgramW6432_
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call fcn.140368338
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
shr eax, 0x10
cmp ax, 1
jne 0x1401d8c78
xor r8d, r8d
lea rdx, str._commonprogramfiles
lea rcx, [rbp + 0xd0]
call fcn.1401d7f70
mov ecx, dword [0x140677094]
test ecx, ecx
jns 0x1401d8cec
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x44]
call fcn.14035c350
mov dword [rbp - 0x50], 0x11c
mov dword [rbp - 0x4c], 6
mov dword [rbp - 0x48], 1
mov r8b, 3
mov edx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
mov edx, 3
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, r14d
cmp eax, 1
sete cl
mov dword [0x140677094], ecx
test ecx, ecx
je 0x1401d8cf7
lea rcx, str.C:_Recycle.Bin
jmp 0x1401d8d14
xor r8d, r8d
lea rdx, str._recycle
lea rcx, str.C:RECYCLED
call fcn.1401d7f70
lea rcx, str.C:RECYCLER
xor r8d, r8d
lea rdx, str._recycle
call fcn.1401d7f70
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov word [rbp + 0xd4], r14w
xor r8d, r8d
lea rdx, [0x1405f9bbc]
lea rcx, [rbp + 0xd0]
call fcn.1401d7f70
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2e0]
call fcn.14035c350
mov edx, 0x104
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1401d8de0
lea rcx, str.0cg_
mov rax, qword [str.0cg_]
cmp rax, rcx
je 0x1401d8ed0
test byte [rax + 0x1c], 1
je 0x1401d8ed0
cmp byte [rax + 0x19], 2
jb 0x1401d8ed0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
lea edx, [rbx + 0xc]
mov dword [rsp + 0x20], eax
lea r9, [0x140607a60]
lea r8, [0x140607bf8]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
jmp 0x1401d8ed0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xd30]
call fcn.14035c350
lea rcx, [rbp + 0x2e0]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401d8e02
dec rax
add rax, rax
cmp rax, 0x208
jae 0x1401d8f53
mov word [rbp + rax + 0x2e0], r14w
mov r8d, 0x104
lea rdx, [rbp + 0xd30]
lea rcx, [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1401d8e7a
xor r8d, r8d
lea rdx, str._volume
lea rcx, [rbp + 0xd30]
call fcn.1401d7f70
mov r8d, 0x104
lea rdx, [rbp + 0x2e0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x1401d8ec6
jmp 0x1401d8de0
lea rcx, str.0cg_
mov rax, qword [str.0cg_]
cmp rax, rcx
je 0x1401d8ec6
test byte [rax + 0x1c], 1
je 0x1401d8ec6
cmp byte [rax + 0x19], 2
jb 0x1401d8ec6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
mov edx, 0xc
mov dword [rsp + 0x20], eax
lea r9, [0x140607a40]
lea r8, [0x140607bf8]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop
mov rcx, qword [rbp - 0x70]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x1401d8f17
nop
mov r8, qword [rdi + 0x10]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140077d70
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140073b90
mov edx, 0x40
mov rcx, rbx
call fcn.140359090
cmp byte [rdi + 0x19], 0
je 0x1401d8ee0
mov rcx, qword [rbp - 0x70]
mov edx, 0x40
call fcn.140359090
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140368068
nop
call fcn.140359550
int3
call fcn.140368068
int3