Function at 0x1401af740
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 [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0xd50], rax
mov dword [rsp + 0xcb0], 0
mov rcx, qword [rsp + 0xd78]
call fcn.14000dba0
cmp dword [rsp + 0xd80], eax
jle 0x1401af7a2
xor eax, eax
jmp 0x1401b0728
mov rcx, qword [rsp + 0xd78]
call fcn.14000dba0
cmp dword [rsp + 0xd80], eax
jne 0x1401af813
mov rax, qword [rsp + 0xd70]
add rax, 0xdc8
cmp qword [rsp + 0xd78], rax
jne 0x1401af7f8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1e8
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
cmp eax, 0xffffffff
jne 0x1401af7f8
xor eax, eax
jmp 0x1401b0728
lea r8, [0x14025ff34]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000b5e0
mov rax, qword [rsp + 0xd70]
add rax, 0xe70
cmp qword [rsp + 0xd78], rax
jne 0x1401afe31
xor r8d, r8d
lea rdx, [rsp + 0xc30]
mov rcx, qword [rsp + 0xd70]
call fcn.140199b60
mov qword [rsp + 0xcc0], rax
lea rdx, [0x140260688]
mov rcx, qword [rsp + 0xcc0]
call fcn.140006dd0
mov byte [rsp + 0xc28], al
lea rcx, [rsp + 0xc30]
call fcn.140007060
movzx edx, byte [rsp + 0xc28]
test edx, edx
je 0x1401afe31
lea rdx, [0x14025ff94]
lea rcx, [rsp + 0x50]
call fcn.140002050
nop
lea rdx, [0x14025ffa4]
lea rcx, [rsp + 0x58]
call fcn.140002050
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.1400021f0
mov qword [rsp + 0xcc8], rax
mov rax, qword [rsp + 0xcc8]
mov qword [rsp + 0xcd0], rax
lea r8, [0x14025ffcc]
mov rdx, qword [rsp + 0xcd0]
lea rcx, [rsp + 0xc48]
call fcn.1400010b0
mov qword [rsp + 0xcd8], rax
mov rcx, qword [rsp + 0xcd8]
call fcn.140050200
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 0x1401af979
mov dword [rsp + 0xce0], 1
jmp 0x1401af984
mov dword [rsp + 0xce0], 0
movzx eax, byte [rsp + 0xce0]
mov byte [rsp + 0xc38], al
lea rcx, [rsp + 0xc48]
call fcn.140007060
nop
lea rcx, [rsp + 0xc40]
call fcn.140007060
movzx edx, byte [rsp + 0xc38]
test edx, edx
je 0x1401afafa
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0xc50]
call fcn.1400021f0
mov qword [rsp + 0xce8], rax
mov rax, qword [rsp + 0xce8]
mov qword [rsp + 0xcf0], rax
lea r8, [0x14025ffdc]
mov rdx, qword [rsp + 0xcf0]
lea rcx, [rsp + 0xc58]
call fcn.1400010b0
mov qword [rsp + 0xcf8], rax
mov rcx, qword [rsp + 0xcf8]
call fcn.140050200
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.140007060
nop
lea rcx, [rsp + 0xc50]
call fcn.140007060
mov rax, qword [rsp + 0x880]
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
test rax, rax
jge 0x1401afa80
addsd xmm2, qword [0x140272fc0]
divsd xmm2, qword [0x140275288]
divsd xmm2, qword [0x140275288]
divsd xmm2, qword [0x140275288]
movq r8, xmm2
lea rdx, [0x1402606a8]
lea rcx, [rsp + 0x50]
call fcn.140002ba0
mov rdx, qword [rsp + 0x888]
pxor xmm2, xmm2
cvtsi2sd xmm2, rdx
test rdx, rdx
jge 0x1401afacc
addsd xmm2, qword [0x140272fc0]
divsd xmm2, qword [0x140275288]
divsd xmm2, qword [0x140275288]
divsd xmm2, qword [0x140275288]
movq r8, xmm2
lea rdx, [0x1402606b8]
lea rcx, [rsp + 0x58]
call fcn.140002ba0
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.140198700
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.1400842b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
call fcn.140050200
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
lea rdx, [0x1402606c8]
call fcn.140006130
test eax, eax
jne 0x1401afc22
lea rdx, str.Writeback
lea rcx, [rsp + 0xc78]
call fcn.1400f05c0
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 0x1401afc7f
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0xc80]
call fcn.1400f05c0
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.140050200
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
nop
mov eax, dword [rsp + 0xcb0]
and eax, 2
test eax, eax
je 0x1401afcde
and dword [rsp + 0xcb0], 0xfffffffd
lea rcx, [rsp + 0xc80]
call fcn.140007060
nop
mov eax, dword [rsp + 0xcb0]
and eax, 1
test eax, eax
je 0x1401afd01
and dword [rsp + 0xcb0], 0xfffffffe
lea rcx, [rsp + 0xc78]
call fcn.140007060
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1c0
call fcn.140050200
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
lea rcx, [rsp + 0x50]
call fcn.140050200
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
lea rcx, [rsp + 0x58]
call fcn.140050200
mov r9, rax
mov r8d, 4
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b0
call fcn.140050200
mov r9, rax
mov r8d, 5
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b8
call fcn.140050200
mov r9, rax
mov r8d, 6
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rdx, qword [rsp + 0xd88]
mov r8d, dword [rdx + 0x198]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000d530
mov dword [rsp + 0xc88], 1
lea rcx, [rsp + 0x58]
call fcn.140007060
nop
lea rcx, [rsp + 0x50]
call fcn.140007060
mov eax, dword [rsp + 0xc88]
jmp 0x1401b0728
mov rax, qword [rsp + 0xd70]
add rax, 0xf18
cmp qword [rsp + 0xd78], rax
jne 0x1401b0137
xor r8d, r8d
lea rdx, [rsp + 0xc90]
mov rcx, qword [rsp + 0xd70]
call fcn.140199b60
mov qword [rsp + 0xd30], rax
lea rdx, [0x1402606f0]
mov rcx, qword [rsp + 0xd30]
call fcn.140006dd0
mov byte [rsp + 0xc8c], al
lea rcx, [rsp + 0xc90]
call fcn.140007060
movzx edx, byte [rsp + 0xc8c]
test edx, edx
je 0x1401b0137
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b0
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
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.1400842b8
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
call fcn.140050200
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.140050200
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
lea rcx, [rsp + 0xbd0]
call fcn.140002d10
nop
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.140050200
mov rcx, rax
call fcn.140108c30
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
test rax, rax
jge 0x1401affa3
addsd xmm2, qword [0x140272fc0]
divsd xmm2, qword [0x140275288]
divsd xmm2, qword [0x140275288]
divsd xmm2, qword [0x140275288]
movq r8, xmm2
lea rdx, str._0.2f
lea rcx, [rsp + 0xbd0]
call fcn.140002ba0
lea rcx, [rsp + 0xbd0]
call fcn.140050200
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rdx, qword [rsp + 0xd88]
mov edx, dword [rdx + 0x198]
lea rcx, [rsp + 0x890]
call fcn.1401e0680
nop
lea rcx, [rsp + 0xbd8]
call fcn.140007080
nop
lea rdx, [rsp + 0xbd8]
lea rcx, [rsp + 0x890]
call fcn.1401cb640
lea rdx, [0x14025ffec]
lea rcx, [rsp + 0xc08]
call fcn.140002050
nop
lea rcx, [rsp + 0xbd8]
call fcn.140007100
test rax, rax
jbe 0x1401b009c
lea rcx, [rsp + 0xbd8]
call fcn.140007100
mov rdx, rax
sub rdx, 1
lea rcx, [rsp + 0xbd8]
call fcn.140007130
mov rdx, rax
add rdx, 0x1b0
lea rcx, [rsp + 0xc08]
call fcn.140002ce0
lea rcx, [rsp + 0xc08]
call fcn.140050200
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rdx, qword [rsp + 0xd88]
mov r8d, dword [rdx + 0x198]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000d530
mov dword [rsp + 0xc98], 1
lea rcx, [rsp + 0xc08]
call fcn.140007060
nop
lea rcx, [rsp + 0xbd8]
call fcn.1400070d0
nop
lea rcx, [rsp + 0x890]
call fcn.140005e30
nop
lea rcx, [rsp + 0xbd0]
call fcn.140007060
mov eax, dword [rsp + 0xc98]
jmp 0x1401b0728
mov rax, qword [rsp + 0xd70]
add rax, 0xdc8
cmp qword [rsp + 0xd78], rax
jne 0x1401b0700
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a0
call fcn.140050200
mov r9, rax
xor r8d, r8d
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1c8
call fcn.140050200
mov r9, rax
mov r8d, 1
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1b8
call fcn.140050200
mov r9, rax
mov r8d, 2
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x210
call fcn.140050200
mov r9, rax
mov r8d, 3
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x230
call fcn.140050200
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x228
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x1401b02ad
mov edx, ILCreateFromPathW
lea rcx, [rsp + 0xca8]
call fcn.1400f1540
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 0x1401b02c3
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.140050200
mov r9, rax
mov r8d, 0x1a
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
nop
mov eax, dword [rsp + 0xcb0]
and eax, 4
test eax, eax
je 0x1401b0321
and dword [rsp + 0xcb0], 0xfffffffb
lea rcx, [rsp + 0xca8]
call fcn.140007060
lea rdx, str.Disable
lea rcx, [rsp + 0xc18]
call fcn.140002050
nop
mov rcx, qword [rsp + 0xd88]
add rcx, 0x1a8
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
test eax, eax
je 0x1401b039e
lea rdx, [0x140260730]
lea rcx, [rsp + 0xc18]
call fcn.140002020
mov rcx, qword [rsp + 0xd88]
add rcx, 0x200
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
test eax, eax
je 0x1401b039e
lea rdx, [0x140260740]
lea rcx, [rsp + 0xc18]
call fcn.140002020
lea rcx, [rsp + 0xc18]
call fcn.140050200
mov r9, rax
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x208
call fcn.140050200
mov r9, rax
mov r8d, reloc.WS2_32.dll_listen
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
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, [0x1403c8c50]
call fcn.1400d8250
mov dword [rsp + 0xc10], eax
lea rcx, [rsp + 0xc20]
call fcn.140002d10
nop
cmp dword [rsp + 0xc10], 0
je 0x1401b0460
mov r8d, dword [rsp + 0xc10]
lea rdx, str._c:_
lea rcx, [rsp + 0xc20]
call fcn.140002ba0
jmp 0x1401b047c
mov r8d, dword [rsp + 0xc10]
lea rdx, [0x140260760]
lea rcx, [rsp + 0xc20]
call fcn.140002ba0
lea rcx, [rsp + 0xc20]
call fcn.140050200
mov r9, rax
mov r8d, reloc.WS2_32.dll_ntohl
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x248
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
test eax, eax
je 0x1401b04f9
mov rcx, qword [rsp + 0xd88]
add rcx, 0x250
call fcn.140050200
mov r9, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
jmp 0x1401b051a
lea r9, [0x140260768]
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd88]
add rcx, 0x260
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
test eax, eax
je 0x1401b055b
lea r9, [0x140260770]
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.140083ba4
mov rcx, qword [rsp + 0xd70]
add rcx, 0x918
call fcn.14000f140
mov rcx, qword [rsp + 0xd70]
add rcx, 0x8f0
mov rax, qword [rsp + 0xd88]
mov edx, dword [rax + 0x198]
call fcn.14000dbd0
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.140050200
mov rcx, rax
call fcn.1400aac5c
test eax, eax
je 0x1401b0696
mov rcx, qword [rsp + 0xd88]
add rcx, 0x288
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
test eax, eax
jne 0x1401b0646
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.1400842b8
jmp 0x1401b0694
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.1400842b8
jmp 0x1401b06e5
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.1400842b8
nop
lea rcx, [rsp + 0xc20]
call fcn.140007060
nop
lea rcx, [rsp + 0xc18]
call fcn.140007060
mov rax, qword [rsp + 0xd88]
mov r8d, dword [rax + 0x198]
mov edx, dword [rsp + 0xd80]
mov rcx, qword [rsp + 0xd78]
call fcn.14000d530
mov eax, 1
mov rcx, qword [rsp + 0xd50]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0xd60
pop rdi
ret