Function at 0x101b09f0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x101f7b89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x48]
add edx, eax
cmp eax, esi
mov dword [edi + 0x48], edx
je 0x101b0a33
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x40]
push eax
push edx
mov ebx, dword [ecx]
call dword [ebx + 0x40]
mov dword [edi + 0x30], esi
mov eax, dword [edi + 0x24]
mov ebp, 1
cmp eax, ebp
jne 0x101b0a49
mov ecx, edi
call fcn.101b0e40
mov dword [edi + 0x34], eax
cmp dword [edi + 0x48], esi
je 0x101b0a90
mov ecx, dword [edi + 0x50]
mov dword [edi + 0x48], esi
inc ecx
mov eax, ecx
mov dword [edi + 0x50], ecx
cmp eax, 0x3e7
jl 0x101b0a90
mov ecx, dword [edi + 0x1c]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x30], esi
push eax
push 0xffffffffffffff96
call fcn.101b3410
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [edi + 0x24]
mov eax, dword [esp + 0x3c]
cmp ecx, ebp
mov dword [esp + 0x30], ebp
sete bl
test bl, bl
je 0x101b0ae5
cmp eax, esi
jne 0x101b0ac9
mov ecx, dword [edi + 0x1c]
lea edx, [esp + 0x3c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [esp + 0x14], ebp
mov eax, dword [eax]
mov byte [esp + 0x30], 2
push eax
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_1
mov al, byte [esp + 0x14]
mov dword [esp + 0x30], ebp
test al, 1
je 0x101b0b10
lea ecx, [esp + 0x3c]
jmp 0x101b0b0b
push eax
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, edi
call fcn.101b0860
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call sub.MFC42u.DLL_CString::operator
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x3c]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 4], 0xffffffff
je 0x101b0b1e
mov edx, dword [ecx]
call dword [edx + 0x54]
test bl, bl
je 0x101b0ce5
mov esi, dword [esp + 0x38]
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.10071014
push esi
mov ecx, edi
call fcn.101b0da0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.101ad070
add esp, 4
test eax, eax
je 0x101b0b5b
mov esi, 0xfffffffe
jmp 0x101b0b2a
lea ecx, [esp + 0x3c]
call sub.MFC42u.DLL_CString::CString_2
mov edx, dword [edi + 0x50]
lea eax, [esp + 0x3c]
inc edx
mov byte [esp + 0x30], 4
push edx
push str.pkback__.3d
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.101adf00
mov ecx, dword [esp + 0x50]
mov eax, dword [eax]
add esp, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
test eax, eax
lea ecx, [esp + 0x38]
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x101b0bb9
mov esi, 0xfffffffd
jmp 0x101b0c3d
mov ebx, dword [esp + 0x10]
push 0x14
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x30], 5
je 0x101b0c10
mov ecx, esi
call sub.MFC42u.DLL_CException::CException_1
lea ebp, [esi + 0x10]
mov byte [esp + 0x30], 6
mov ecx, ebp
call sub.MFC42u.DLL_CString::CString_2
push 0
mov ecx, ebp
mov byte [esp + 0x34], 7
mov dword [esi], 0x1020aa50
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
call sub.MFC42u.DLL_CString::operator_1
jmp 0x101b0c12
xor esi, esi
mov ecx, dword [edi + 0x1c]
push esi
push 0x1022
push ebx
mov edx, dword [ecx]
mov byte [esp + 0x3c], 4
call dword [edx + 0x28]
mov ecx, esi
mov ebp, eax
call sub.MFC42u.DLL_CException::Delete
test ebp, ebp
setne al
test al, al
jne 0x101b0c50
mov esi, 0xfffffffc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call sub.MFC42u.DLL_CString::CString
jmp 0x101b0b2a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [edi + 0x1c]
lea edx, [esp + 0x38]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [eax]
mov byte [esp + 0x30], 8
push eax
lea eax, [esp + 0x40]
push eax
call fcn.101adf00
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
lea ecx, [esp + 0x3c]
sete bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x101b0cc7
xor eax, eax
mov dword [edi + 0x34], eax
jmp 0x101b0d78
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], 0
imul eax, dword [esp + 0x14]
imul eax, dword [esp + 0x1c]
mov dword [edi + 0x34], eax
jmp 0x101b0d78
mov eax, dword [edi + 0x2c]
mov ebp, dword [esp + 0x10]
push 0x14
mov dword [edi + 0x34], eax
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
mov byte [esp + 0x30], 9
je 0x101b0d42
mov ecx, esi
call sub.MFC42u.DLL_CException::CException_1
lea ebx, [esi + 0x10]
mov byte [esp + 0x30], 0xa
mov ecx, ebx
call sub.MFC42u.DLL_CString::CString_2
push 0
mov ecx, ebx
mov byte [esp + 0x34], 0xb
mov dword [esi], 0x1020aa50
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
call sub.MFC42u.DLL_CString::operator_1
jmp 0x101b0d44
xor esi, esi
mov edi, dword [edi + 0x1c]
push esi
push 0x1022
push ebp
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x3c], 1
call dword [edx + 0x28]
test eax, eax
jne 0x101b0d71
lea eax, [esp + 0x3c]
push 0x10230d58
push eax
mov dword [esp + 0x44], esi
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call sub.MFC42u.DLL_CException::Delete
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8