Function at 0x14003209a
Capabilities:
Get disk information

Disassembly:
jmp 0x140054230
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x740
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x138
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x768]
mov rax, qword [0x1400b4040]
xor rax, rbp
mov qword [rbp + 0x710], rax
mov dword [rbp + 0x6f4], 0
lea rcx, [0x1400bf120]
call fcn.1400324d2
nop
lea rcx, [rbp + 8]
call fcn.1400324b9
nop
mov eax, 1
imul rax, rax, 0
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x698], 0x104
jae 0x1400542b3
jmp 0x1400542b9
call fcn.140031f7d
nop
mov rax, qword [rbp + 0x698]
mov byte [rbp + rax + 0x50], 0
cmp qword [rbp + 0x748], 0
je 0x1400542f3
mov rcx, qword [rbp + 0x748]
call fcn.1400319c4
test rax, rax
je 0x1400542f3
lea rdx, [rbp + 0x50]
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x140054328
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x740]
call fcn.140032392
mov eax, dword [rbp + 0x6f4]
or eax, 1
mov dword [rbp + 0x6f4], eax
lea rcx, [rbp + 8]
call fcn.140031456
nop
mov rax, qword [rbp + 0x740]
jmp 0x1400544ea
lea rax, [rbp + 0x2a4]
lea rcx, [0x14009f3bc]
mov rdi, rax
mov rsi, rcx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
mov dword [rbp + 0x2c4], 0
lea rax, [rbp + 0x50]
mov qword [rbp + 0x2e8], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x2e8]
movzx ecx, byte [rcx]
mov byte [rbp + rax + 0x2a4], cl
mov r8d, 0x104
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x2a4]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x140054471
lea rcx, [rbp + 0x180]
call fcn.1400319c4
mov dword [rbp + 0x304], eax
cmp dword [rbp + 0x304], 0x104
jae 0x140054471
mov eax, dword [rbp + 0x304]
mov r8d, eax
lea rdx, [rbp + 0x180]
mov rcx, qword [rbp + 0x748]
call qword [sym.imp.ucrtbased.dll_strncmp]
test eax, eax
jne 0x1400543e3
mov dword [rbp + 0x704], 1
jmp 0x1400543ed
mov dword [rbp + 0x704], 0
mov eax, dword [rbp + 0x704]
mov dword [rbp + 0x2c4], eax
cmp dword [rbp + 0x2c4], 0
je 0x140054471
mov eax, dword [rbp + 0x304]
mov rcx, qword [rbp + 0x748]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x708], rax
movzx r8d, byte [rbp + 0x6d4]
lea rdx, str._s_s
lea rcx, [rbp + 0x6b4]
call fcn.140031ec9
mov rcx, rax
call fcn.140031c53
mov rcx, qword [rbp + 0x708]
mov r9, rcx
lea r8, [rbp + 0x2a4]
mov rdx, rax
lea rcx, [rbp + 0x330]
call fcn.1400326cb
nop
lea rdx, [rbp + 0x330]
lea rcx, [rbp + 8]
call fcn.1400310f0
nop
mov rax, qword [rbp + 0x2e8]
movzx eax, byte [rax]
mov byte [rbp + 0x704], al
mov rax, qword [rbp + 0x2e8]
inc rax
mov qword [rbp + 0x2e8], rax
movsx eax, byte [rbp + 0x704]
test eax, eax
je 0x14005449f
jmp 0x140054471
cmp dword [rbp + 0x2c4], 0
jne 0x1400544ba
mov rax, qword [rbp + 0x2e8]
movsx eax, byte [rax]
test eax, eax
jne 0x140054358
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x740]
call fcn.140032392
mov eax, dword [rbp + 0x6f4]
or eax, 1
mov dword [rbp + 0x6f4], eax
lea rcx, [rbp + 8]
call fcn.140031456
nop
mov rax, qword [rbp + 0x740]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14009ccd0]
call fcn.1400321b2
mov rax, rdi
mov rcx, qword [rbp + 0x710]
xor rcx, rbp
call fcn.140031aa0
lea rsp, [rbp + 0x720]
pop rdi
pop rsi
pop rbp
ret