Function at 0x44a57b
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4b1d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 0x13c], edi
mov eax, dword [0x493db0]
mov dword [ebp - 0xc], eax
mov eax, dword [0x493db4]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x140]
cmp dword [eax - 0xc], edi
mov dword [ebp - 0x18], esi
jge 0x44a5c0
push 0x80070057
call fcn.004016b0
mov ax, word [eax]
mov word [ebp - 0xc], ax
push dword [ebp - 0xc]
call fcn.0045fec3
pop ecx
cmp eax, 1
je 0x44a5df
mov dword [esi + 0x13c], 2
mov ebx, 0x4b6da0
cmp dword [esi + 0x13c], edi
jne 0x44a7aa
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x44a7a2
add esi, 0xe8
push 0x4991c8
mov ecx, esi
call fcn.004480e5
mov eax, dword [0x4b6ab8]
mov ecx, esi
mov dword [esi + 0x38], eax
call fcn.00446ae0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
mov edi, SysReAllocString
and eax, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
fild qword [ebp - 0x14]
mov esi, SysReAllocString
and dword [ebp - 0x1c], esi
fild qword [ebp - 0x20]
mov ecx, ebx
fchs
faddp st(1)
fld qword [0x48fbb0]
fmul st(1), st(0)
fmulp st(1)
fcomp qword [0x493da8]
fnstsw ax
test ah, 5
lea eax, [ebp - 0x1c]
jp 0x44a6dd
push str.disk_text2
push eax
call fcn.00448824
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], ecx
and dword [ebp - 0x10], esi
and ecx, edi
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
fild qword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
fild qword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
and dword [ebp - 0x10], esi
and ecx, edi
fchs
sub esp, 0x10
and dword [ebp - 0x14], 0
faddp st(1)
fld qword [0x48fbb0]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
fmul st(1), st(0)
fmul st(1), st(0)
fmul st(1), st(0)
fxch st(1)
fstp qword [esp + 8]
fild qword [ebp - 0x28]
fild qword [ebp - 0x14]
fchs
faddp st(1)
jmp 0x44a743
push str.disk_text
push eax
call fcn.00448824
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], ecx
and dword [ebp - 0x10], esi
and ecx, edi
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
fild qword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
fild qword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
and dword [ebp - 0x10], esi
and ecx, edi
fchs
sub esp, 0x10
and dword [ebp - 0x14], 0
faddp st(1)
fld qword [0x48fbb0]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
fmul st(1), st(0)
fmul st(1), st(0)
fmul st(1), st(0)
fxch st(1)
fstp qword [esp + 8]
fild qword [ebp - 0x28]
fild qword [ebp - 0x14]
fchs
faddp st(1)
fmul st(1)
fmul st(1)
fmulp st(1)
fstp qword [esp]
push dword [eax]
mov eax, dword [ebp - 0x18]
add eax, 0xe8
push eax
call fcn.0044876d
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.004016d0
mov ecx, dword [ebp - 0x18]
push 0x606060
add ecx, 0xe8
call fcn.00445f4f
cmp dword [ebp - 0x2c], 0
ja 0x44a79d
jb 0x44a78c
cmp dword [ebp - 0x30], 0x11e1a300
ja 0x44a79d
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x13c], 1
mov esi, eax
jmp 0x44a7a0
mov esi, dword [ebp - 0x18]
xor edi, edi
cmp dword [esi + 0x13c], edi
je 0x44a81e
cmp dword [ebp + 8], edi
je 0x44a818
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x13c]
cmp eax, 2
jne 0x44a7cb
push str.ERROR_NOUDISK
jmp 0x44a7d5
cmp eax, 1
jne 0x44a80b
push str.ERROR_NODISKSPACE
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.00448824
mov eax, dword [eax]
push edi
push edi
push eax
push 0x493d2c
mov ecx, ebx
call fcn.004487cd
push eax
push dword [0x4b7674]
call fcn.0044a267
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.004016d0
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x44a81e
mov dword [esi + 0x13c], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464fe1
leave
ret 4