Function at 0x1401366d0
Capabilities:
Get disk information

Disassembly:
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.14010b140
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x10a8], rbx
mov qword [rsp + 0x10b0], rsi
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rbp + 0xf60], rax
mov rsi, rcx
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x60]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea rbx, [rsp + 0x60]
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
lea r13, [0x1402be068]
cmp word [rsp + 0x60], di
je 0x140136825
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
nop
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14001ba80
nop
mov edx, dword [rsp + 0x2c]
lea ecx, [rdx + 1]
cmp ecx, dword [rsp + 0x28]
jle 0x1401367c3
mov eax, ecx
test ecx, ecx
jns 0x1401367ab
lea eax, [rcx + 1]
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
lea rcx, [rsp + 0x20]
call fcn.14001a6a0
mov edx, dword [rsp + 0x2c]
lea eax, [rdx + 1]
mov dword [rsp + 0x2c], eax
movsxd rcx, edx
mov rax, qword [rsp + 0x20]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
lea rax, [r13 + 0x10]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x140136810
mov eax, 0xffffffff
lock xadd dword [rcx], eax
test eax, eax
jne 0x140136810
call fcn.14010a370
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x140136810
cmp word [rbx], ax
jne 0x140136780
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x20]
lea rdx, [rcx + rax*8]
mov r8, rdx
sub r8, rcx
sar r8, 3
movzx r9d, byte [rsp + 0x30]
call fcn.14001d000
mov eax, dword [rsp + 0x2c]
test eax, eax
jle 0x140136921
mov r15d, 4
lea r14, [0x1402be078]
lea rbx, [0x14047e910]
cmp edi, eax
jae 0x14013687a
movsxd rcx, edi
mov rax, qword [rsp + 0x20]
lea rdx, [rax + rcx*8]
jmp 0x140136899
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r15 + rcx]
cmp dword [0x14047e918], eax
jg 0x140136976
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14015ee70
nop
mov edx, dword [rsi + 0xc]
lea ecx, [rdx + 1]
cmp ecx, dword [rsi + 8]
jle 0x1401368cd
mov eax, ecx
test ecx, ecx
jns 0x1401368b8
lea eax, [rcx + 1]
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, rsi
call fcn.14001aa20
mov edx, dword [rsi + 0xc]
lea eax, [rdx + 1]
mov dword [rsi + 0xc], eax
movsxd rcx, edx
mov rax, qword [rsi]
lea rdx, [rax + rcx*8]
mov qword [rsp + 0x50], rdx
mov rax, qword [rsp + 0x40]
mov qword [rdx], rax
lea rax, [r13 + 0x10]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x140136913
mov eax, 0xffffffff
lock xadd dword [rcx], eax
test eax, eax
jne 0x140136913
call fcn.14010a370
inc edi
mov eax, dword [rsp + 0x2c]
cmp edi, eax
jl 0x14013686a
lea rax, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call fcn.14001a610
nop
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.14010a310
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
lea rcx, [0x14047e918]
call fcn.14010a5c4
cmp dword [0x14047e918], 0xffffffff
jne 0x140136896
mov qword [0x14047e910], r14
lea rcx, [0x1402ab9a0]
call fcn.14010aa70
nop
lea rcx, [0x14047e918]
call fcn.14010a564
jmp 0x140136896