Function at 0x48ef00
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bb5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4c], edi
call sub.MFC42.DLL_CDatabase::CDatabase
xor esi, esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
lea eax, [edi + 0x84]
mov bl, 2
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString_2
push str.PWD
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::Find_2
cmp eax, esi
jge 0x48efaa
push str.pwd
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, esi
jge 0x48efaa
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004ea480
add esp, 4
cmp eax, esi
je 0x48efaa
push str._PWD
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x18]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp - 0x18]
push eax
call fcn.004d87b0
add esp, 4
lea ecx, [ebp - 0xb4]
push 0xc
push eax
call sub.MFC42.DLL_CDatabase::OpenEx
mov ecx, dword [0x54b200]
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], esi
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x214]
mov byte [ebp - 4], 5
cmp eax, esi
mov dword [ebp - 0x18], esi
jbe 0x48f0ef
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
lea edx, [ebp - 0xb4]
mov bl, 7
push edx
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], bl
call fcn.004a3e80
mov eax, dword [edi + 0x28]
push esi
push eax
lea ecx, [ebp - 0x14]
push str.SELECT_count______AS_f_max_id_FROM_T_PATIENT__T_STUDY_where_T_PATIENT.F_PAT_IDT_STUDY.F_PAT_ID_and_T_PATIENT.F_DEV_ID_d_and_F_STU_ID__d
push ecx
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ebp - 0x1cc]
push edx
call fcn.004a3f90
push esi
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x1cc]
call sub.MFC42.DLL_CRecordset::Open
mov esi, dword [ebp - 0x104]
mov eax, dword [ebp - 0xbc]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x1cc]
not esi
and esi, eax
call sub.MFC42.DLL_CRecordset::Close
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], bl
call fcn.004c87f6
mov dword [ebp - 4], 5
call sub.MFC42.DLL_AfxTryCleanup
mov eax, dword [edi + 0x214]
cmp esi, eax
jae 0x48f0d3
mov ecx, dword [0x54b1fc]
test ecx, ecx
je 0x48f0ed
push eax
push esi
lea eax, [ebp - 0x14]
push str.__AutoDelete___The_current_numbers_of_study_is__d__the_critical_number_of_configuration_is__d
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push ecx
mov ecx, 0x54b128
call fcn.004965f0
jmp 0x48f0ed
sub esi, eax
mov eax, dword [edi + 0x21c]
cmp esi, eax
jae 0x48f15c
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x48f21a
xor esi, esi
cmp dword [edi + 0x220], esi
jbe 0x48f20a
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea edx, [edi + 0x228]
lea ecx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 0xb
call fcn.004c830a
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x40]
push eax
lea edx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x50]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x48f192
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push edx
push str.GetDiskFreeSpace____error__disk_:__s
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
mov ecx, 0x54b128
call fcn.004965f0
jmp 0x48f1f9
mov dword [ebp - 0x18], eax
jmp 0x48f0e2
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
push esi
push edx
push esi
push eax
call fcn.004c8de0
mov ecx, dword [ebp - 0x40]
push esi
push ecx
push edx
push eax
call fcn.004c8de0
push esi
push 0x40000000
push edx
push eax
call fcn.004c8cf0
cmp eax, dword [edi + 0x220]
jbe 0x48f1f0
cmp dword [0x54b1fc], esi
je 0x48f1f9
mov edx, dword [ebp - 0x1c]
push eax
push edx
lea eax, [ebp - 0x14]
push str.The_free_space_of_disk__s_is_enough__neednt_clean__free_space_now:__d_GB
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push ecx
mov ecx, 0x54b128
call fcn.004965f0
jmp 0x48f1f9
mov edx, dword [edi + 0x224]
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x18], esi
jne 0x48f21c
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CDatabase::Close
jmp 0x48f4fe
xor esi, esi
mov dword [ebp - 0x34], 0x51617c
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x1cc]
push eax
mov byte [ebp - 4], 0xe
call fcn.004a3e80
mov ecx, dword [edi + 0x234]
mov edx, dword [edi + 0x230]
mov eax, dword [edi + 0x28]
push ecx
push edx
push 0
push eax
lea ecx, [ebp - 0x14]
mov bl, 0xf
push str.SELECT_F_STU_ID_AS_f_max_id_FROM_V_FULL_STUDY_where_F_DEV_ID_d_and_F_STU_ID__d_and___s__order_by__s
push ecx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp - 0x14]
add esp, 0x18
lea ecx, [ebp - 0x1cc]
push edx
call fcn.004a3f90
mov eax, dword [0x54b1fc]
test eax, eax
je 0x48f2cd
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push str.__AutoDelete___SQL:__s
push ecx
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, 0x54b128
push edx
call fcn.004965f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
lea ecx, [ebp - 0x1cc]
push ebx
push ebx
push 0xffffffffffffffff
call sub.MFC42.DLL_CRecordset::Open
cmp ebx, dword [ebp - 0x18]
jae 0x48f323
mov eax, dword [ebp - 0x104]
test eax, eax
jne 0x48f323
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0xbc]
mov edi, eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x34]
call fcn.0045bf60
mov eax, dword [ebp - 0x30]
push 1
push 1
lea ecx, [ebp - 0x1cc]
mov dword [eax + edi*4], esi
mov edx, dword [ebp - 0x1cc]
inc ebx
call dword [edx + 0x1c]
mov edi, dword [ebp - 0x4c]
jmp 0x48f2de
lea ecx, [ebp - 0x1cc]
call sub.MFC42.DLL_CRecordset::Close
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xe
call fcn.004c87f6
mov dword [ebp - 4], 0xc
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x2c]
mov bl, 0x14
xor esi, esi
mov byte [ebp - 4], bl
test eax, eax
jle 0x48f3b4
push 0x541374
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_2
push str.OBJECT_ID
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x14]
mov ecx, dword [eax + esi*4]
push ecx
push 0x5417f0
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp - 0x2c]
inc esi
cmp esi, eax
jl 0x48f36e
mov eax, dword [0x54b1fc]
test eax, eax
je 0x48f3e0
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push ecx
push str.__AutoDelete___Study_ID_List:__s
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, 0x54b128
push eax
call fcn.004965f0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx - 8]
test eax, eax
je 0x48f4af
push 0x230
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
mov byte [ebp - 4], 0x15
je 0x48f411
mov ecx, eax
call fcn.00455d70
mov esi, eax
jmp 0x48f413
xor esi, esi
lea edx, [ebp - 0x14]
mov byte [ebp - 4], bl
push edx
call fcn.004552b0
add esp, 4
mov ecx, esi
push 3
call fcn.00455430
push str.SYS_CZ
mov ecx, esi
call fcn.00455550
lea eax, [edi + 4]
mov ecx, esi
push eax
call fcn.004555d0
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.00455dc0
push 0x5416a0
mov ecx, esi
call fcn.004556b0
mov edx, dword [ebp - 0x14]
mov ecx, esi
push edx
call fcn.00455450
mov eax, dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00455490
push 0
mov ecx, esi
call fcn.00455690
mov ecx, dword [edi + 0x78]
push esi
call fcn.004679b0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [eax]
push edx
push eax
push ecx
lea ecx, [ebp - 0x14]
push str.Auto_delete_task_is_running__numbers_of_deleted_studies:___d__from_id__d_to__d
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov ecx, 0x54b128
push edx
call fcn.004965f0
lea ecx, [ebp - 0xb4]
call sub.MFC42.DLL_CDatabase::Close
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x34], 0x51617c
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x16
test esi, esi
je 0x48f4f7
mov edx, dword [ebp - 0x2c]
mov ecx, esi
test edx, edx
lea eax, [edx - 1]
je 0x48f4ee
add ecx, 4
mov edx, eax
dec eax
test edx, edx
jne 0x48f4e4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x34], 0x514bb8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.004c852c
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret