Function at 0x140037cf0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x1400f1180]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rcx
xor ebx, ebx
mov dword [rsp + 0x78], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x78], 1
lea rdx, [rbp - 0x50]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edx, 0x7ff
cmp eax, edx
jae 0x140037d8b
lea rdx, [rbp - 0x50]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edx, eax
test eax, eax
je 0x14003809c
cmp eax, 0x801
jae 0x14003809c
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov r8d, edx
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140007730
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
xor r8d, r8d
lea rdx, [0x1400d36de]
lea rcx, [rsp + 0x38]
call fcn.140007730
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov r8d, 1
lea rdx, [0x1400d3768]
lea rcx, [rsp + 0x58]
call fcn.140007730
nop
mov r8, qword [rsp + 0x58]
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x140037f9b
lea rdx, [rsp + 0x38]
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp r15, 0x10
cmovae rdx, r14
lea rcx, [rsp + 0x58]
mov r9, qword [rsp + 0x70]
cmp r9, 0x10
cmovae rcx, r8
mov rdi, qword [rsp + 0x68]
cmp rdi, qword [rsp + 0x48]
jne 0x140037e61
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140037fa5
mov rax, qword [rbp - 0x60]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x70]
mov r13d, 0xa
mov byte [rsp + 0x30], 0
nop dword [rax]
lea rsi, [rsp + 0x58]
cmp r9, 0x10
cmovae rsi, r8
lea r12, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae r12, qword [rbp - 0x70]
cmp rdi, rax
ja 0x140037f03
sub rax, rdi
cmp rbx, rax
ja 0x140037eff
test rdi, rdi
je 0x140037f42
lea r14, [rax + r12]
lea rcx, [r12 + rbx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140037eff
nop dword [rax]
nop dword [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140037f35
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140037ed0
mov rax, qword [rbp - 0x60]
cmp byte [rsp + 0x30], 0
je 0x140037f9b
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
test r13, r13
je 0x140037fa5
xor ebx, ebx
dec r13
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x70]
jmp 0x140037e67
sub rbx, r12
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x140037eff
mov byte [rsp + 0x30], 1
lea r9, [rsp + 0x38]
cmp r15, 0x10
cmovae r9, r14
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14004b510
add rbx, qword [rsp + 0x48]
cmp rbx, 0xffffffffffffffff
je 0x140037f9b
mov r14, qword [rsp + 0x38]
mov rax, qword [rbp - 0x60]
mov r15, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x70]
jmp 0x140037e70
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140037fe6
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037fe0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037fe0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bed30
nop
cmp r15, 0x10
jb 0x140038020
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140038018
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038018
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400bed30
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x31]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x38]
call fcn.140037a00
mov rdx, rax
mov rbx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.14004a750
lea rcx, [rsp + 0x38]
call fcn.14004b420
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400380a0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038095
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038095
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bed30
jmp 0x1400380a0
mov rbx, qword [rbp - 0x80]
mov rax, rbx
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400bed10
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret