Function at 0x10005e50
Capabilities:
Check if file exists
Get geographical location
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c0da
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x444], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 8]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test ecx, ecx
je 0x100061f1
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
mov dword [ebp - 0x454], esi
test esi, esi
je 0x100061f1
cmp byte [0x1004ac57], 0
jne 0x100061f1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov byte [0x1004ac57], 1
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::filepath::getProgramRunDir_void_]
add esp, 4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push str.cfgisafe.dat
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x43c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x43c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10005f95
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10005f95
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x43c]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10006000
lea eax, [ebp - 0x43c]
push eax
push 0
push str.BootHelper
push str.tray
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x10005fe6
cmp dword [ebp - 0x444], 0
jne 0x10006000
push str.StartupAssistPop_flag_is_1_and_boottime__0__Hide_StartupAssistPop.
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 8
jmp 0x100061ba
cmp eax, 2
jne 0x10006000
push str.StartupAssistPop_flag_is_2__Hide_StartupAssistPop.
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 8
jmp 0x100061ba
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x10006056
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
cmp eax, 1
je 0x10006056
push str.CStartupAssistPlugImpl::ShowStartupAssistPop___DivertOp__TRAY_SEL_VIEW_OPTIMIZE_
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x448], esp
push ecx
push ebx
call fcn.10006b50
mov byte [ebp - 4], 4
call dword [sym.imp.iSafeBase.dll_public:_static_class_elex::CAppMgr____cdecl_oopa::CSingleton_class_elex::CAppMgr_::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.iSafeBase.dll_public:_class_COTaskManager____thiscall_elex::CAppMgr::GetTaskMgr_void_]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1001f200
push str.PopStartupAssist
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 8
push 4
push ecx
push str.city
lea ecx, [ebp + 0x10]
call fcn.10006860
cmp eax, 0xffffffff
je 0x1000609c
push ecx
push str.today
lea ecx, [ebp + 0x10]
call fcn.10006790
cmp eax, 0xffffffff
je 0x1000609c
push ecx
push str.tomorrow
lea ecx, [ebp + 0x10]
call fcn.10006790
push 0xa8
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x448], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x1000614f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x458], esp
push 0xffffffffffffffff
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
push 0
lea eax, [ebp + 0x28]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10001560
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
mov byte [ebp - 4], 6
push 0
lea eax, [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10001560
push dword [ebp - 0x444]
mov ecx, esi
push dword [ebp - 0x44c]
mov byte [ebp - 4], 5
call fcn.10007d40
mov dword [ebp - 0x444], eax
jmp 0x10006159
mov dword [ebp - 0x444], 0
push 0x148
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x450], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x10006198
push ecx
mov ecx, esi
call fcn.10006240
push dword [ebx + 0xc]
mov ecx, esi
push dword [ebx + 8]
push dword [ebp - 0x444]
call fcn.10009d60
jmp 0x1000619a
xor eax, eax
mov byte [ebp - 4], 3
test eax, eax
je 0x100061aa
lea edx, [eax + 0xc8]
jmp 0x100061ac
xor edx, edx
mov ecx, dword [ebp - 0x454]
push dword [ebx + 0xc]
mov eax, dword [ecx]
push edx
call dword [eax]
cmp dword [ebp - 0x21c], 8
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
jb 0x100061d8
push dword [ebp - 0x230]
call edi
add esp, 4
xor eax, eax
mov word [ebp - 0x230], ax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
cmp dword [ebp + 0x24], 0x10
jb 0x100061ff
push dword [ebp + 0x10]
call edi
add esp, 4
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], 0
mov byte [ebp + 0x10], 0
jb 0x1000621f
push dword [ebp + 0x28]
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret 0x38