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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd30
mov qword [rsp + 0xca0], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0xd20], rax
mov dword [rsp + 0xc9c], 0
mov rcx, qword [rsp + 0xd48]
call fcn.14000cd90
cmp dword [rsp + 0xd50], eax
jle 0x1401a6182
xor eax, eax
jmp 0x1401a702c
mov rcx, qword [rsp + 0xd48]
call fcn.14000cd90
cmp dword [rsp + 0xd50], eax
jne 0x1401a61f3
mov rax, qword [rsp + 0xd40]
add rax, 0xdc8
cmp qword [rsp + 0xd48], rax
jne 0x1401a61d8
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1e8
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
cmp eax, 0xffffffff
jne 0x1401a61d8
xor eax, eax
jmp 0x1401a702c
lea r8, [0x14024b604]
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.14000aa20
mov rax, qword [rsp + 0xd40]
add rax, 0xe70
cmp qword [rsp + 0xd48], rax
jne 0x1401a6811
xor r8d, r8d
lea rdx, [rsp + 0xc30]
mov rcx, qword [rsp + 0xd40]
call fcn.140193f10
mov qword [rsp + 0xca8], rax
lea rdx, [0x14024ec58]
mov rcx, qword [rsp + 0xca8]
call fcn.140006d50
mov byte [rsp + 0xc28], al
lea rcx, [rsp + 0xc30]
call fcn.140001490
movzx edx, byte [rsp + 0xc28]
test edx, edx
je 0x1401a6811
lea rdx, [0x14024b66c]
lea rcx, [rsp + 0x50]
call fcn.140002100
nop
lea rdx, [0x14024b85c]
lea rcx, [rsp + 0x58]
call fcn.140002100
nop
xor eax, eax
mov word [rsp + 0x70], ax
lea rdi, [rsp + 0x72]
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a0
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0xc40]
call fcn.1400022a0
mov qword [rsp + 0xcb0], rax
mov rax, qword [rsp + 0xcb0]
mov qword [rsp + 0xcb8], rax
lea r8, [0x14024b8ac]
mov rdx, qword [rsp + 0xcb8]
lea rcx, [rsp + 0xc48]
call fcn.1400010b0
mov qword [rsp + 0xcc0], rax
mov rcx, qword [rsp + 0xcc0]
call fcn.14000f8f0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1401a6359
mov dword [rsp + 0xcc8], 1
jmp 0x1401a6364
mov dword [rsp + 0xcc8], 0
movzx eax, byte [rsp + 0xcc8]
mov byte [rsp + 0xc38], al
lea rcx, [rsp + 0xc48]
call fcn.140001490
nop
lea rcx, [rsp + 0xc40]
call fcn.140001490
movzx edx, byte [rsp + 0xc38]
test edx, edx
je 0x1401a64da
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a0
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0xc50]
call fcn.1400022a0
mov qword [rsp + 0xcd0], rax
mov rax, qword [rsp + 0xcd0]
mov qword [rsp + 0xcd8], rax
lea r8, [0x14024bb44]
mov rdx, qword [rsp + 0xcd8]
lea rcx, [rsp + 0xc58]
call fcn.1400010b0
mov qword [rsp + 0xce0], rax
mov rcx, qword [rsp + 0xce0]
call fcn.14000f8f0
lea r9, [rsp + 0x888]
lea r8, [rsp + 0x880]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea rcx, [rsp + 0xc58]
call fcn.140001490
nop
lea rcx, [rsp + 0xc50]
call fcn.140001490
mov rax, qword [rsp + 0x880]
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
test rax, rax
jge 0x1401a6460
addsd xmm2, qword [0x140261550]
divsd xmm2, qword [0x1402637f8]
divsd xmm2, qword [0x1402637f8]
divsd xmm2, qword [0x1402637f8]
movq r8, xmm2
lea rdx, [0x14024ec78]
lea rcx, [rsp + 0x50]
call fcn.140002c70
mov rdx, qword [rsp + 0x888]
pxor xmm2, xmm2
cvtsi2sd xmm2, rdx
test rdx, rdx
jge 0x1401a64ac
addsd xmm2, qword [0x140261550]
divsd xmm2, qword [0x1402637f8]
divsd xmm2, qword [0x1402637f8]
divsd xmm2, qword [0x1402637f8]
movq r8, xmm2
lea rdx, [0x14024ec88]
lea rcx, [rsp + 0x58]
call fcn.140002c70
lea rax, [rsp + 0xc60]
mov qword [rsp + 0xc68], rax
mov rdx, qword [rsp + 0xd58]
add rdx, 0x1a8
mov rcx, qword [rsp + 0xc68]
call fcn.140001430
mov qword [rsp + 0xce8], rax
mov rdx, qword [rsp + 0xce8]
mov rcx, qword [rsp + 0xd40]
call fcn.140192f60
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov r9d, 2
xor r8d, r8d
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140083348
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a0
call fcn.14000f8f0
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a8
lea rdx, [0x14024ec98]
call fcn.140006180
test eax, eax
jne 0x1401a6602
lea rdx, str.Writeback
lea rcx, [rsp + 0xc78]
call fcn.1400ef320
mov qword [rsp + 0xcf0], rax
mov rax, qword [rsp + 0xcf0]
mov qword [rsp + 0xcf8], rax
mov eax, dword [rsp + 0xc9c]
or eax, 1
mov dword [rsp + 0xc9c], eax
mov rax, qword [rsp + 0xcf8]
mov qword [rsp + 0xd00], rax
jmp 0x1401a665f
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a8
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0xc80]
call fcn.1400ef320
mov qword [rsp + 0xd08], rax
mov rax, qword [rsp + 0xd08]
mov qword [rsp + 0xd10], rax
mov eax, dword [rsp + 0xc9c]
or eax, 2
mov dword [rsp + 0xc9c], eax
mov rax, qword [rsp + 0xd10]
mov qword [rsp + 0xd00], rax
mov rax, qword [rsp + 0xd00]
mov qword [rsp + 0xc70], rax
mov rcx, qword [rsp + 0xc70]
call fcn.14000f8f0
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
nop
mov eax, dword [rsp + 0xc9c]
and eax, 2
test eax, eax
je 0x1401a66be
and dword [rsp + 0xc9c], 0xfffffffd
lea rcx, [rsp + 0xc80]
call fcn.140001490
nop
mov eax, dword [rsp + 0xc9c]
and eax, 1
test eax, eax
je 0x1401a66e1
and dword [rsp + 0xc9c], 0xfffffffe
lea rcx, [rsp + 0xc78]
call fcn.140001490
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1c0
call fcn.14000f8f0
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
lea rcx, [rsp + 0x50]
call fcn.14000f8f0
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
lea rcx, [rsp + 0x58]
call fcn.14000f8f0
mov r9, rax
mov r8d, 4
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1b0
call fcn.14000f8f0
mov r9, rax
mov r8d, 5
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1b8
call fcn.14000f8f0
mov r9, rax
mov r8d, 6
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rdx, qword [rsp + 0xd58]
mov r8d, dword [rdx + 0x198]
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.14000c7f0
mov dword [rsp + 0xc88], 1
lea rcx, [rsp + 0x58]
call fcn.140001490
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
mov eax, dword [rsp + 0xc88]
jmp 0x1401a702c
mov rax, qword [rsp + 0xd40]
add rax, 0xf18
cmp qword [rsp + 0xd48], rax
jne 0x1401a6b17
xor r8d, r8d
lea rdx, [rsp + 0xc90]
mov rcx, qword [rsp + 0xd40]
call fcn.140193f10
mov qword [rsp + 0xd18], rax
lea rdx, [0x14024ecc0]
mov rcx, qword [rsp + 0xd18]
call fcn.140006d50
mov byte [rsp + 0xc8c], al
lea rcx, [rsp + 0xc90]
call fcn.140001490
movzx edx, byte [rsp + 0xc8c]
test edx, edx
je 0x1401a6b17
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1b0
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov r9d, 2
xor r8d, r8d
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140083348
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a0
call fcn.14000f8f0
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a8
call fcn.14000f8f0
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
lea rcx, [rsp + 0xbd0]
call fcn.140002de0
nop
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a8
call fcn.14000f8f0
mov rcx, rax
call fcn.1401073b0
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
test rax, rax
jge 0x1401a6983
addsd xmm2, qword [0x140261550]
divsd xmm2, qword [0x1402637f8]
divsd xmm2, qword [0x1402637f8]
divsd xmm2, qword [0x1402637f8]
movq r8, xmm2
lea rdx, str._0.2f
lea rcx, [rsp + 0xbd0]
call fcn.140002c70
lea rcx, [rsp + 0xbd0]
call fcn.14000f8f0
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rdx, qword [rsp + 0xd58]
mov edx, dword [rdx + 0x198]
lea rcx, [rsp + 0x890]
call fcn.1401d18c0
nop
lea rcx, [rsp + 0xbd8]
call fcn.140006ef0
nop
lea rdx, [rsp + 0xbd8]
lea rcx, [rsp + 0x890]
call fcn.1401bee60
lea rdx, [0x14024bc9c]
lea rcx, [rsp + 0xc08]
call fcn.140002100
nop
lea rcx, [rsp + 0xbd8]
call fcn.140006f70
test rax, rax
jbe 0x1401a6a7c
lea rcx, [rsp + 0xbd8]
call fcn.140006f70
mov rdx, rax
sub rdx, 1
lea rcx, [rsp + 0xbd8]
call fcn.140006fa0
mov rdx, rax
add rdx, 0x1b0
lea rcx, [rsp + 0xc08]
call fcn.140002db0
lea rcx, [rsp + 0xc08]
call fcn.14000f8f0
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rdx, qword [rsp + 0xd58]
mov r8d, dword [rdx + 0x198]
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.14000c7f0
mov dword [rsp + 0xc98], 1
lea rcx, [rsp + 0xc08]
call fcn.140001490
nop
lea rcx, [rsp + 0xbd8]
call fcn.140006f40
nop
lea rcx, [rsp + 0x890]
call fcn.140014ec0
nop
lea rcx, [rsp + 0xbd0]
call fcn.140001490
mov eax, dword [rsp + 0xc98]
jmp 0x1401a702c
mov rax, qword [rsp + 0xd40]
add rax, 0xdc8
cmp qword [rsp + 0xd48], rax
jne 0x1401a7004
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a0
call fcn.14000f8f0
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1c8
call fcn.14000f8f0
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1b8
call fcn.14000f8f0
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x210
call fcn.14000f8f0
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x230
call fcn.14000f8f0
mov r9, rax
mov r8d, reloc.WSOCK32.dll_inet_ntoa
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
lea rdx, str.Disable
lea rcx, [rsp + 0xc18]
call fcn.140002100
nop
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a8
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
test eax, eax
je 0x1401a6ca2
lea rdx, [0x14024ed00]
lea rcx, [rsp + 0xc18]
call fcn.1400020d0
mov rcx, qword [rsp + 0xd58]
add rcx, 0x200
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
test eax, eax
je 0x1401a6ca2
lea rdx, [0x14024ed10]
lea rcx, [rsp + 0xc18]
call fcn.1400020d0
lea rcx, [rsp + 0xc18]
call fcn.14000f8f0
mov r9, rax
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x208
call fcn.14000f8f0
mov r9, rax
mov r8d, reloc.WSOCK32.dll_listen
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rdx, qword [rsp + 0xd58]
mov eax, dword [rdx + 0x198]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x804d
xor edx, edx
lea rcx, [0x1403b5c10]
call fcn.1400d71f0
mov dword [rsp + 0xc10], eax
lea rcx, [rsp + 0xc20]
call fcn.140002de0
nop
cmp dword [rsp + 0xc10], 0
je 0x1401a6d64
mov r8d, dword [rsp + 0xc10]
lea rdx, str._c:_
lea rcx, [rsp + 0xc20]
call fcn.140002c70
jmp 0x1401a6d80
mov r8d, dword [rsp + 0xc10]
lea rdx, [0x14024ed30]
lea rcx, [rsp + 0xc20]
call fcn.140002c70
lea rcx, [rsp + 0xc20]
call fcn.14000f8f0
mov r9, rax
mov r8d, reloc.WSOCK32.dll_ntohl
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x248
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
test eax, eax
je 0x1401a6dfd
mov rcx, qword [rsp + 0xd58]
add rcx, 0x250
call fcn.14000f8f0
mov r9, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
jmp 0x1401a6e1e
lea r9, [0x14024ed38]
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd58]
add rcx, 0x260
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
test eax, eax
je 0x1401a6e5f
lea r9, [0x14024ed40]
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.140082c34
mov rcx, qword [rsp + 0xd40]
add rcx, 0x918
call fcn.14000e350
mov rcx, qword [rsp + 0xd40]
add rcx, 0x8f0
mov rax, qword [rsp + 0xd58]
mov edx, dword [rax + 0x198]
call fcn.14000cdc0
mov rcx, qword [rsp + 0xd40]
add rcx, 0x918
mov rax, qword [rsp + 0xd40]
mov rax, qword [rax + 0x918]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0xd58]
add rcx, 0x1a8
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
test eax, eax
je 0x1401a6f9a
mov rcx, qword [rsp + 0xd58]
add rcx, 0x288
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
test eax, eax
jne 0x1401a6f4a
mov rcx, qword [rsp + 0xd40]
add rcx, 0xdc8
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9d, 2
xor r8d, r8d
mov edx, dword [rsp + 0xd50]
call fcn.140083348
jmp 0x1401a6f98
mov rcx, qword [rsp + 0xd40]
add rcx, 0xdc8
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
mov r9d, 2
xor r8d, r8d
mov edx, dword [rsp + 0xd50]
call fcn.140083348
jmp 0x1401a6fe9
mov rcx, qword [rsp + 0xd40]
add rcx, 0xdc8
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], 0
mov r9d, 2
xor r8d, r8d
mov edx, dword [rsp + 0xd50]
call fcn.140083348
nop
lea rcx, [rsp + 0xc20]
call fcn.140001490
nop
lea rcx, [rsp + 0xc18]
call fcn.140001490
mov rax, qword [rsp + 0xd58]
mov r8d, dword [rax + 0x198]
mov edx, dword [rsp + 0xd50]
mov rcx, qword [rsp + 0xd48]
call fcn.14000c7f0
mov eax, 1
mov rcx, qword [rsp + 0xd20]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0xd30
pop rdi
ret