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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x218]
sub rsp, 0x310
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140259410]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor esi, esi
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x20]
call fcn.140097800
lea rcx, [rbp - 0x20]
call fcn.140060460
nop
lea rdx, [rbp + 0xe0]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
dec eax
cmp eax, 0xff
ja 0x140059e4e
lea rbx, [rbp + 0xe0]
cmp byte [rbp + 0xe0], sil
je 0x140059e4e
movsd xmm6, qword [0x140243c68]
movsd xmm7, qword [0x140243c70]
nop
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x140059e2f
mov eax, dword [0x1400ebfc4]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x1400ebfc8]
mov byte [rsp + 0x28], 0x25
xor byte [rsp + 0x29], 0x38
xor byte [rsp + 0x2a], 0x39
xor byte [rsp + 0x2b], 0x3a
xor al, 0x3b
mov byte [rsp + 0x2c], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140059a63
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x68]
call fcn.14003e1d0
nop
mov eax, dword [0x1400ec520]
mov dword [rsp + 0x30], eax
movzx ecx, word [0x1400ec524]
mov word [rsp + 0x34], cx
movzx eax, byte [0x1400ec526]
mov byte [rsp + 0x30], 0x20
xor byte [rsp + 0x31], 0x38
xor byte [rsp + 0x32], 0x39
xor byte [rsp + 0x33], 0x3a
xor cl, 0x3b
mov byte [rsp + 0x34], cl
xor byte [rsp + 0x35], 0x3c
xor al, 0x3d
mov byte [rsp + 0x36], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140059ae0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.14003e1d0
nop
movzx eax, word [0x1400ec4a0]
mov word [rsp + 0x20], ax
cmp byte [0x1400ec4a1], 0
je 0x140059b19
mov byte [rsp + 0x20], 0x2f
xor byte [rsp + 0x21], 0x38
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140059b40
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14003e1d0
nop
movzx eax, word [0x1400ec110]
mov word [rsp + 0x24], ax
movzx eax, byte [0x1400ec112]
mov byte [rsp + 0x24], 0x20
xor byte [rsp + 0x25], 0x38
xor al, 0x39
mov byte [rsp + 0x26], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x24]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140059ba0
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x38]
call fcn.14003e1d0
nop
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.1400524d0
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov rcx, rax
call fcn.140053190
mov rdx, rax
mov rcx, qword [rbp - 0x40]
sub rcx, qword [rbp - 0x38]
xorps xmm1, xmm1
js 0x140059bfb
cvtsi2sd xmm1, rcx
jmp 0x140059c10
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mov rcx, rdx
call fcn.140061140
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
mov rcx, rax
call fcn.140053190
mov rdx, rax
mov rcx, qword [rbp - 0x40]
xorps xmm1, xmm1
test rcx, rcx
js 0x140059c50
cvtsi2sd xmm1, rcx
jmp 0x140059c65
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mov rcx, rdx
call fcn.140061140
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rcx, rax
call fcn.140053190
mov r8, rax
mov rax, qword [rbp - 0x40]
mov rdx, rax
sub rdx, qword [rbp - 0x38]
xorps xmm1, xmm1
js 0x140059ca7
cvtsi2sd xmm1, rdx
jmp 0x140059cbc
mov rcx, rdx
shr rcx, 1
and edx, 1
or rcx, rdx
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
xorps xmm0, xmm0
test rax, rax
js 0x140059ccb
cvtsi2sd xmm0, rax
jmp 0x140059ce0
mov rcx, rax
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
divsd xmm1, xmm0
mulsd xmm1, xmm7
mov rcx, r8
call fcn.140061140
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.140053190
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140059d48
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059d43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059ea5
call fcn.140095098
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140059d98
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059d93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059eab
call fcn.140095098
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140059de7
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059de2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059e99
call fcn.140095098
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140059e2f
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059e2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059e9f
call fcn.140095098
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140059e36
inc rbx
add rbx, rax
cmp byte [rbx], 0
jne 0x140059a00
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.140061c80
nop
lea rcx, [rbp - 0x20]
call fcn.140059ec0
mov rax, rdi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140094a70
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400a3eb4
nop
call fcn.1400a3eb4
nop
call fcn.1400a3eb4
nop
call fcn.1400a3eb4
int3