Function at 0x4a4b40
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x51a3b9
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 ebp, ebp
mov dword [esp + 0x14], ebp
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x48]
add edx, eax
cmp eax, ebp
mov dword [edi + 0x48], edx
je 0x4a4b83
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x40]
push eax
push edx
mov esi, dword [ecx]
call dword [esi + 0x38]
mov dword [edi + 0x30], ebp
mov eax, dword [edi + 0x24]
mov esi, 1
cmp eax, esi
jne 0x4a4b99
mov ecx, edi
call fcn.004a4f80
mov dword [edi + 0x34], eax
cmp dword [edi + 0x48], ebp
je 0x4a4be0
mov ecx, dword [edi + 0x50]
mov dword [edi + 0x48], ebp
inc ecx
mov eax, ecx
mov dword [edi + 0x50], ecx
cmp eax, 0x3e7
jl 0x4a4be0
mov ecx, dword [edi + 0x1c]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x30], ebp
push eax
push 0xffffffffffffff96
call fcn.004a7520
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.004ff10b
mov eax, dword [0x548154]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x30], esi
cmp ecx, esi
sete bl
test bl, bl
je 0x4a4c35
mov eax, dword [esp + 0x3c]
cmp eax, ebp
jne 0x4a4c19
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x3c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov dword [esp + 0x14], esi
mov eax, dword [eax]
mov byte [esp + 0x30], 2
push eax
lea ecx, [esp + 0x14]
call fcn.004ff2a2
mov al, byte [esp + 0x14]
mov dword [esp + 0x30], esi
test al, 1
je 0x4a4c64
lea ecx, [esp + 0x3c]
jmp 0x4a4c5f
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
push ecx
push ebp
push edx
mov ecx, edi
call fcn.004a49c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call fcn.004ff252
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x3c]
call fcn.004ff10b
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 4], 0xffffffff
je 0x4a4c72
mov eax, dword [ecx]
call dword [eax + 0x4c]
test bl, bl
je 0x4a4e2e
mov esi, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.004fee78
push esi
mov ecx, edi
call fcn.004a4ee0
mov eax, dword [esp + 0x10]
push eax
call fcn.004a14b0
add esp, 4
test eax, eax
je 0x4a4caf
mov esi, 0xfffffffe
jmp 0x4a4c7e
mov ecx, dword [0x548154]
mov dword [esp + 0x3c], ecx
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 fcn.004fcdc1
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.004a2320
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 fcn.004ff10b
test bl, bl
je 0x4a4d0b
mov esi, 0xfffffffd
jmp 0x4a4d86
mov ebx, dword [esp + 0x10]
push 0x14
call fcn.004fed42
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov byte [esp + 0x30], 5
je 0x4a4d57
mov ecx, esi
call fcn.0050089f
mov edx, dword [0x548154]
lea ecx, [esi + 0x10]
mov dword [ecx], edx
push ebp
mov byte [esp + 0x34], 7
mov dword [esi], vtable.CFileException.0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], 0xffffffff
call fcn.004ff2a2
jmp 0x4a4d59
xor esi, esi
mov ecx, dword [edi + 0x1c]
push esi
push 0x1022
push ebx
mov eax, dword [ecx]
mov byte [esp + 0x3c], 4
call dword [eax + 0x20]
mov ecx, esi
mov ebp, eax
call fcn.005008b5
test ebp, ebp
setne al
test al, al
jne 0x4a4d99
mov esi, 0xfffffffc
xor ebp, ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call fcn.004ff10b
jmp 0x4a4c7e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call fcn.004ff10b
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x38]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x38], 8
call fcn.004a2320
mov eax, dword [eax]
add esp, 8
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
push edx
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
lea ecx, [esp + 0x3c]
sete bl
call fcn.004ff10b
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call fcn.004ff10b
test bl, bl
je 0x4a4e10
xor eax, eax
mov dword [edi + 0x34], eax
jmp 0x4a4eb5
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 0x4a4eb5
mov edx, dword [edi + 0x2c]
mov ebx, dword [esp + 0x10]
push 0x14
mov dword [edi + 0x34], edx
call fcn.004fed42
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
cmp esi, ebp
mov byte [esp + 0x30], 9
je 0x4a4e7f
mov ecx, esi
call fcn.0050089f
mov eax, dword [0x548154]
lea ecx, [esi + 0x10]
mov dword [ecx], eax
push ebp
mov byte [esp + 0x34], 0xb
mov dword [esi], vtable.CFileException.0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], 0xffffffff
call fcn.004ff2a2
jmp 0x4a4e81
xor esi, esi
mov edi, dword [edi + 0x1c]
push esi
push 0x1022
push ebx
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x3c], 1
call dword [edx + 0x20]
cmp eax, ebp
jne 0x4a4eae
lea eax, [esp + 0x3c]
push 0x53a4a0
push eax
mov dword [esp + 0x44], esi
call fcn.00421674
mov ecx, esi
call fcn.005008b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.004ff10b
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8