Function at 0x140066bc0
Capabilities:
Get disk information
Get disk size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rax, qword [0x1401121f0]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov r15, rcx
mov qword [rbp + 0x60], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
xor r8d, r8d
lea rdx, [rsp + 0x50]
call fcn.1400082e0
mov dword [rsp + 0x40], 3
lea rdx, [rbp + 0x380]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0xff
ja 0x140067276
lea r14, [rbp + 0x380]
cmp word [rbp + 0x380], r12w
je 0x140067276
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 1
ja 0x14006725b
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x170]
call fcn.1400a3760
mov dword [rbp + 0xf0], r12d
mov dword [rbp + 0xec], r12d
mov dword [rbp + 0xe8], r12d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x580]
call fcn.1400a3760
mov dword [rsp + 0x38], 0x105
lea rax, [rbp + 0x580]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xec]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf0]
mov r8d, 0x105
lea rdx, [rbp + 0x170]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14006725b
xor eax, eax
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rax
lea r9, [rbp + 0x128]
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x118]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x14006725b
movzx r8d, byte [r14]
mov edx, 1
lea rcx, [rbp + 0x150]
call fcn.140028db0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], r12
mov qword [rbp + 0x110], r12
lea rax, [rbp + 0x170]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140066d70
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0xf8]
call fcn.14006c1c0
nop
lea rdx, [rbp + 0xf8]
cmp qword [rbp + 0x110], 8
setae r9b
cmovae rdx, qword [rbp + 0xf8]
mov rax, qword [rbp + 0x108]
lea r8, [rdx + rax*2]
lea rdx, [rbp + 0xf8]
test r9b, r9b
cmovne rdx, qword [rbp + 0xf8]
lea rcx, [rbp + 0x130]
call fcn.14006ba70
nop
mov rdi, qword [rbp + 0x118]
mov rsi, qword [rbp + 0x120]
mov byte [rbp - 0x10], 0
xor eax, eax
mov qword [rbp - 8], rax
xor edx, edx
lea rcx, [rbp - 8]
call fcn.1400089d0
mov byte [rbp - 0x10], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov ecx, 0x20
call fcn.1400a0f60
mov rbx, rax
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 6
lea rdx, str.letter
mov rcx, rbx
call fcn.140003a30
mov qword [rbp + 0xe0], r12
mov qword [rbp - 8], rbx
mov qword [rbp], r12
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 8]
call fcn.140014440
mov qword [rbp + 0x18], r12
lea rax, [rbp - 0x10]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x20]
mov qword [rbp + 0x28], rax
mov r8b, 1
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x70]
call fcn.1400082e0
mov qword [rbp + 0x80], r12
mov byte [rbp - 0x40], 0
xor eax, eax
mov qword [rbp - 0x38], rax
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.1400089d0
mov byte [rbp - 0x40], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov ecx, 0x20
call fcn.1400a0f60
mov rbx, rax
lea rax, [rbp + 0xd1]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 4
lea rdx, str.name
mov rcx, rbx
call fcn.140003a30
mov qword [rbp + 0xe0], r12
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], r12
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x28]
call fcn.140014440
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x40]
mov qword [rbp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x38], rax
mov r8b, 1
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x88]
call fcn.1400082e0
mov qword [rbp + 0x98], r12
mov byte [rbp - 0x70], 0
xor eax, eax
mov qword [rbp - 0x68], rax
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.1400089d0
mov byte [rbp - 0x70], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov ecx, 0x20
call fcn.1400a0f60
mov rbx, rax
lea rax, [rbp + 0xd2]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 9
lea rdx, str.available
mov rcx, rbx
call fcn.140003a30
mov qword [rbp + 0xe0], r12
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], r12
mov byte [rbp - 0x58], 0
xor eax, eax
mov qword [rbp - 0x50], rax
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.1400089d0
mov byte [rbp - 0x58], 6
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], r12
lea rax, [rbp - 0x70]
mov qword [rbp + 0x40], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x48], rax
mov r8b, 1
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xa0]
call fcn.1400082e0
mov qword [rbp + 0xb0], r12
mov byte [rsp + 0x60], 0
xor eax, eax
mov qword [rsp + 0x68], rax
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1400089d0
mov byte [rsp + 0x60], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov ecx, 0x20
call fcn.1400a0f60
mov rbx, rax
lea rax, [rbp + 0xd3]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 5
lea rdx, str.total
mov rcx, rbx
call fcn.140003a30
mov qword [rbp + 0xe0], r12
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x78], 0
xor eax, eax
mov qword [rbp - 0x80], rax
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400089d0
mov byte [rsp + 0x78], 6
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], r12
lea rax, [rsp + 0x60]
mov qword [rbp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rbp + 0x58], rax
mov r8b, 1
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xb8]
call fcn.1400082e0
mov qword [rbp + 0xc8], r12
lea rax, [rbp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.140007da0
nop
lea r9, [0x140004310]
mov edx, 0x18
lea r8d, [rdx - 0x14]
lea rcx, [rbp + 0x70]
call fcn.1400a0f9c
nop
lea r9, [0x140004310]
mov edx, 0x18
lea r8d, [rdx - 0x16]
lea rcx, [rsp + 0x60]
call fcn.1400a0f9c
nop
lea r9, [0x140004310]
mov edx, 0x18
lea r8d, [rdx - 0x16]
lea rcx, [rbp - 0x70]
call fcn.1400a0f9c
nop
lea r9, [0x140004310]
mov edx, 0x18
lea r8d, [rdx - 0x16]
lea rcx, [rbp - 0x40]
call fcn.1400a0f9c
nop
lea r9, [0x140004310]
mov edx, 0x18
lea r8d, [rdx - 0x16]
lea rcx, [rbp - 0x10]
call fcn.1400a0f9c
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x1400671be
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400671b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400672aa
call fcn.1400a0cf0
nop
mov rdx, qword [rbp + 0x110]
cmp rdx, 8
jb 0x140067204
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400671ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400672b0
call fcn.1400a0cf0
mov qword [rbp + 0x108], r12
mov qword [rbp + 0x110], 7
mov word [rbp + 0xf8], r12w
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x14006725b
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067256
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400672a4
call fcn.1400a0cf0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea r14, [r14 + rax*2]
cmp word [r14], 0
jmp 0x140066c4d
mov rax, r15
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.1400a0cd0
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400af8e4
nop
call fcn.1400af8e4
nop
call fcn.1400af8e4
int3