Function at 0x14000b838
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r12d, r12d
lea r8, [rbp + 0x58]
xor eax, eax
mov dword [rbp - 0x30], r12d
xorps xmm0, xmm0
mov qword [rbp - 0x28], rax
xor r9d, r9d
mov dword [rbp + 0x58], r12d
lea rdx, [rbp + 0x50]
mov dword [rbp - 0x2c], r12d
movups xmmword [rbp - 0x18], xmm0
mov dword [rbp + 0x48], r12d
mov rbx, rcx
mov dword [rbp + 0x50], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDiskFreeSpaceW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14000ba8a
mov eax, dword [rbp + 0x50]
mov ecx, dword [rbp + 0x58]
imul rax, rcx
mov qword [rbp - 0x20], rax
test rbx, rbx
je 0x14000b8dd
mov edx, 0x104
mov rax, rbx
mov ecx, edx
cmp word [rax], r12w
je 0x14000b8c9
add rax, 2
sub rcx, 1
jne 0x14000b8b9
sub rdx, rcx
mov rax, rcx
neg rax
sbb r8, r8
and r8, rdx
test rcx, rcx
jne 0x14000b8e0
mov r8, r12
xor r9d, r9d
mov word [rbx + r8*2 - 2], r12w
mov qword [rsp + 0x30], r12
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov rcx, rbx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14000b927
mov edi, r12d
jmp 0x14000ba8a
mov ebx, 0x40
mov edx, 0x800010
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14000b960
mov ecx, 0x5aa
mov edi, r12d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14000ba7b
mov r14d, 0x30
mov ecx, ebx
mov edx, r14d
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14000b998
mov ecx, 0x5aa
mov edi, r12d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14000ba6c
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov eax, 0x1c
mov dword [rbx + 4], 0x80000012
mov dword [rbx], eax
mov edx, dword [rbx + 0x18]
test edx, edx
jne 0x14000b9d2
mov ecx, dword [rbx + 0x10]
test ecx, ecx
je 0x14000b9c7
mov eax, dword [rbx + 0xc]
add eax, ecx
mov ecx, eax
add rcx, 7
and ecx, 0xfffffff8
jmp 0x14000b9d7
mov ecx, dword [rbx + 0x14]
add ecx, edx
mov eax, r14d
sub eax, ecx
cmp eax, 0x10
jb 0x14000ba06
mov eax, dword [rbx + 0x14]
test eax, eax
jne 0x14000b9ed
mov dword [rbx + 0x14], ecx
mov eax, ecx
mov ecx, eax
mov rax, rdx
and rax, 0xfffffffffffffff0
add rcx, rbx
mov qword [rax + rcx], r12
mov qword [rax + rcx + 8], r12
add dword [rbx + 0x18], 0x10
mov r15d, dword [rbx + 0x14]
mov qword [rsp + 0x38], r12
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x28]
mov dword [rsp + 0x28], 0x800010
mov r9d, 8
mov edx, 0x9006f
mov qword [rsp + 0x20], rsi
mov rcx, r13
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14000baa5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xea
je 0x14000baac
mov edi, r12d
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rbx, qword [rsp + 0xb0]
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x2c], 1
cmp qword [rsi + 8], 0x4000000
mov r14d, 0x4000000
jg 0x14000bac0
mov r14d, dword [rsi + 8]
lea rdx, [rsi + 0x10]
mov r8d, r14d
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
nop dword [rax + rax]
xor edx, edx
mov dword [rbp + 0x48], r12d
jmp 0x14000bb54
mov ecx, dword [rbp + 0x48]
movabs rax, 0x400000000
add rcx, qword [rsi]
imul rcx, qword [rbp - 0x20]
mov qword [r15 + rbx], rcx
mov ecx, r12d
imul rcx, qword [rbp - 0x20]
mov qword [r15 + rbx + 8], rcx
cmp rcx, rax
jb 0x14000bb4b
and qword [rsp + 0x38], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
mov r9d, 0x30
and dword [rsp + 0x28], 0
mov r8, rbx
and qword [rsp + 0x20], 0
mov edx, 0x2d9404
mov rcx, r13
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14000ba5d
mov edx, dword [rbp + 0x48]
add edx, r12d
mov dword [rbp + 0x48], edx
lea r8, [rbp + 0x48]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlFindNextForwardRunClear]
nop dword [rax + rax]
mov r12d, eax
test eax, eax
jne 0x14000badf
mov eax, r14d
xor r12d, r12d
add rax, qword [rsi]
mov qword [rbp - 0x28], rax
cmp dword [rbp - 0x2c], r12d
jne 0x14000ba5d
jmp 0x14000ba0a