Function at 0x14013333c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6f8
lea rbp, [rsp + 0x40]
mov rax, qword [0x1401beaa0]
xor rax, rbp
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0xc], 0
mov dword [rbp + 0x30], 3
lea rdx, [0x140190478]
lea rcx, [rbp + 0x38]
call fcn.140026d40
nop
lea rax, [rbp + 0x490]
mov rdi, rax
xor eax, eax
mov ecx, RealDriveType
rep stosb byte [rdi], al
lea rax, [rbp + 0x280]
mov rdi, rax
xor eax, eax
mov ecx, RealDriveType
rep stosb byte [rdi], al
mov dword [rbp + 8], 0
mov dword [rbp + 0x2c], 0
mov dword [rbp + 0x28], 0
lea rax, [rbp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, RealDriveType
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, Ordinal_41
lea rdx, [rbp + 0x70]
xor ecx, ecx
call fcn.14014845c
mov eax, 2
imul rax, rax, 3
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0x208
jae 0x1401333f7
jmp 0x1401333fc
call fcn.1400b299c
xor eax, eax
mov rcx, qword [rbp + 0x40]
mov word [rbp + rcx + 0x70], ax
mov dword [rsp + 0x38], 0x105
lea rax, [rbp + 0x280]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
mov r8d, 0x105
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1401334ab
mov eax, 1
imul rax, rax, 3
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 4
jae 0x140133462
jmp 0x140133467
call fcn.1400b299c
mov rax, qword [rbp + 0x48]
mov byte [rbp + rax], 0
mov eax, 1
imul rax, rax, 1
mov byte [rbp + rax], WSASetLastError
mov eax, 1
imul rax, rax, 2
mov byte [rbp + rax], 0x75
mov eax, 1
imul rax, rax, 0
mov byte [rbp + rax], Ordinal_41
mov r8d, dword [rbp + 8]
lea rdx, [rbp]
lea rcx, [rbp + 0x38]
call fcn.1400217ec
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
jne 0x1401334c7
mov qword [rbp + 0x50], 0
jmp 0x140133591
mov rcx, qword [rbp + 0x18]
call fcn.1400c28d0
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x3fffffff
jle 0x1401334eb
mov qword [rbp + 0x10], 0
jmp 0x140133589
movsxd rax, dword [rbp + 4]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x140133508
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400b3810
sub rsp, rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x20], 0
je 0x140133536
cmp qword [rbp + 0x18], 0
jne 0x140133540
mov qword [rbp + 0x10], 0
jmp 0x140133589
xor eax, eax
mov rcx, qword [rbp + 0x20]
mov word [rcx], ax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbp + 0x18]
xor edx, edx
mov ecx, dword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 0x34], eax
cmp dword [rbp + 0x34], 0
jne 0x140133581
mov qword [rbp + 0x10], 0
jmp 0x140133589
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x50], rax
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x6d0]
call fcn.14002a378
mov eax, dword [rbp + 0xc]
or eax, 1
mov dword [rbp + 0xc], eax
mov rax, qword [rbp + 0x38]
sub rax, 0x18
mov qword [rbp + 0x58], rax
mov rcx, qword [rbp + 0x58]
call fcn.140026400
mov rax, qword [rbp + 0x6d0]
mov rcx, qword [rbp + 0x6a0]
xor rcx, rbp
call fcn.1400b2870
lea rsp, [rbp + 0x6b8]
pop rdi
pop rbp
ret