Function at 0x44dc89
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x497f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push edi
mov eax, dword [0x4c7674]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor edi, edi
inc edi
push edi
mov ecx, esi
call fcn.0045f66f
fld qword [0x4afe80]
xor ebx, ebx
fstp qword [esp + 0x2c]
push 3
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x94]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004013d0
mov dword [esp + 0x58], ebx
push str.KERNEL32.DLL
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44dd84
push str.GetDiskFreeSpaceExA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x44dd77
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push dword [esp + 0x1c]
call eax
test eax, eax
je 0x44dd77
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [esp + 0x30], eax
and eax, 0x7fffffff
and dword [esp + 0x30], 0x80000000
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], eax
fild qword [esp + 0x14]
mov dword [esp + 0x14], ebx
fild qword [esp + 0x2c]
fchs
faddp st(1)
fstp qword [esp + 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], ebx
je 0x44ddf0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x44ddf0
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x1c]
test eax, eax
jge 0x44ddb8
fadd qword [0x4afe78]
mov eax, dword [esp + 0x20]
fild dword [esp + 0x20]
test eax, eax
jge 0x44ddca
fadd qword [0x4afe78]
fld qword [0x4afe68]
mov eax, dword [esp + 0x24]
test eax, eax
fmul st(1), st(0)
fxch st(1)
fmulp st(2)
fild dword [esp + 0x24]
jge 0x44dde8
fadd qword [0x4afe78]
fmulp st(2)
fmulp st(1)
fstp qword [esp + 0x2c]
fld qword [0x4afe80]
mov edi, str._.1fMB
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x44
jp 0x44de18
lea ecx, [esi + 0xf0]
push str.___._MB
call fcn.0040316f
jmp 0x44de31
fld qword [esp + 0x2c]
push ecx
push ecx
fstp qword [esp]
lea eax, [esi + 0xf0]
push edi
push eax
call fcn.00401a40
add esp, 0x10
lea eax, [esp + 0x14]
push 0x78
push eax
call fcn.004575ec
pop ecx
pop ecx
lea ecx, [esi + 0xec]
push eax
mov byte [esp + 0x5c], 1
call fcn.004018cc
mov byte [esp + 0x58], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401755
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x44ded0
or eax, ecx
je 0x44ded0
lea eax, [esp + 0x14]
push 0x7b
push eax
call fcn.004575ec
pop ecx
pop ecx
lea ecx, [esi + 0xf4]
push eax
mov byte [esp + 0x5c], 2
call fcn.004018cc
mov byte [esp + 0x58], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401755
fild qword [esi + 0x80]
push ecx
push ecx
fmul qword [0x4afe60]
lea eax, [esi + 0xf8]
fstp qword [esp]
push edi
push eax
call fcn.00401a40
add esp, 0x10
mov edi, 0x4a87ac
jmp 0x44deed
mov edi, 0x4a87ac
lea ecx, [esi + 0xf4]
push edi
call fcn.0040316f
lea ecx, [esi + 0xf8]
push edi
call fcn.0040316f
mov eax, dword [esi + 0x84]
cmp eax, ebx
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jl 0x44df4f
jg 0x44df0b
cmp ecx, ebx
jbe 0x44df4f
fild qword [esp + 0x14]
fmul qword [0x4afe60]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x44df4f
lea eax, [esp + 0x14]
push 0x7c
push eax
call fcn.004575ec
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 3
call fcn.004018cc
mov byte [esp + 0x58], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401755
jmp 0x44df59
push edi
lea ecx, [esp + 0x14]
call fcn.0040316f
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x264]
call fcn.004018cc
push ebx
mov ecx, esi
call fcn.0045f66f
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret