Function at 0x140048cd0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1860]
mov eax, 0x1960
call fcn.140095ba0
sub rsp, rax
mov rax, qword [0x1400bd180]
xor rax, rsp
mov qword [rbp + 0x1850], rax
mov rdi, rdx
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x68], rdx
xor ebx, ebx
mov dword [rbp - 0x70], ebx
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rbx
mov dword [rbp - 0x70], 1
lea rdx, [rbp + 0x50]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, 0x7ff
cmp eax, ecx
jae 0x140048d72
lea rdx, [rbp + 0x50]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, eax
test eax, eax
je 0x140049497
cmp eax, 0x801
jae 0x140049497
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov r8d, ecx
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.14005de20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
xor r8d, r8d
lea rdx, [0x1400a4ce7]
lea rcx, [rsp + 0x68]
call fcn.14005de20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov r8d, 1
lea rdx, [0x1400ab084]
lea rcx, [rsp + 0x48]
call fcn.14005de20
nop
mov esi, 0xa
mov r8, qword [rsp + 0x48]
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140048f88
lea rdx, [rsp + 0x68]
mov r14, qword [rsp + 0x68]
mov r15, qword [rbp - 0x80]
cmp r15, 0xf
cmova rdx, r14
lea rcx, [rsp + 0x48]
mov r12, qword [rsp + 0x60]
cmp r12, 0xf
cmova rcx, r8
mov rdi, qword [rsp + 0x58]
cmp rdi, qword [rsp + 0x78]
jne 0x140048e54
test rdi, rdi
je 0x140048f96
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
jne 0x140048f96
mov rax, qword [rbp - 0x48]
mov r8, qword [rsp + 0x48]
mov r13, rsi
mov byte [rsp + 0x40], 0
nop dword [rax]
lea rsi, [rsp + 0x48]
cmp r12, 0xf
cmova rsi, r8
lea r12, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r12, qword [rbp - 0x58]
cmp rdi, rax
ja 0x140048ef3
sub rax, rdi
cmp rbx, rax
ja 0x140048eef
test rdi, rdi
je 0x140048f30
lea r14, [r12 + rax]
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 0x140048eef
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 0x140048f24
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 0x140048ec0
mov rax, qword [rbp - 0x48]
cmp byte [rsp + 0x40], 0
je 0x140048f88
mov r14, qword [rsp + 0x68]
mov r15, qword [rbp - 0x80]
mov r12, qword [rsp + 0x60]
test r13, r13
je 0x140048f96
xor ebx, ebx
dec r13
mov r8, qword [rsp + 0x48]
jmp 0x140048e57
sub rbx, r12
mov r14, qword [rsp + 0x68]
mov r15, qword [rbp - 0x80]
cmp rbx, 0xffffffffffffffff
je 0x140048eef
mov byte [rsp + 0x40], 1
lea r9, [rsp + 0x68]
cmp r15, 0xf
cmova r9, r14
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.14005b8b0
add rbx, qword [rsp + 0x78]
cmp rbx, 0xffffffffffffffff
je 0x140048f88
mov r14, qword [rsp + 0x68]
mov rax, qword [rbp - 0x48]
mov r15, qword [rbp - 0x80]
mov r8, qword [rsp + 0x48]
mov r12, qword [rsp + 0x60]
jmp 0x140048e60
mov r12, qword [rsp + 0x60]
mov r15, qword [rbp - 0x80]
mov r14, qword [rsp + 0x68]
cmp r12, 0xf
jbe 0x140048fd4
lea rdx, [r12 + 1]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048fce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048fce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140095280
nop
cmp r15, 0xf
jbe 0x14004900e
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140049006
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049006
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140095280
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
mov byte [rsp + 0x40], al
mov byte [rsp + 0x41], al
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x41]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.14004b000
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1400abcf0]
movdqa xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
movups xmmword [rbp - 0x10], xmm0
xor r12d, r12d
mov qword [rbp], r12
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], r12b
mov r14, qword [rbp + 0x10]
mov r15, qword [rbp + 0x18]
mov rdi, qword [rbp - 0x78]
cmp r14, r15
je 0x1400493c4
movabs r13, 0x7ffffffffffffffe
nop dword [rax]
lea rax, [rbp - 0x30]
cmp rax, r14
je 0x1400490b3
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400490a6
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400473a0
mov qword [rbp], r12
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rax, qword [rbp - 0x10]
mov byte [rax], 0
mov rdx, r14
lea rcx, [rbp + 0x28]
call fcn.14004ad30
nop
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 7
cmova rcx, qword [rbp + 0x28]
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0x800
lea rdx, [rbp + 0x850]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140049337
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
lea rax, [rbp + 0x850]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140049135
cmp rbx, r13
ja 0x1400494ca
cmp rbx, 7
ja 0x14004917e
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x850]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x48], r12w
jmp 0x14004922f
mov rsi, rbx
or rsi, 7
cmp rsi, r13
jbe 0x1400491d0
mov rsi, r13
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x1400491fe
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400494d0
mov rcx, rax
call fcn.140095288
test rax, rax
je 0x14004943b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140049206
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400494d0
add rcx, rcx
jne 0x14004919b
mov rdi, r12
jmp 0x140049206
call fcn.140095288
mov rdi, rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x850]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r12w
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.14004ac00
mov rbx, rax
lea rax, [rbp - 0x10]
cmp rax, rbx
je 0x1400492a3
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140049285
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049280
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049434
call fcn.140095280
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400492df
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400492da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049434
call fcn.140095280
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140049333
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004932e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004943b
call fcn.140095280
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
je 0x140049367
mov qword [rbp - 0x60], rbx
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.14005abf0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x10]
call fcn.14005abf0
nop
add qword [rdi + 8], 0x40
jmp 0x140049377
lea r8, [rbp - 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.140061200
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x1400493b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400493b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049442
call fcn.140095280
add r14, 0x20
cmp r14, r15
jne 0x140049090
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400493fb
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400493f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004942d
call fcn.140095280
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14004944f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049449
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049449
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140095280
nop
lea rcx, [rbp + 0x10]
call fcn.14005b7c0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140049497
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049492
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049492
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140095280
mov rax, rdi
mov rcx, qword [rbp + 0x1850]
xor rcx, rsp
call fcn.140094fc0
lea r11, [rsp + 0x1960]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400452f0
int3
call fcn.140045250
int3