Function at 0x409100
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41462c
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x41e130]
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 esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
mov edi, ecx
lea ecx, [ebp - 0x424]
call esi
xor ebx, ebx
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], ebx
call esi
lea eax, [ebp - 0x428]
push eax
mov byte [ebp - 4], 1
call fcn.00411f40
add esp, 4
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 2
call dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
test al, al
lea ecx, [ebp - 0x428]
je 0x409183
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
jmp 0x4092a2
push str.UserDataInfo.ini
call dword [0x416078]
push 0x206
lea ecx, [ebp - 0x216]
push ebx
push ecx
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
add esp, 0xc
lea ecx, [ebp - 0x428]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x103
lea edx, [ebp - 0x218]
push edx
push 0x41672c
push str.OldVersion
push str.UserDataImportSet
call ebx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__]
lea ecx, [ebp - 0x424]
call dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
test al, al
lea ecx, [ebp - 0x428]
jne 0x409178
call esi
push eax
push 3
push str.OldVerDataPathType
push str.UserDataImportSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x206
lea ecx, [ebp - 0x41e]
push 0
push ecx
mov dword [ebp - 0x434], eax
mov word [ebp - 0x420], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x428]
call esi
push eax
push 0x103
lea edx, [ebp - 0x420]
push edx
push 0x41672c
push str.OldVerDataPath
push str.UserDataImportSet
call ebx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x42c]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__]
push 0
push 0x417bd0
lea ecx, [ebp - 0x424]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::Find_wchar_t_const___int_const]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4092e3
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
call esi
xor eax, eax
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.00412d02
mov esp, ebp
pop ebp
ret 4
push ebx
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x424]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Left_int_]
lea edx, [edi + 0x30]
push edx
mov ecx, eax
mov byte [ebp - 4], 3
call esi
push eax
call dword [sym.imp.Common.dll_Ordinal_34]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
add esp, 8
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 2
call esi
lea eax, [ebx + 1]
push eax
push 0x417bd0
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x430], eax
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::Find_wchar_t_const___int_const]
cmp eax, 0xffffffff
je 0x40929c
sub eax, ebx
push eax
mov eax, dword [ebp - 0x430]
push eax
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x424]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Mid_int__int_]
lea edx, [edi + 0x34]
push edx
mov ecx, eax
mov byte [ebp - 4], 4
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.Common.dll_Ordinal_34]
add esp, 8
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 2
call esi
mov eax, dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [edi + 0x3c]
mov dword [edi + 0x2c], 1
mov dword [edi + 0x38], eax
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
mov edx, dword [ebp + 8]
mov ecx, edi
mov dword [edi + 0x54], edx
call fcn.00408720
test eax, eax
jne 0x409488
xor edi, edi
mov dword [ebp - 0x434], str.CheckSrcPath
mov dword [ebp - 0x440], str.file
mov dword [ebp - 0x43c], str.func
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x46c], 0xd7
mov dword [ebp - 0x468], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x470], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x45c], edi
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 0x434]
push ecx
push 0x4164dc
lea edx, [ebp - 0x474]
push str.StorageTool
push edx
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x448], edi
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
call esi
lea eax, [edi + 4]
jmp 0x4092c5
mov ecx, edi
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXThreadModel::StartThread_void_]
test eax, eax
je 0x40929c
xor edi, edi
mov dword [ebp - 0x430], 0x417c34
mov dword [ebp - 0x480], str.file
mov dword [ebp - 0x47c], str.func
mov dword [ebp - 0x484], edi
mov dword [ebp - 0x478], edi
mov dword [ebp - 0x4ac], 0xde
mov dword [ebp - 0x4a8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x4b0], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4a0], eax
lea eax, [ebp - 0x494]
push eax
mov dword [ebp - 0x49c], edi
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 0x430]
push ecx
push 0x4164dc
lea edx, [ebp - 0x4b4]
push str.StorageTool
push edx
mov dword [ebp - 0x48c], edi
mov dword [ebp - 0x488], edi
call dword [sym.imp.Common.dll_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__]
add esp, 0x14
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
call esi
lea eax, [edi + 1]
jmp 0x4092c5