Function at 0x180002e30
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 - 1]
mov r8, rdx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x18000306b
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov dword [rsp + 0x40], 1
movsxd rdx, eax
cmp rdx, 7
ja 0x180002ee4
mov qword [rsp + 0x70], rdx
movzx eax, r14w
lea rdi, [rsp + 0x60]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rsp + rdx*2 + 0x60], r14w
jmp 0x180002ef1
mov r9, rdx
lea rcx, [rsp + 0x60]
call fcn.1800034f0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov r9d, 0xffffffff
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x18000308c
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edi, eax
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x180002f97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002f92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800030ad
call fcn.1800038a0
test edi, edi
je 0x180002fdc
mov rax, qword [rsp + 0x48]
mov qword [rbx], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x10], rax
mov rax, rbx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180003880
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8d, ebx
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180003290
nop
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.180002ce0
mov rdi, rax
lea rdx, str.GetDiskFreeSpaceEx
lea rcx, [rbp - 0x80]
call fcn.180003290
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [rbp - 0x80]
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.180002c50
lea rdx, [0x180020310]
lea rcx, [rbp - 0x40]
call fcn.1800059f8
nop
lea rdx, str.MultiByteToWideChar_failed
lea rcx, [rbp - 0x60]
call fcn.180002ca0
lea rdx, [0x1800202b0]
lea rcx, [rbp - 0x60]
call fcn.1800059f8
int3
lea rdx, str.MultiByteToWideChar_failed
lea rcx, [rbp - 0x80]
call fcn.180002ca0
lea rdx, [0x1800202b0]
lea rcx, [rbp - 0x80]
call fcn.1800059f8
nop
call fcn.18000a924
int3