Function at 0x1800027e8
Capabilities:
Get disk size

Disassembly:
jmp 0x1800091d0
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 [0x18009f080]
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
mov r9d, 0xffffffff
mov r8, rdx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x180009414
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 0x180009286
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 0x18000929c
mov word [rsp + 0x20], r14w
mov r9, rdx
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.1800024f0
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 0x180009435
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 0x180009342
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000933d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180009456
call fcn.180003639
test edi, edi
je 0x180009387
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.1800026ad
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 edi, 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, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180002563
nop
lea rdx, str.GetDiskFreeSpaceEx
lea rcx, [rbp - 0x80]
call fcn.180002563
nop
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.180009500
nop
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rbp - 0x80]
mov edx, edi
lea rcx, [rbp - 0x40]
call fcn.180002135
lea rdx, [0x18009d9f0]
lea rcx, [rbp - 0x40]
call fcn.1800042f5
nop
lea rdx, str.MultiByteToWideChar_failed
lea rcx, [rbp - 0x80]
call fcn.1800037f6
lea rdx, [0x18009d968]
lea rcx, [rbp - 0x80]
call fcn.1800042f5
int3
lea rdx, str.MultiByteToWideChar_failed
lea rcx, [rbp - 0x80]
call fcn.1800037f6
lea rdx, [0x18009d968]
lea rcx, [rbp - 0x80]
call fcn.1800042f5
nop
call fcn.180001f64
int3