Function at 0x140001e70
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor esi, esi
call fcn.140001cb0
mov dil, 0x43
mov r15d, 1
mov r14d, 0xf
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x11], r14
movsx eax, dil
movzx eax, al
mov byte [rbp - 0x29], al
mov byte [rbp - 0x28], 0
lea rax, [r15 + 2]
mov qword [rbp - 0x19], rax
lea rax, [rbp - 0x29]
mov word [rax + r15], 0x5c3a
mov byte [rax + r15 + 2], 0
lea rax, [rbp - 0x29]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x37], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2f], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov byte [rax], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140001f5a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020c8
call fcn.14000290c
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], r14
mov byte [rbp - 0x29], 0
lea r8, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova r8, qword [rbp + 0x1f]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor edx, edx
xor ecx, ecx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], rsi
mov r8, rbx
lea rcx, [rbp - 1]
call fcn.1400025b0
nop
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 7
cmova rcx, qword [rbp - 1]
lea r8, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova r8, qword [rbp + 0x1f]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
xor ecx, ecx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 7
cmova rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 1
ja 0x140002007
lea rcx, [rbp + 0x1f]
call fcn.1400017b0
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x140002047
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002042
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020cf
call fcn.14000290c
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], 7
mov word [rbp - 1], si
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x14000208e
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002089
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020d6
call fcn.14000290c
inc dil
cmp dil, 0x5a
jle 0x140001ec0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400028b0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3