Function at 0x1000a1b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0b88
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x100e30c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov ecx, dword [ebp + 8]
call fcn.1000ba30
mov ax, word [eax]
mov word [ebp - 0x34], ax
mov cx, word [ebp - 0x34]
mov word [ebp - 0x18], cx
mov edx, 0x3a
mov word [ebp - 0x16], dx
mov eax, 0x5c
mov word [ebp - 0x14], ax
xor ecx, ecx
mov word [ebp - 0x12], cx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1000a414
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x140]
push edx
call fcn.100059c0
add esp, 0xc
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.10005990
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x110]
call fcn.1000bbd0
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x40]
push eax
push str.IsSufficientDiskSpace:
lea ecx, [ebp - 0xf8]
push ecx
call fcn.10010a60
add esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 3
push str._Space_Required
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0xe0]
push ecx
call fcn.10010460
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.10010520
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 5
push str._bytes._Available_space:
mov edx, dword [ebp - 0x60]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.10010460
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x70], edx
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x94], esp
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
push eax
call fcn.10010520
add esp, 0xc
call fcn.1001f3b0
add esp, 0x18
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.1000bb50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.1000bb50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.1000bb50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.1000bb50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.1000bb50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.1000bb50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.1000bb50
nop
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jb 0x1000a400
ja 0x1000a3f7
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jb 0x1000a400
mov dword [ebp - 0x38], 1
jmp 0x1000a407
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x1000a4a1
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x170]
call fcn.1000bbd0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x78]
push ecx
push str.IsSufficientDiskSpace:_fail_to_know
lea edx, [ebp - 0x158]
push edx
call fcn.10010a60
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push 0x100cfe40
mov edx, dword [ebp - 0x80]
push edx
push ecx
call fcn.10010460
add esp, 0xc
call fcn.1001f3b0
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x158]
call fcn.1000bb50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.1000bb50
nop
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008702a
mov esp, ebp
pop ebp
ret