Function at 0x14003b5e0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7e8]
sub rsp, 0x8c0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140197e90]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r12, rcx
mov qword [rbp - 0x60], rcx
xor r13d, r13d
mov dword [rsp + 0x58], r13d
mov dword [rsp + 0x40], r13d
mov r9d, dword [0x14019fd80]
lea ecx, [r9 + 2]
lea eax, [r9 + 1]
imul ecx, eax
imul ecx, r9d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
cmp ecx, 3
jne 0x14003b695
mov r8d, r13d
lea r10, [rbp + 0x4c0]
mov r11d, r9d
lea ecx, [r9 + r8]
mov eax, r11d
cdq
idiv ecx
mov dword [r10], edx
inc r8d
dec r11d
lea r10, [r10 + 4]
movsxd rax, r8d
cmp rax, 0xbc
jb 0x14003b673
mov dword [rsp + 0x44], r13d
mov qword [rsp + 0x68], r13
cmp qword [0x1401a16b0], r13
jne 0x14003b6d1
lea rcx, str.Version.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14003b6d1
lea rdx, str.GetFileVersionInfoSizeW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401a16b0], rax
lea rdx, str.iexplore.exe
lea rcx, [rsp + 0x48]
call fcn.140001cb0
nop
or r14d, 0xffffffff
cmp dword [0x14019b308], r14d
jne 0x14003b7b4
lea rcx, [rsp + 0x60]
call fcn.14003e65c
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rdx, [0x140130650]
lea rcx, [rsp + 0x78]
call fcn.140001cb0
mov rbx, rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14000291c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140020194
nop
mov rax, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
sub rax, rcx
and rax, 0xfffffffffffffff8
cmp rax, 0x10
jne 0x14003b782
mov rcx, qword [rcx]
call fcn.1400ba0e4
cmp eax, 0xa
jl 0x14003b782
mov rcx, qword [rbp - 0x78]
mov rcx, qword [rcx + 8]
call fcn.1400ba0e4
test eax, eax
mov dword [0x14019b308], 1
jns 0x14003b789
mov dword [0x14019b308], r13d
lea rcx, [rbp - 0x78]
call fcn.140017894
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14003b7b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [0x14019b308], r13d
je 0x14003b7f7
lea rcx, [rsp + 0x70]
call fcn.14003c4cc
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140001d7c
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14003b7f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [0x1401a16b0]
test rax, rax
je 0x14003b813
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call rax
mov esi, eax
jmp 0x14003b816
mov esi, r13d
lea rcx, [0x1401979a8]
mov rax, qword [0x1401979a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
test esi, esi
je 0x14003ba3e
mov ecx, esi
call fcn.1400b8688
mov r15, rax
mov eax, dword [0x14019fd80]
lea ecx, [rax + 1]
imul ecx, eax
and ecx, 0x80000007
jge 0x14003b85d
dec ecx
or ecx, 0xfffffff8
inc ecx
cmp ecx, 1
jne 0x14003b8c2
mov rdi, r13
mov r14d, reloc.OLEAUT32.dll_RegisterTypeLib
call fcn.1400b99c8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rbp + rdi*8 - 0x50], xmm0
inc rdi
cmp rdi, r14
jb 0x14003b86b
mov rcx, r13
mov eax, reloc.OLEAUT32.dll_LoadRegTypeLib
jmp 0x14003b8b1
movsd xmm1, qword [rbp + rax*8 - 0x50]
movsd xmm0, qword [rbp + rax*8 - 0x58]
comisd xmm1, xmm0
jbe 0x14003b8ae
movsd qword [rbp + rax*8 - 0x50], xmm0
movsd qword [rbp + rax*8 - 0x58], xmm1
dec rax
cmp rax, rcx
jg 0x14003b890
inc rcx
dec r14
jne 0x14003b889
or r14d, 0xffffffff
call fcn.140021eac
mov rcx, rax
mov qword [rsp + 0x20], r15
mov r9d, esi
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.1400334cc
mov esi, 0x6bca1af3
test eax, eax
je 0x14003b9e7
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x68]
lea rdx, [0x140130a20]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003b9ac
cmp dword [rsp + 0x44], r13d
je 0x14003b9ac
mov rdi, qword [rsp + 0x68]
mov r8d, dword [0x14019fd80]
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 4
jne 0x14003b974
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov r8d, dword [0x14019fd80]
mov ecx, 7
test rax, rax
cmove r8d, ecx
mov dword [0x14019fd80], r8d
cmp dword [rdi], 0xfeef04bd
jne 0x14003b9b3
movzx r8d, word [rdi + 0xa]
movzx r9d, word [rdi + 8]
movzx ecx, word [rdi + 0xe]
movzx eax, word [rdi + 0xc]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, [0x140133020]
lea rcx, [rsp + 0x50]
call fcn.14000f8ac
mov rbx, qword [rsp + 0x50]
mov r8d, dword [0x14019fd80]
imul r8d, r8d
mov eax, esi
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub r8d, edx
cmp r8d, 3
jne 0x14003b9e7
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov rcx, r15
call fcn.1400ba0bc
mov eax, dword [0x14019fd80]
mov ecx, eax
imul ecx, eax
imul ecx, eax
mov eax, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 0x10
jne 0x14003ba3e
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.14000291c
mov dword [rsp + 0x58], 1
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14003ba70
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov ecx, r14d
lock xadd dword [rdx + 0x10], ecx
add ecx, r14d
test ecx, ecx
jg 0x14003ba92
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, r12
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400b9010
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret