Function at 0x140004de0
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 - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1400790c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rdx
mov qword [rbp + 0x1f], rdx
xor r13d, r13d
mov dword [rbp - 0x69], r13d
mov rcx, qword [0x14007cd28]
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, rcx
cmp rax, 6
jb 0x140005349
lea rax, [0x14007cd18]
cmp qword [0x14007cd30], 0xf
cmova rax, qword [0x14007cd18]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.drives
mov rcx, rdx
call fcn.140010b30
mov edi, 0x21
mov dword [rbp - 0x69], edi
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r15d, eax
test eax, eax
jne 0x140005063
mov rax, qword [rbx + 0x10]
sub r12, rax
cmp r12, 3
jb 0x140005343
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140004eb1
mov r9, qword [rbx]
mov qword [rsp + 0x30], 3
lea rcx, [0x14006ea28]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x41]
call fcn.140010b30
mov dword [rbp - 0x69], 0x61
lea rax, [rbp - 0x41]
cmp rbx, rax
je 0x140004f43
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140004f1e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004f19
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005361
mov rcx, r8
call fcn.1400375d0
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x31]
movups xmmword [rbx + 0x10], xmm1
mov edx, recv
mov byte [rbp - 0x41], 0
jmp 0x140004f47
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140004f7e
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005361
call fcn.1400375d0
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.14000dfd0
mov rdi, rax
cmp rbx, rax
je 0x140004ff8
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140004fcc
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004fc7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000534f
mov rcx, r8
call fcn.1400375d0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x140005033
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000502e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000534f
call fcn.1400375d0
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400375b0
lea r11, [rsp + 0xe0]
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
mov r14b, 0x41
test r15b, 1
je 0x1400050ef
movzx r8d, r14b
mov edx, 1
lea rcx, [rbp - 1]
call fcn.14000af90
nop
or edi, 2
mov dword [rbp - 0x69], edi
mov r8d, 2
lea rdx, [0x14006ea2c]
mov rcx, rax
call fcn.14000cdc0
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r13
mov qword [rbp - 0x49], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x61], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x51], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], recv
mov byte [rax], 0
or edi, 0xc
mov dword [rbp - 0x69], edi
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 0xf
cmova rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
je 0x1400050ef
mov sil, 1
jmp 0x1400050f2
xor sil, sil
test dil, 4
je 0x140005149
and edi, 0xfffffffb
mov dword [rbp - 0x69], edi
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x140005139
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005134
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005355
call fcn.1400375d0
mov qword [rbp - 0x51], r13
mov qword [rbp - 0x49], recv
mov byte [rbp - 0x61], 0
test dil, 2
je 0x140005190
and edi, 0xfffffffd
mov dword [rbp - 0x69], edi
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140005190
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000518b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000535b
call fcn.1400375d0
test sil, sil
je 0x140005328
mov byte [rbp + 0x27], r14b
mov rax, qword [rbx + 0x10]
cmp rax, r12
je 0x140005343
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400051b7
mov r9, qword [rbx]
mov qword [rsp + 0x30], 1
lea rcx, [rbp + 0x27]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x21]
call fcn.140010b30
or edi, 0x10
mov dword [rbp - 0x69], edi
lea rax, [rbp - 0x21]
cmp rbx, rax
je 0x14000523c
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140005220
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000521b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005361
mov rcx, r8
call fcn.1400375d0
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rbx + 0x10], xmm1
jmp 0x140005277
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140005277
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005272
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005361
call fcn.1400375d0
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.14000dfd0
mov rsi, rax
cmp rbx, rax
je 0x1400052f1
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400052c5
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400052c0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000533d
mov rcx, r8
call fcn.1400375d0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], recv
mov byte [rsi], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140005328
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005323
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000533d
call fcn.1400375d0
shr r15d, 1
inc r14b
cmp r14b, 0x5a
jle 0x140005066
jmp 0x140005033
call fcn.140042cec
int3
call fcn.140001310
int3
call fcn.140001310
int3
call fcn.140042cec
nop
call fcn.140042cec
nop
call fcn.140042cec
int3
call fcn.140042cec
int3