Function at 0x140197620
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 [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0xd50], rax
mov dword [rsp + 0xcb0], 0
mov rcx, qword [rsp + 0xd78]
call fcn.14000ebf0
cmp dword [rsp + 0xd80], eax
jle 0x140197682
xor eax, eax
jmp 0x140198608
mov rcx, qword [rsp + 0xd78]
call fcn.14000ebf0
cmp dword [rsp + 0xd80], eax
jne 0x1401976f3
mov rax, qword [rsp + 0xd70]
add rax, 0xdc8
cmp qword [rsp + 0xd78], rax
jne 0x1401976d8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1e8
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
cmp eax, 0xffffffff
jne 0x1401976d8
xor eax, eax
jmp 0x140198608
lea r8, [0x14024634c]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000c8e0
mov rax, qword [rsp + 0xd70]
add rax, 0xe70
cmp qword [rsp + 0xd78], rax
jne 0x140197d11
xor r8d, r8d
lea rdx, [rsp + 0xc30]
mov rcx, qword [rsp + 0xd70]
call fcn.14018d770
mov qword [rsp + 0xcc0], rax
lea rdx, [0x140247d08]
mov rcx, qword [rsp + 0xcc0]
call fcn.140006d50
mov byte [rsp + 0xc28], al
lea rcx, [rsp + 0xc30]
call fcn.140001490
movzx edx, byte [rsp + 0xc28]
test edx, edx
je 0x140197d11
lea rdx, [0x1402463f4]
lea rcx, [rsp + 0x50]
call fcn.1400020d0
nop
lea rdx, [0x1402466bc]
lea rcx, [rsp + 0x58]
call fcn.1400020d0
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.140002270
mov qword [rsp + 0xcc8], rax
mov rax, qword [rsp + 0xcc8]
mov qword [rsp + 0xcd0], rax
lea r8, [0x140246b64]
mov rdx, qword [rsp + 0xcd0]
lea rcx, [rsp + 0xc48]
call fcn.1400010b0
mov qword [rsp + 0xcd8], rax
mov rcx, qword [rsp + 0xcd8]
call fcn.140023510
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 0x140197859
mov dword [rsp + 0xce0], 1
jmp 0x140197864
mov dword [rsp + 0xce0], 0
movzx eax, byte [rsp + 0xce0]
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 0x1401979da
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0xc50]
call fcn.140002270
mov qword [rsp + 0xce8], rax
mov rax, qword [rsp + 0xce8]
mov qword [rsp + 0xcf0], rax
lea r8, [0x140246cbc]
mov rdx, qword [rsp + 0xcf0]
lea rcx, [rsp + 0xc58]
call fcn.1400010b0
mov qword [rsp + 0xcf8], rax
mov rcx, qword [rsp + 0xcf8]
call fcn.140023510
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 0x140197960
addsd xmm2, qword [0x14025a290]
divsd xmm2, qword [0x14025c4a8]
divsd xmm2, qword [0x14025c4a8]
divsd xmm2, qword [0x14025c4a8]
movq r8, xmm2
lea rdx, [0x140247d28]
lea rcx, [rsp + 0x50]
call fcn.140002c40
mov rdx, qword [rsp + 0x888]
pxor xmm2, xmm2
cvtsi2sd xmm2, rdx
test rdx, rdx
jge 0x1401979ac
addsd xmm2, qword [0x14025a290]
divsd xmm2, qword [0x14025c4a8]
divsd xmm2, qword [0x14025c4a8]
divsd xmm2, qword [0x14025c4a8]
movq r8, xmm2
lea rdx, [0x140247d38]
lea rcx, [rsp + 0x58]
call fcn.140002c40
lea rax, [rsp + 0xc60]
mov qword [rsp + 0xc68], rax
mov rdx, qword [rsp + 0xd88]
add rdx, 0x1a8
mov rcx, qword [rsp + 0xc68]
call fcn.140001430
mov qword [rsp + 0xd00], rax
mov rdx, qword [rsp + 0xd00]
mov rcx, qword [rsp + 0xd70]
call fcn.14018c310
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.140082ae0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
call fcn.140023510
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
lea rdx, [0x140247d48]
call fcn.1400060b0
test eax, eax
jne 0x140197b02
lea rdx, str.Writeback
lea rcx, [rsp + 0xc78]
call fcn.1400eeb90
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 0x140197b5f
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.140023510
mov rdx, rax
lea rcx, [rsp + 0xc80]
call fcn.1400eeb90
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.140023510
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
nop
mov eax, dword [rsp + 0xcb0]
and eax, 2
test eax, eax
je 0x140197bbe
and dword [rsp + 0xcb0], 0xfffffffd
lea rcx, [rsp + 0xc80]
call fcn.140001490
nop
mov eax, dword [rsp + 0xcb0]
and eax, 1
test eax, eax
je 0x140197be1
and dword [rsp + 0xcb0], 0xfffffffe
lea rcx, [rsp + 0xc78]
call fcn.140001490
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1c0
call fcn.140023510
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
lea rcx, [rsp + 0x50]
call fcn.140023510
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
lea rcx, [rsp + 0x58]
call fcn.140023510
mov r9, rax
mov r8d, 4
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b0
call fcn.140023510
mov r9, rax
mov r8d, 5
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b8
call fcn.140023510
mov r9, rax
mov r8d, 6
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rdx, qword [rsp + 0xd88]
mov r8d, dword [rdx + 0x198]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000e580
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 0x140198608
mov rax, qword [rsp + 0xd70]
add rax, 0xf18
cmp qword [rsp + 0xd78], rax
jne 0x140198017
xor r8d, r8d
lea rdx, [rsp + 0xc90]
mov rcx, qword [rsp + 0xd70]
call fcn.14018d770
mov qword [rsp + 0xd30], rax
lea rdx, [0x140247d70]
mov rcx, qword [rsp + 0xd30]
call fcn.140006d50
mov byte [rsp + 0xc8c], al
lea rcx, [rsp + 0xc90]
call fcn.140001490
movzx edx, byte [rsp + 0xc8c]
test edx, edx
je 0x140198017
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b0
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
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.140082ae0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
call fcn.140023510
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.140023510
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
lea rcx, [rsp + 0xbd0]
call fcn.140002db0
nop
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.140023510
mov rcx, rax
call fcn.1401053a0
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
test rax, rax
jge 0x140197e83
addsd xmm2, qword [0x14025a290]
divsd xmm2, qword [0x14025c4a8]
divsd xmm2, qword [0x14025c4a8]
divsd xmm2, qword [0x14025c4a8]
movq r8, xmm2
lea rdx, str._0.2f
lea rcx, [rsp + 0xbd0]
call fcn.140002c40
lea rcx, [rsp + 0xbd0]
call fcn.140023510
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rdx, qword [rsp + 0xd88]
mov edx, dword [rdx + 0x198]
lea rcx, [rsp + 0x890]
call fcn.1401cc270
nop
lea rcx, [rsp + 0xbd8]
call fcn.140007ac0
nop
lea rdx, [rsp + 0xbd8]
lea rcx, [rsp + 0x890]
call fcn.1401b7170
lea rdx, [0x140247004]
lea rcx, [rsp + 0xc08]
call fcn.1400020d0
nop
lea rcx, [rsp + 0xbd8]
call fcn.140007b40
test rax, rax
jbe 0x140197f7c
lea rcx, [rsp + 0xbd8]
call fcn.140007b40
mov rdx, rax
sub rdx, 1
lea rcx, [rsp + 0xbd8]
call fcn.140007b70
mov rdx, rax
add rdx, 0x1b0
lea rcx, [rsp + 0xc08]
call fcn.140002d80
lea rcx, [rsp + 0xc08]
call fcn.140023510
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rdx, qword [rsp + 0xd88]
mov r8d, dword [rdx + 0x198]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000e580
mov dword [rsp + 0xc98], 1
lea rcx, [rsp + 0xc08]
call fcn.140001490
nop
lea rcx, [rsp + 0xbd8]
call fcn.140007b10
nop
lea rcx, [rsp + 0x890]
call fcn.140005db0
nop
lea rcx, [rsp + 0xbd0]
call fcn.140001490
mov eax, dword [rsp + 0xc98]
jmp 0x140198608
mov rax, qword [rsp + 0xd70]
add rax, 0xdc8
cmp qword [rsp + 0xd78], rax
jne 0x1401985e0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
call fcn.140023510
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1c8
call fcn.140023510
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b8
call fcn.140023510
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x210
call fcn.140023510
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x230
call fcn.140023510
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x228
call fcn.140006e20
movzx eax, al
test eax, eax
je 0x14019818d
mov edx, ILCreateFromPathW
lea rcx, [rsp + 0xca8]
call fcn.1400efb10
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 0x1401981a3
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.140023510
mov r9, rax
mov r8d, 0x1a
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
nop
mov eax, dword [rsp + 0xcb0]
and eax, 4
test eax, eax
je 0x140198201
and dword [rsp + 0xcb0], 0xfffffffb
lea rcx, [rsp + 0xca8]
call fcn.140001490
lea rdx, str.Disable
lea rcx, [rsp + 0xc18]
call fcn.1400020d0
nop
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
test eax, eax
je 0x14019827e
lea rdx, [0x140247db0]
lea rcx, [rsp + 0xc18]
call fcn.1400020a0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x200
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
test eax, eax
je 0x14019827e
lea rdx, [0x140247dc0]
lea rcx, [rsp + 0xc18]
call fcn.1400020a0
lea rcx, [rsp + 0xc18]
call fcn.140023510
mov r9, rax
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x208
call fcn.140023510
mov r9, rax
mov r8d, reloc.WS2_32.dll_listen
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
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, [0x1403acbe0]
call fcn.1400d5e60
mov dword [rsp + 0xc10], eax
lea rcx, [rsp + 0xc20]
call fcn.140002db0
nop
cmp dword [rsp + 0xc10], 0
je 0x140198340
mov r8d, dword [rsp + 0xc10]
lea rdx, str._c:_
lea rcx, [rsp + 0xc20]
call fcn.140002c40
jmp 0x14019835c
mov r8d, dword [rsp + 0xc10]
lea rdx, [0x140247de0]
lea rcx, [rsp + 0xc20]
call fcn.140002c40
lea rcx, [rsp + 0xc20]
call fcn.140023510
mov r9, rax
mov r8d, reloc.WS2_32.dll_ntohl
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x248
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
test eax, eax
je 0x1401983d9
mov rcx, qword [rsp + 0xd88]
add rcx, 0x250
call fcn.140023510
mov r9, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
jmp 0x1401983fa
lea r9, [0x140247de8]
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd88]
add rcx, 0x260
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
test eax, eax
je 0x14019843b
lea r9, [0x140247df0]
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.1400823c0
mov rcx, qword [rsp + 0xd70]
add rcx, 0x918
call fcn.140010210
mov rcx, qword [rsp + 0xd70]
add rcx, 0x8f0
mov rax, qword [rsp + 0xd88]
mov edx, dword [rax + 0x198]
call fcn.14000ec20
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.140023510
mov rcx, rax
call fcn.1400a948c
test eax, eax
je 0x140198576
mov rcx, qword [rsp + 0xd88]
add rcx, 0x288
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
test eax, eax
jne 0x140198526
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.140082ae0
jmp 0x140198574
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.140082ae0
jmp 0x1401985c5
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.140082ae0
nop
lea rcx, [rsp + 0xc20]
call fcn.140001490
nop
lea rcx, [rsp + 0xc18]
call fcn.140001490
mov rax, qword [rsp + 0xd88]
mov r8d, dword [rax + 0x198]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000e580
mov eax, 1
mov rcx, qword [rsp + 0xd50]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0xd60
pop rdi
ret