Function at 0x42ede0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447e80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ebx
call fcn.0043f5d4
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0043f5d4
mov ecx, dword [ebx + 0x324]
lea eax, [ebx + 0x324]
mov byte [ebp - 4], 1
mov edx, dword [ecx - 8]
test edx, edx
je 0x42ef93
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_1
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
push eax
push ecx
push edx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x42eef5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, 0x7d
xor eax, eax
lea edi, [ebp - 0x258]
rep stosd dword es:[edi], eax
push eax
lea eax, [ebp - 0x258]
push 0x1f3
push eax
push 0
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x1c]
call fcn.0043f5d4
mov edx, dword [ebx + 0x324]
lea ecx, [ebp - 0x258]
push esi
push ecx
push edx
lea eax, [ebp - 0x1c]
push 0x45af48
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x40], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push 3
mov ecx, ebx
call fcn.004091a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
jmp 0x42f272
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov ecx, 0x14
mov eax, edi
call fcn.0043fc80
push 0
push 0x64
push edx
push eax
call fcn.0043fca0
mov esi, eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x38]
mov ecx, 0x14
call fcn.0043fc80
push edx
push eax
mov eax, dword [ebp - 0x44]
push eax
push esi
call fcn.0043fce0
xor ecx, ecx
mov esi, 0x64
mov dword [ebp - 0x5c], ecx
sub esi, eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], ecx
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x54], ecx
push 0xa
push edx
mov dword [ebp - 0x50], ecx
push eax
push edi
mov dword [ebp - 0x4c], ecx
call dword [sym.imp.MSVCRT.dll__ui64toa]
add esp, 0x10
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x20]
push ecx
push esi
push str.MAINRATE_d_mainDay_s_
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x20]
push 0x45bc5c
push 0x45bc58
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebx + 0x31c]
lea eax, [ebx + 0x31c]
mov edx, dword [ecx - 8]
test edx, edx
je 0x42f12d
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x64]
push eax
push ecx
push edx
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x42f064
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, 0x7d
xor eax, eax
lea edi, [ebp - 0x258]
rep stosd dword es:[edi], eax
push eax
lea eax, [ebp - 0x258]
push 0x1f3
push eax
push 0
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x14]
call fcn.0043f5d4
mov edx, dword [ebx + 0x31c]
lea ecx, [ebp - 0x258]
push esi
push ecx
push edx
lea eax, [ebp - 0x14]
push 0x45af48
push eax
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x40], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push 3
mov ecx, ebx
call fcn.004091a0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
jmp 0x42f272
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov ecx, 0x14
call fcn.0043fc80
push 0
push 0x64
push edx
push eax
call fcn.0043fca0
mov esi, eax
mov eax, dword [ebp - 0x34]
mov edi, edx
mov edx, dword [ebp - 0x30]
mov ecx, 0x14
call fcn.0043fc80
push edx
push eax
push edi
push esi
call fcn.0043fce0
mov ecx, dword [ebx + 0x580]
mov esi, 0x64
sub esi, eax
or eax, 0xffffffff
test ecx, ecx
jne 0x42f0ba
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x42f0fc
push ecx
lea eax, [ebx + 0x31c]
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.0042f2b0
cmp eax, 0xffffffff
je 0x42f0fc
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
cdq
push ecx
push edi
push edx
push eax
call fcn.0043fca0
mov ecx, dword [ebp - 0x34]
sub ecx, edi
mov edi, dword [ebp - 0x30]
sbb edi, dword [ebp - 0x38]
push edi
push ecx
push edx
push eax
call fcn.0043fce0
push eax
push esi
lea edx, [ebp - 0x18]
push str.backrate_d_backDay_d_
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0x45bc5c
push 0x45bc58
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
call fcn.0043f5d4
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x24]
push eax
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x42f15b
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
push edx
call fcn.0043f60a
lea ecx, [ebp - 0x28]
call fcn.0043f5d4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0043f5d4
lea eax, [ebx + 0x590]
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [sym.imp.Zbf.dll_class_CString_CBase::m_strHospName]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
push edx
push eax
push 1
push ecx
lea edx, [ebp - 0x28]
push str.insert_into_ClientLog_InfoType_InfoTxt_LogType_IpAddress_HostName_values_3__s__d__s__s_
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push 0
call fcn.00404920
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004047b0
lea ecx, [ebx + 0x3c4]
mov byte [ebp - 4], 0xa
call fcn.00404b50
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call fcn.004049e0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x42f1ed
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
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
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret