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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rdi, rcx
xor r14d, r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call fcn.1400a5140
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call fcn.1400b81a8
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14000915b
lea rbx, [r14 - 1]
test rdi, rdi
je 0x140009234
mov r10, rbx
nop dword [rax + rax]
inc r10
cmp word [rdi + r10*2], r14w
jne 0x140009100
lea rsi, [0x140112130]
mov r8, rbx
inc r8
cmp word [rsi + r8*2], r14w
jne 0x140009114
cmp r10, r8
jb 0x140009234
sub r10, r8
je 0x140009234
mov r9, rdi
sub r9, rsi
mov rdx, r14
mov r11, r14
test r8, r8
je 0x14000915b
lea rcx, [r9 + rdx*2]
movzx eax, word [rsi + rdx*2]
cmp word [rcx + rsi], ax
jne 0x140009220
inc rdx
cmp rdx, r8
jb 0x140009141
mov dword [0x14014a4e0], 0xbb9
cmp byte [0x140144e70], r14b
je 0x140009779
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov ecx, 0x60
call fcn.1400a2514
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 0x17
lea rdx, str.wm_install_invalid_path
lea rcx, [rsp + 0x78]
call fcn.1400049c0
nop
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
call fcn.14007fb20
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140009212
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000920c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400097b4
call fcn.1400a2410
nop
lea rcx, [rbp - 0x68]
call fcn.140004eb0
jmp 0x140009785
inc r11
add r9, 2
cmp r11, r10
jae 0x140009234
mov rdx, r14
jmp 0x140009141
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call fcn.1400a5140
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call fcn.1400b81a8
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x140009518
mov rax, qword [rbp - 0x48]
cmp rax, 0x12c00000
jb 0x140009518
lea rcx, [0x140115dcc]
mov qword [rsp + 0x50], rcx
lea rcx, [0x140125d38]
mov qword [rsp + 0x58], rcx
lea rcx, [0x140125d40]
mov qword [rsp + 0x60], rcx
lea rcx, [0x140125d48]
mov qword [rsp + 0x68], rcx
lea rcx, [0x140125d50]
mov qword [rsp + 0x70], rcx
xorps xmm2, xmm2
test rax, rax
js 0x1400092f5
cvtsi2sd xmm2, rax
jmp 0x14000930a
mov rcx, rax
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm2, rcx
addsd xmm2, xmm2
mov eax, r14d
movsd xmm0, qword [0x140128ea0]
comisd xmm2, xmm0
jbe 0x140009334
movsd xmm1, qword [0x140128e68]
mulsd xmm2, xmm1
inc eax
cmp eax, 0x14
jae 0x140009334
comisd xmm2, xmm0
ja 0x140009323
movsxd r9, eax
mov r9, qword [rsp + r9*8 + 0x50]
movq r8, xmm2
lea rdx, str._.2f_s
lea rcx, [rsp + 0x78]
call fcn.140084a80
lea rdx, [rsp + 0x78]
lea rcx, [0x140144f60]
call fcn.140003be0
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400093a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000939f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400097ba
call fcn.1400a2410
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.1400a5140
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1400a9580
cmp word [rbp - 0x30], r14w
je 0x14000940f
lea rcx, [rbp - 0x30]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400093d4
test rax, rax
je 0x14000940f
nop dword [rax]
nop word [rax + rax]
dec rax
movzx ecx, word [rbp + rax*2 - 0x30]
cmp cx, 0x2f
je 0x140009404
cmp cx, 0x5c
jne 0x14000940f
mov word [rbp + rax*2 - 0x30], r14w
test rax, rax
jne 0x1400093f0
lea rax, [rbp - 0x30]
mov rdx, rbx
inc rdx
cmp word [rax + rdx*2], r14w
jne 0x140009416
lea r11, str.Microsoft_PC_Manager
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [r11 + r8*2], r14w
jne 0x140009430
cmp rdx, r8
jb 0x14000946a
movsxd r9, r8d
test r8d, r8d
jle 0x1400094a3
mov r10, rdx
sub r10, r8
add r10, r10
dec r9
lea rcx, [r10 + r9*2]
movzx eax, word [r11 + r9*2]
cmp word [rbp + rcx - 0x30], ax
jne 0x14000946a
test r9, r9
jg 0x140009450
jmp 0x1400094a3
mov eax, 0x5c
mov word [rbp + rdx*2 - 0x30], ax
mov r9, r14
test r8, r8
je 0x140009499
nop dword [rax]
lea eax, [r9 + rdx]
movsxd rcx, eax
movzx eax, word [r11 + r9*2]
mov word [rbp + rcx*2 - 0x2e], ax
inc r9
cmp r9, r8
jb 0x140009480
lea rax, [r8 + rdx]
mov word [rbp + rax*2 - 0x2e], r14w
lea rax, [rbp - 0x30]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x1400094b0
mov rax, qword [0x140144f58]
cmp rbx, rax
ja 0x1400094fe
lea rdi, [0x140144f40]
cmp rax, 8
cmovae rdi, qword [0x140144f40]
mov qword [0x140144f50], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1400a4a90
mov word [rbx + rdi], r14w
mov al, 1
jmp 0x140009787
lea r9, [rbp - 0x30]
mov rdx, rbx
lea rcx, [0x140144f40]
call fcn.140003c80
mov al, 1
jmp 0x140009787
mov dword [0x14014a4e0], 0xbba
cmp byte [0x140144e70], r14b
je 0x1400095dd
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov ecx, 0x60
call fcn.1400a2514
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 0x14
lea rdx, str.wm_install_disk_full
lea rcx, [rsp + 0x78]
call fcn.1400049c0
nop
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
call fcn.14007fb20
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400095cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400095c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400097c0
call fcn.1400a2410
nop
lea rcx, [rbp - 0x68]
call fcn.140004eb0
jmp 0x140009785
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call fcn.1400a5140
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call fcn.1400b81a8
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea rax, [rbp + 0x1e0]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140009640
mov r8, rbx
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x78]
call fcn.1400049c0
nop
lea rcx, [rbp - 0x68]
call fcn.1400097e0
nop
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r8, qword [rsp + 0x78]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.140084a80
nop
cmp qword [rax + 0x18], 8
jb 0x14000969c
mov rax, qword [rax]
mov rcx, rax
call fcn.14008ff70
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400096e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400097c6
call fcn.1400a2410
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140009728
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009723
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400097cc
call fcn.1400a2410
movdqa xmm0, xmmword [0x140128f10]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r14w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140009785
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009772
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400097ae
call fcn.1400a2410
jmp 0x140009785
lea rcx, str.TEXT_MSGBOX_10
call fcn.14008ff70
xor al, al
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400a23f0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400a92b0
nop
call fcn.1400a92b0
nop
call fcn.1400a92b0
nop
call fcn.1400a92b0
nop
call fcn.1400a92b0
nop
call fcn.1400a92b0
int3