Function at 0x14000daa0
Capabilities:
Get session user name
Get storage device properties

Disassembly:
push rbx
push rsi
push r13
push r14
push r15
sub rsp, 0x960
mov r15, rdx
mov r14d, ecx
lea rcx, [rsp + 0x250]
mov edx, 0x57d
lea r8, [0x14002c3d4]
mov r9d, 0x22
movaps xmmword [rsp + 0x950], xmm6
mov dword [rsp + 0x928], 0
call fcn.14000b040
mov rcx, r15
mov rdx, rax
call fcn.14000be20
cmp byte [0x140043740], 0
jne 0x14000e109
lea rcx, [0x140043940]
xor edx, edx
mov r8d, 0x800
call fcn.1400142c0
pxor xmm6, xmm6
movaps xmmword [rsp + 0x930], xmm6
movaps xmmword [rsp + 0x940], xmm6
movaps xmmword [rsp + 0x8d0], xmm6
movaps xmmword [rsp + 0x8e0], xmm6
mov byte [rsp + 0x8f0], 0
movaps xmmword [rsp + 0x900], xmm6
movaps xmmword [rsp + 0x910], xmm6
mov byte [rsp + 0x920], 0
cmp byte [0x140042f40], 0
je 0x14000dba0
mov edx, 0x58e
lea rcx, [rsp + 0x250]
lea r8, [0x14002c414]
mov r9d, 3
call fcn.14000b040
mov edx, 0x21
lea rcx, [rsp + 0x900]
mov r8, rax
lea r9, [0x140042f40]
call fcn.140017dd0
jmp 0x14000dc2c
mov dword [rsp + 0x924], 0x200
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x924]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x14000dbfd
mov edx, 0x593
lea rcx, [rsp + 0x250]
lea r8, [0x14002c418]
mov r9d, 3
call fcn.14000b040
mov edx, 0x21
lea rcx, [rsp + 0x900]
mov r8, rax
lea r9, [rsp + 0x50]
call fcn.140017dd0
jmp 0x14000dc2c
mov edx, 0x595
lea rcx, [rsp + 0x250]
lea r8, [0x14002c41c]
mov r9d, 6
call fcn.14000b040
mov rdx, rax
lea rax, [rsp + 0x900]
call fcn.140014530
mov edx, 0x597
lea rcx, [rsp + 0x250]
lea r8, [0x14002c424]
mov r9d, 0x18
call fcn.14000b040
mov r8, rax
mov r13, rsp
lea rcx, [rsp + 0x8d0]
movsx eax, byte [rcx + 0x31]
mov edx, 0x21
movsx ebx, byte [rcx + 0x32]
movsx esi, byte [rcx + 0x33]
movsx r10d, byte [rcx + 0x34]
movsx r11d, byte [rcx + 0x35]
movsx r9d, byte [rcx + 0x30]
mov dword [r13 + 0x20], eax
mov dword [r13 + 0x28], ebx
mov dword [r13 + 0x30], esi
mov dword [r13 + 0x38], r10d
mov dword [r13 + 0x40], r11d
call fcn.140017dd0
lea rax, [0x140043940]
lea rdx, [rsp + 0x8d0]
call fcn.140014530
mov edx, 0x59b
lea rcx, [rsp + 0x250]
lea r8, [0x14002c440]
mov r9d, 0xb
call fcn.14000b040
mov rcx, r15
mov rdx, rax
lea r8, [rsp + 0x900]
call fcn.14000be20
movaps xmmword [rsp + 0x650], xmm6
cmp byte [0x140042d40], 0
je 0x14000dcf4
mov r13d, 0xbc614e
jmp 0x14000ddfb
mov eax, 1
lea rsi, [rsp + 0x650]
mov dword [rsi], 1
cpuid
mov dword [rsi], eax
mov dword [rsi + 4], ebx
mov dword [rsi + 8], ecx
mov dword [rsi + 0xc], edx
mov eax, 0x80000000
lea rsi, [rsp + 0x650]
mov r13d, dword [rsi]
mov dword [rsi], 0x80000000
cpuid
mov dword [rsi], eax
mov dword [rsi + 4], ebx
mov dword [rsi + 8], ecx
mov dword [rsi + 0xc], edx
cmp dword [rsp + 0x650], 4
jbe 0x14000ddfb
mov eax, 0x80000002
lea rsi, [rsp + 0x650]
mov dword [rsi], 0x80000002
cpuid
mov dword [rsi], eax
mov dword [rsi + 4], ebx
mov dword [rsi + 8], ecx
mov dword [rsi + 0xc], edx
mov edx, dword [rsp + 0x650]
xor r13d, edx
xor r13d, dword [rsp + 0x654]
lea rsi, [rsp + 0x650]
xor r13d, dword [rsi + 8]
mov eax, 0x80000003
xor r13d, dword [rsi + 0xc]
mov dword [rsi], 0x80000003
cpuid
mov dword [rsi], eax
mov dword [rsi + 4], ebx
mov dword [rsi + 8], ecx
mov dword [rsi + 0xc], edx
mov edx, dword [rsp + 0x650]
xor r13d, edx
xor r13d, dword [rsp + 0x654]
lea rsi, [rsp + 0x650]
xor r13d, dword [rsi + 8]
mov eax, 0x80000004
xor r13d, dword [rsi + 0xc]
mov dword [rsi], 0x80000004
cpuid
mov dword [rsi], eax
mov dword [rsi + 4], ebx
mov dword [rsi + 8], ecx
mov dword [rsi + 0xc], edx
mov eax, dword [rsp + 0x650]
xor r13d, eax
xor r13d, dword [rsp + 0x654]
xor r13d, dword [rsp + 0x658]
xor r13d, dword [rsp + 0x65c]
mov edx, 0x5a1
lea rcx, [rsp + 0x250]
lea r8, [0x14002c44c]
mov r9d, 0x18
call fcn.14000b040
mov r11, rsp
mov esi, r13d
mov r10d, r13d
mov ebx, r13d
shr esi, 0x10
lea rcx, [rsp + 0x930]
shr r10d, 8
mov edx, 0x20
mov r8, rax
xor r9d, r9d
shr ebx, 0x18
movzx esi, sil
movzx r10d, r10b
movzx r13d, r13b
mov qword [r11 + 0x20], 0
mov dword [r11 + 0x28], ebx
mov dword [r11 + 0x30], esi
mov dword [r11 + 0x38], r10d
mov dword [r11 + 0x40], r13d
call fcn.140017dd0
lea rax, [0x140043940]
lea rdx, [rsp + 0x930]
call fcn.140014530
mov edx, 0x5ab
lea rcx, [rsp + 0x250]
lea r8, [0x14002c468]
mov r9d, 0xb
call fcn.14000b040
mov rcx, r15
mov rdx, rax
lea r8, [rsp + 0x930]
call fcn.14000be20
mov eax, 0x200
movaps xmmword [rsp + rax + 0x6c0], xmm6
movaps xmmword [rsp + rax + 0x6b0], xmm6
movaps xmmword [rsp + rax + 0x6a0], xmm6
movaps xmmword [rsp + rax + 0x690], xmm6
sub rax, 0x40
jne 0x14000deb7
mov edx, 0x80
lea rcx, [rsp + 0x650]
lea r8, str..PhysicalDrive_u
mov r9d, r14d
call fcn.140017dd0
mov rax, rsp
lea rcx, [rsp + 0x650]
xor edx, edx
mov r8d, 3
xor r9d, r9d
mov dword [rax + 0x20], 3
mov dword [rax + 0x28], 0
mov qword [rax + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rsi, 0xffffffffffffffff
je 0x14000e0ef
mov r11, rsp
mov rcx, rsi
mov edx, 0x2d1400
lea r8, [rsp + 0x8f4]
mov r9d, 0xc
xor ebx, ebx
mov dword [rsp + 0x8f4], ebx
mov eax, 0x200
mov dword [rsp + 0x8f8], ebx
lea rbx, [rsp + 0x6d0]
mov dword [rbx + 4], eax
lea r10, [rsp + 0x928]
mov qword [r11 + 0x20], rbx
mov dword [r11 + 0x28], eax
mov qword [r11 + 0x30], r10
mov qword [r11 + 0x38], 0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r13d, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13d, r13d
je 0x14000e0c3
mov eax, dword [rsp + 0x6e8]
test eax, eax
je 0x14000e0c3
add rbx, rax
mov rdx, rbx
mov rcx, rdx
and rdx, 0xfffffffffffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [rdx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x14000dfe5
mov rax, rdx
add rdx, rcx
call fcn.140014300
movsxd rsi, eax
lea rax, [0x140043940]
lea rsi, [rbx + rsi - 0xc]
mov rdx, rsi
call fcn.140014530
mov edx, 0x5c5
lea rcx, [rsp + 0x250]
lea r8, [0x14002c488]
mov r9d, 0x18
call fcn.14000b040
mov rcx, r15
mov rdx, rax
mov r8, rsi
mov r9, rbx
call fcn.14000be20
mov edx, 0x5cf
lea rcx, [rsp + 0x250]
lea r8, [0x14002c4c4]
mov r9d, 6
call fcn.14000b040
mov r8, rax
mov rbx, rsp
lea rcx, [0x140043740]
mov edx, 0x200
mov r9d, 3
lea rax, [0x140043940]
mov qword [rbx + 0x20], rax
call fcn.140017dd0
mov edx, 0x5d0
lea rcx, [rsp + 0x250]
lea r8, [0x14002c4cc]
mov r9d, 0x14
call fcn.14000b040
mov rcx, r15
mov rdx, rax
lea r8, [0x140043740]
call fcn.14000be20
movaps xmm6, xmmword [rsp + 0x950]
lea rax, [0x140043740]
add rsp, 0x960
pop r15
pop r14
pop r13
pop rsi
pop rbx
ret
mov edx, 0x5cc
lea rcx, [rsp + 0x250]
lea r8, [0x14002c4a4]
mov r9d, 0x1d
call fcn.14000b040
mov ecx, 0x7e3
mov rdx, rax
call fcn.14000f8f0
movaps xmm6, xmmword [rsp + 0x950]
xor eax, eax
add rsp, 0x960
pop r15
pop r14
pop r13
pop rsi
pop rbx
ret
mov edx, 0x581
lea rcx, [rsp + 0x250]
lea r8, [0x14002c3f8]
mov r9d, 0x1a
call fcn.14000b040
mov rcx, r15
mov rdx, rax
lea r8, [0x140043740]
call fcn.14000be20
movaps xmm6, xmmword [rsp + 0x950]
lea rax, [0x140043740]
add rsp, 0x960
pop r15
pop r14
pop r13
pop rsi
pop rbx
ret