Function at 0x140197590
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, 0xd60
mov qword [rsp + 0xcb8], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0xd50], rax
mov dword [rsp + 0xcb0], 0
mov rcx, qword [rsp + 0xd78]
call fcn.14000f500
cmp dword [rsp + 0xd80], eax
jle 0x1401975f2
xor eax, eax
jmp 0x140198578
mov rcx, qword [rsp + 0xd78]
call fcn.14000f500
cmp dword [rsp + 0xd80], eax
jne 0x140197663
mov rax, qword [rsp + 0xd70]
add rax, 0xdc8
cmp qword [rsp + 0xd78], rax
jne 0x140197648
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1e8
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
cmp eax, 0xffffffff
jne 0x140197648
xor eax, eax
jmp 0x140198578
lea r8, [0x1402470c4]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000d540
mov rax, qword [rsp + 0xd70]
add rax, 0xe70
cmp qword [rsp + 0xd78], rax
jne 0x140197c81
xor r8d, r8d
lea rdx, [rsp + 0xc30]
mov rcx, qword [rsp + 0xd70]
call fcn.14018d6e0
mov qword [rsp + 0xcc0], rax
lea rdx, [0x140248ac8]
mov rcx, qword [rsp + 0xcc0]
call fcn.140006cf0
mov byte [rsp + 0xc28], al
lea rcx, [rsp + 0xc30]
call fcn.140001470
movzx edx, byte [rsp + 0xc28]
test edx, edx
je 0x140197c81
lea rdx, [0x14024710c]
lea rcx, [rsp + 0x50]
call fcn.140002090
nop
lea rdx, [0x1402471b4]
lea rcx, [rsp + 0x58]
call fcn.140002090
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 + 0xd88]
add rcx, 0x1a0
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0xc40]
call fcn.140002230
mov qword [rsp + 0xcc8], rax
mov rax, qword [rsp + 0xcc8]
mov qword [rsp + 0xcd0], rax
lea r8, [0x14024747c]
mov rdx, qword [rsp + 0xcd0]
lea rcx, [rsp + 0xc48]
call fcn.1400010b0
mov qword [rsp + 0xcd8], rax
mov rcx, qword [rsp + 0xcd8]
call fcn.1400012c0
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 0x1401977c9
mov dword [rsp + 0xce0], 1
jmp 0x1401977d4
mov dword [rsp + 0xce0], 0
movzx eax, byte [rsp + 0xce0]
mov byte [rsp + 0xc38], al
lea rcx, [rsp + 0xc48]
call fcn.140001470
nop
lea rcx, [rsp + 0xc40]
call fcn.140001470
movzx edx, byte [rsp + 0xc38]
test edx, edx
je 0x14019794a
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0xc50]
call fcn.140002230
mov qword [rsp + 0xce8], rax
mov rax, qword [rsp + 0xce8]
mov qword [rsp + 0xcf0], rax
lea r8, [0x140247924]
mov rdx, qword [rsp + 0xcf0]
lea rcx, [rsp + 0xc58]
call fcn.1400010b0
mov qword [rsp + 0xcf8], rax
mov rcx, qword [rsp + 0xcf8]
call fcn.1400012c0
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.140001470
nop
lea rcx, [rsp + 0xc50]
call fcn.140001470
mov rax, qword [rsp + 0x880]
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
test rax, rax
jge 0x1401978d0
addsd xmm2, qword [0x14025b050]
divsd xmm2, qword [0x14025d268]
divsd xmm2, qword [0x14025d268]
divsd xmm2, qword [0x14025d268]
movq r8, xmm2
lea rdx, [0x140248ae8]
lea rcx, [rsp + 0x50]
call fcn.140002be0
mov rdx, qword [rsp + 0x888]
pxor xmm2, xmm2
cvtsi2sd xmm2, rdx
test rdx, rdx
jge 0x14019791c
addsd xmm2, qword [0x14025b050]
divsd xmm2, qword [0x14025d268]
divsd xmm2, qword [0x14025d268]
divsd xmm2, qword [0x14025d268]
movq r8, xmm2
lea rdx, [0x140248af8]
lea rcx, [rsp + 0x58]
call fcn.140002be0
lea rax, [rsp + 0xc60]
mov qword [rsp + 0xc68], rax
mov rdx, qword [rsp + 0xd88]
add rdx, 0x1a8
mov rcx, qword [rsp + 0xc68]
call fcn.140001440
mov qword [rsp + 0xd00], rax
mov rdx, qword [rsp + 0xd00]
mov rcx, qword [rsp + 0xd70]
call fcn.14018c280
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 + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140082bcc
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
call fcn.1400012c0
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
lea rdx, [0x140248b08]
call fcn.140006050
test eax, eax
jne 0x140197a72
lea rdx, str.Writeback
lea rcx, [rsp + 0xc78]
call fcn.1400eeb20
mov qword [rsp + 0xd08], rax
mov rax, qword [rsp + 0xd08]
mov qword [rsp + 0xd10], rax
mov eax, dword [rsp + 0xcb0]
or eax, 1
mov dword [rsp + 0xcb0], eax
mov rax, qword [rsp + 0xd10]
mov qword [rsp + 0xd18], rax
jmp 0x140197acf
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0xc80]
call fcn.1400eeb20
mov qword [rsp + 0xd20], rax
mov rax, qword [rsp + 0xd20]
mov qword [rsp + 0xd28], rax
mov eax, dword [rsp + 0xcb0]
or eax, 2
mov dword [rsp + 0xcb0], eax
mov rax, qword [rsp + 0xd28]
mov qword [rsp + 0xd18], rax
mov rax, qword [rsp + 0xd18]
mov qword [rsp + 0xc70], rax
mov rcx, qword [rsp + 0xc70]
call fcn.1400012c0
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
nop
mov eax, dword [rsp + 0xcb0]
and eax, 2
test eax, eax
je 0x140197b2e
and dword [rsp + 0xcb0], 0xfffffffd
lea rcx, [rsp + 0xc80]
call fcn.140001470
nop
mov eax, dword [rsp + 0xcb0]
and eax, 1
test eax, eax
je 0x140197b51
and dword [rsp + 0xcb0], 0xfffffffe
lea rcx, [rsp + 0xc78]
call fcn.140001470
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1c0
call fcn.1400012c0
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
lea rcx, [rsp + 0x50]
call fcn.1400012c0
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
lea rcx, [rsp + 0x58]
call fcn.1400012c0
mov r9, rax
mov r8d, 4
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b0
call fcn.1400012c0
mov r9, rax
mov r8d, 5
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b8
call fcn.1400012c0
mov r9, rax
mov r8d, 6
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rdx, qword [rsp + 0xd88]
mov r8d, dword [rdx + 0x198]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000ee90
mov dword [rsp + 0xc88], 1
lea rcx, [rsp + 0x58]
call fcn.140001470
nop
lea rcx, [rsp + 0x50]
call fcn.140001470
mov eax, dword [rsp + 0xc88]
jmp 0x140198578
mov rax, qword [rsp + 0xd70]
add rax, 0xf18
cmp qword [rsp + 0xd78], rax
jne 0x140197f87
xor r8d, r8d
lea rdx, [rsp + 0xc90]
mov rcx, qword [rsp + 0xd70]
call fcn.14018d6e0
mov qword [rsp + 0xd30], rax
lea rdx, [0x140248b30]
mov rcx, qword [rsp + 0xd30]
call fcn.140006cf0
mov byte [rsp + 0xc8c], al
lea rcx, [rsp + 0xc90]
call fcn.140001470
movzx edx, byte [rsp + 0xc8c]
test edx, edx
je 0x140197f87
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b0
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
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 + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140082bcc
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
call fcn.1400012c0
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.1400012c0
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
lea rcx, [rsp + 0xbd0]
call fcn.140002d50
nop
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.1400012c0
mov rcx, rax
call fcn.140105330
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
test rax, rax
jge 0x140197df3
addsd xmm2, qword [0x14025b050]
divsd xmm2, qword [0x14025d268]
divsd xmm2, qword [0x14025d268]
divsd xmm2, qword [0x14025d268]
movq r8, xmm2
lea rdx, str._0.2f
lea rcx, [rsp + 0xbd0]
call fcn.140002be0
lea rcx, [rsp + 0xbd0]
call fcn.1400012c0
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rdx, qword [rsp + 0xd88]
mov edx, dword [rdx + 0x198]
lea rcx, [rsp + 0x890]
call fcn.1401cd210
nop
lea rcx, [rsp + 0xbd8]
call fcn.140007bb0
nop
lea rdx, [rsp + 0xbd8]
lea rcx, [rsp + 0x890]
call fcn.1401b8110
lea rdx, [0x140247a7c]
lea rcx, [rsp + 0xc08]
call fcn.140002090
nop
lea rcx, [rsp + 0xbd8]
call fcn.140007c30
test rax, rax
jbe 0x140197eec
lea rcx, [rsp + 0xbd8]
call fcn.140007c30
mov rdx, rax
sub rdx, 1
lea rcx, [rsp + 0xbd8]
call fcn.140007c60
mov rdx, rax
add rdx, 0x1b0
lea rcx, [rsp + 0xc08]
call fcn.140002d20
lea rcx, [rsp + 0xc08]
call fcn.1400012c0
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rdx, qword [rsp + 0xd88]
mov r8d, dword [rdx + 0x198]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000ee90
mov dword [rsp + 0xc98], 1
lea rcx, [rsp + 0xc08]
call fcn.140001470
nop
lea rcx, [rsp + 0xbd8]
call fcn.140007c00
nop
lea rcx, [rsp + 0x890]
call fcn.140005d50
nop
lea rcx, [rsp + 0xbd0]
call fcn.140001470
mov eax, dword [rsp + 0xc98]
jmp 0x140198578
mov rax, qword [rsp + 0xd70]
add rax, 0xdc8
cmp qword [rsp + 0xd78], rax
jne 0x140198550
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
call fcn.1400012c0
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1c8
call fcn.1400012c0
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b8
call fcn.1400012c0
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x210
call fcn.1400012c0
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x230
call fcn.1400012c0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x228
call fcn.140007b70
movzx eax, al
test eax, eax
je 0x1401980fd
mov edx, ILCreateFromPathW
lea rcx, [rsp + 0xca8]
call fcn.1400efaa0
mov qword [rsp + 0xd38], rax
mov rax, qword [rsp + 0xd38]
mov qword [rsp + 0xd40], rax
mov eax, dword [rsp + 0xcb0]
or eax, 4
mov dword [rsp + 0xcb0], eax
mov rax, qword [rsp + 0xd40]
mov qword [rsp + 0xd48], rax
jmp 0x140198113
mov rax, qword [rsp + 0xd88]
add rax, 0x228
mov qword [rsp + 0xd48], rax
mov rax, qword [rsp + 0xd48]
mov qword [rsp + 0xca0], rax
mov rcx, qword [rsp + 0xca0]
call fcn.1400012c0
mov r9, rax
mov r8d, 0x1a
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
nop
mov eax, dword [rsp + 0xcb0]
and eax, 4
test eax, eax
je 0x140198171
and dword [rsp + 0xcb0], 0xfffffffb
lea rcx, [rsp + 0xca8]
call fcn.140001470
lea rdx, str.Disable
lea rcx, [rsp + 0xc18]
call fcn.140002090
nop
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
test eax, eax
je 0x1401981ee
lea rdx, [0x140248b70]
lea rcx, [rsp + 0xc18]
call fcn.140002060
mov rcx, qword [rsp + 0xd88]
add rcx, 0x200
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
test eax, eax
je 0x1401981ee
lea rdx, [0x140248b80]
lea rcx, [rsp + 0xc18]
call fcn.140002060
lea rcx, [rsp + 0xc18]
call fcn.1400012c0
mov r9, rax
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x208
call fcn.1400012c0
mov r9, rax
mov r8d, reloc.WS2_32.dll_listen
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rdx, qword [rsp + 0xd88]
mov eax, dword [rdx + 0x198]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x804d
xor edx, edx
lea rcx, [0x1403adbe0]
call fcn.1400d5e50
mov dword [rsp + 0xc10], eax
lea rcx, [rsp + 0xc20]
call fcn.140002d50
nop
cmp dword [rsp + 0xc10], 0
je 0x1401982b0
mov r8d, dword [rsp + 0xc10]
lea rdx, str._c:_
lea rcx, [rsp + 0xc20]
call fcn.140002be0
jmp 0x1401982cc
mov r8d, dword [rsp + 0xc10]
lea rdx, [0x140248ba0]
lea rcx, [rsp + 0xc20]
call fcn.140002be0
lea rcx, [rsp + 0xc20]
call fcn.1400012c0
mov r9, rax
mov r8d, reloc.WS2_32.dll_ntohl
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x248
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
test eax, eax
je 0x140198349
mov rcx, qword [rsp + 0xd88]
add rcx, 0x250
call fcn.1400012c0
mov r9, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
jmp 0x14019836a
lea r9, [0x140248ba8]
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x260
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
test eax, eax
je 0x1401983ab
lea r9, [0x140248bb0]
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400824b8
mov rcx, qword [rsp + 0xd70]
add rcx, 0x918
call fcn.140010ae0
mov rcx, qword [rsp + 0xd70]
add rcx, 0x8f0
mov rax, qword [rsp + 0xd88]
mov edx, dword [rax + 0x198]
call fcn.14000f530
mov rcx, qword [rsp + 0xd70]
add rcx, 0x918
mov rax, qword [rsp + 0xd70]
mov rax, qword [rax + 0x918]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
test eax, eax
je 0x1401984e6
mov rcx, qword [rsp + 0xd88]
add rcx, 0x288
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
test eax, eax
jne 0x140198496
mov rcx, qword [rsp + 0xd70]
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 + 0xd80]
call fcn.140082bcc
jmp 0x1401984e4
mov rcx, qword [rsp + 0xd70]
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 + 0xd80]
call fcn.140082bcc
jmp 0x140198535
mov rcx, qword [rsp + 0xd70]
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 + 0xd80]
call fcn.140082bcc
nop
lea rcx, [rsp + 0xc20]
call fcn.140001470
nop
lea rcx, [rsp + 0xc18]
call fcn.140001470
mov rax, qword [rsp + 0xd88]
mov r8d, dword [rax + 0x198]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000ee90
mov eax, 1
mov rcx, qword [rsp + 0xd50]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0xd60
pop rdi
ret