Function at 0x44f7f0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x468046
mov eax, dword fs:[0]
push eax
sub esp, 0x590
mov eax, dword [0x497060]
xor eax, esp
mov dword [esp + 0x588], eax
push ebx
push esi
push edi
mov eax, dword [0x497060]
xor eax, esp
push eax
lea eax, [esp + 0x5a0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x394], ax
lea eax, [esp + 0x396]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [esp + 0x38c]
call fcn.00442cb0
test eax, eax
je 0x44fc85
push 0x208
lea eax, [esp + 0x4c]
push 0
push eax
mov dword [esp + 0x50], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x38c]
push eax
lea eax, [esp + 0x4c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
jne 0x44f8cd
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x44f8cd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x5ac], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x44f8ed
xor eax, eax
jmp 0x44f900
lea eax, [esp + 0x48]
push eax
push 0
push str.blockcount
push str.stats
call esi
mov dword [ebx], eax
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
jne 0x44f912
or esi, 0xffffffff
jmp 0x44f927
lea eax, [esp + 0x48]
push eax
push 0xffffffffffffffff
push str.blocktm
push str.stats
call esi
mov esi, eax
push 0
call dword [sym.imp.MSVCR110.dll__time32]
add esp, 4
mov edi, eax
push str.DataStatisticsMananger__collect_block_item_from_db
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], edi
call fcn.00428870
lea ecx, [esp + 0x254]
mov byte [esp + 0x5a8], 1
call fcn.00450120
mov eax, edi
mov edi, dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
cdq
mov dword [esp + 0x24], eax
mov eax, esi
mov dword [esp + 0x20], edx
cdq
xor ecx, ecx
mov esi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
mov edi, edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
push 0xffffffffffffffff
push dword [esp + 0x24]
lea eax, [esp + 0x34]
push dword [esp + 0x2c]
mov byte [esp + 0x5b4], 3
push edx
push esi
push eax
lea eax, [ecx + 0x9c40]
push eax
call fcn.0044f670
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
call sym.iSafe.exe_public_virtual:_void___thiscall_elex::commumod::ICommuInter::ThreadSendDBUpdate_struct_elex::commu::tagICOM_DBUPDATEPARAM__
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
call sym.iSafe.exe_public_virtual:_void___thiscall_elex::commumod::ICommuInter::ThreadSendDBUpdate_struct_elex::commu::tagICOM_DBUPDATEPARAM__
mov esi, dword [esp + 0x38]
cmp esi, dword [esp + 0x3c]
je 0x44facc
jmp 0x44fa00
push esi
lea ecx, [esp + 0x368]
call fcn.0040bb00
mov eax, dword [esi + 0x18]
mov dword [esp + 0x37c], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x380], eax
push 0x138
mov byte [esp + 0x5ac], 4
call edi
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x5a8], 5
test eax, eax
je 0x44fa4e
mov ecx, eax
call fcn.0044f510
mov esi, eax
jmp 0x44fa50
xor esi, esi
lea eax, [esp + 0x364]
push eax
mov byte [esp + 0x5ac], 4
mov eax, dword [esp + 0x258]
push esi
mov eax, dword [eax + 8]
lea ecx, [esp + 0x25c]
call eax
push 0
push 0x49a734
xor ecx, ecx
test al, al
push 0x49868c
cmovne ecx, esi
push 0
push ecx
call sub.MSVCR110.dll___RTDynamicCast
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x44faa3
mov eax, dword [ecx + 0x28]
add dword [ebx], eax
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x364]
mov byte [esp + 0x5a8], 3
call fcn.00411840
mov esi, dword [esp + 0x38]
add esi, 0x20
mov dword [esp + 0x38], esi
cmp esi, dword [esp + 0x3c]
jne 0x44fa00
mov byte [esp + 0x5a8], 2
cmp dword [esp + 0x2c], 0
je 0x44fb2b
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x44fb03
mov ecx, esi
call fcn.00411840
add esi, 0x20
cmp esi, edi
jne 0x44faf1
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0xa
jl 0x44f980
mov edi, dword [ebx]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x48]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x44fbcf
xor eax, eax
push edi
xorps xmm0, xmm0
push 0x4836a0
mov word [esp + 0x36c], ax
mov dword [esp + 0x38e], eax
mov word [esp + 0x392], ax
lea eax, [esp + 0x36c]
push 0x28
push eax
movq qword [esp + 0x376], xmm0
movq qword [esp + 0x37e], xmm0
movq qword [esp + 0x386], xmm0
movq qword [esp + 0x38e], xmm0
call fcn.004088f0
add esp, 0x10
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x368]
push eax
push str.blockcount
push str.stats
call esi
lea eax, [esp + 0x48]
push eax
call ebx
test eax, eax
je 0x44fc4e
push dword [esp + 0x14]
xor eax, eax
xorps xmm0, xmm0
push 0x4836a0
mov word [esp + 0x36c], ax
mov dword [esp + 0x38e], eax
mov word [esp + 0x392], ax
lea eax, [esp + 0x36c]
push 0x28
push eax
movq qword [esp + 0x376], xmm0
movq qword [esp + 0x37e], xmm0
movq qword [esp + 0x386], xmm0
movq qword [esp + 0x38e], xmm0
call fcn.004088f0
add esp, 0x10
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x368]
push eax
push str.blocktm
push str.stats
call esi
lea ecx, [esp + 0x258]
mov dword [esp + method.CStatDataConverter.virtual_0], vtable.CStatDataConverter.0
call fcn.004082c0
lea ecx, [esp + 0x40]
mov dword [esp + method.IStatData::IStatDataConverter.virtual_0], vtable.IStatData::IStatDataConverter.0
mov byte [esp + 0x5a8], 0
call fcn.004288f0
mov al, 1
jmp 0x44fc87
xor al, al
mov ecx, dword [esp + 0x5a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x588]
xor ecx, esp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 4