Function at 0x40294b
Capabilities:
Get disk size

Disassembly:
mov eax, 0x588b98
call fcn.00414dac
sub esp, 0x58
mov eax, dword [0x59f144]
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x14], ebx
xor esi, esi
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push 0x5d3994
push eax
call fcn.00430280
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0040bef4
add esp, 0x14
lea eax, [ebp - 0x14]
mov ecx, 0x5efb08
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.004068c8
mov dword [ebp + 0x10], eax
mov eax, dword [0x5f3320]
cmp eax, ebx
je 0x40295a
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push str.COEADRequest::MountOeadDisk____Volume__s___bMount__d___dwTSDErr__lu_
push str.OEADisk
push 4
push 0x5f2a8c
call fcn.00472c70
add esp, 0x1c
cmp dword [ebp + 0x10], ebx
je 0x402bed
lea ecx, [ebp - 0x24]
call fcn.00460ff0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040a698
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 3
call fcn.0040a8db
test eax, eax
je 0x402bd3
lea ecx, [ebp - 0x24]
call fcn.004618e0
cmp eax, ebx
je 0x402bd3
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x6c]
imul ecx, ecx, 0x88
add ecx, dword [eax + 0x64]
lea ecx, [edx + ecx*2 + 0x82]
cmp ecx, 0x80
jb 0x402bd3
cmp dword [eax + 0x10], ebx
jne 0x402bd3
lea eax, [ebp - 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call edi
mov edx, dword [ebp - 0x40]
push 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
pop ecx
call fcn.00414e00
mov edx, dword [ebp - 0x38]
push 0x14
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
pop ecx
call fcn.00414e00
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x50], ebx
mov ecx, edx
sub ecx, eax
cmp dword [0x5f3320], ebx
mov dword [ebp - 0x54], ecx
fild qword [ebp - 0x54]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ebx
fst qword [ebp - 0x64]
fild qword [ebp - 0x54]
fdivr st(1)
fstp qword [ebp - 0x34]
fstp st(0)
je 0x402a69
fld qword [ebp - 0x34]
push ecx
push ecx
fstp qword [esp]
push edx
push ecx
push dword [ebp - 0x20]
push str.COEADRequest::MountOeadDisk____Server_Check_Disk_bResult__d___dwUsed__lu___dwTol__lu___lfUsedPercent__lf_
push str.OEADisk
push 4
push 0x5f2a8c
call fcn.00472c70
add esp, 0x24
lea eax, [ebp - 0x10]
push 0x5d381c
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042d9d0
mov ecx, dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00403621
test eax, eax
je 0x402a97
fld qword [0x59cae8]
jmp 0x402a9d
fld qword [0x59cae0]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x34]
fcomp qword [ebp - 0x54]
fnstsw ax
sahf
jbe 0x402bc4
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.0042ca00
lea eax, [ebp - 0x30]
push 2
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0042fa40
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0042d420
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0042d270
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x48], ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call edi
mov edx, dword [ebp - 0x38]
push 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
pop ecx
call fcn.00414e00
fld qword [ebp - 0x54]
fsub qword [0x59cad8]
mov edi, eax
fdivr qword [ebp - 0x64]
call fcn.00414dcc
cmp dword [0x5f3320], ebx
mov esi, eax
je 0x402b54
push esi
push edi
push dword [ebp - 0x20]
push str.COEADRequest::MountOeadDisk____Server_Check_LocalDisk_bResult__d___dwFree__lu___dwNewSize__lu_
push str.OEADisk
push 4
push 0x5f2a8c
call fcn.00472c70
add esp, 0x1c
cmp edi, esi
ja 0x402b62
mov dword [ebp + 0x10], ebx
mov esi, 0x16014
jmp 0x402bb8
lea eax, [ebp - 0x14]
mov ecx, 0x5efb08
push eax
push esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.00406915
mov esi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], esi
neg esi
sbb esi, esi
lea ecx, [eax + 0x16500]
not esi
and esi, ecx
cmp dword [0x5f3320], ebx
je 0x402bb8
push eax
push dword [ebp + 0x10]
push str.COEADRequest::MountOeadDisk____Auto_ExpandOEADisk_Ret__d___dwTSDErr__lu_
push str.OEADisk
push 4
push 0x5f2a8c
call fcn.00472c70
add esp, 0x18
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042d270
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0042d270
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040a70f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00461120
jmp 0x402bf6
mov eax, dword [ebp - 0x14]
lea esi, [eax + 0x16500]
push ebx
push ebx
push esi
push 1
push dword [ebp + 8]
mov ecx, edi
call fcn.00402cda
cmp dword [ebp + 0x10], ebx
jne 0x402c12
cmp esi, 0x16014
jne 0x402c2a
inc dword [edi + 0x4c]
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
push dword [ebp + 8]
mov dword [edi + 0x48], 1
call fcn.00403245
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00427900
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042d270
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc