Function at 0x40e620
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x422341
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x43e01c]
xor eax, esp
mov dword [esp + 0x280], eax
push ebp
push esi
mov eax, dword [0x43e01c]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2bc]
mov esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x2a0]
push edx
mov dword [esp + 0x29c], 0
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
test al, al
je 0x40e7a0
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x298], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x298], 2
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x68]
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], str.name
mov dword [esp + 0x18], 0x429274
mov dword [esp + 0x1c], str.help
mov dword [esp + 0x20], str.width
mov dword [esp + 0x24], str.height
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
xor esi, esi
mov edi, edi
push 0x206
lea edx, [esp + 0x8a]
push 0
push edx
mov word [esp + 0x90], 0
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x2b0]
add esp, 0xc
cmp dword [esp + 0x2b8], 8
jae 0x40e739
lea eax, [esp + 0x2a4]
mov ecx, dword [esp + esi + 0x14]
push eax
push 0x104
lea eax, [esp + 0x8c]
push eax
push 0x428214
push ecx
push str.main
call ebp
test eax, eax
je 0x40e76e
mov ecx, dword [esp + esi + 0x30]
lea edx, [esp + 0x84]
push edx
call dword [0x427bec]
add esi, 4
cmp esi, 0x14
jb 0x40e700
cmp dword [edi + 0x14], 0
jne 0x40e7bf
lea ecx, [esp + 0x68]
mov byte [esp + 0x298], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x298], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x2a0]
mov dword [esp + 0x298], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x40e946
push edi
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFileName::IsCompletedPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov esi, dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMFileName::GetDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ebp, dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMFileName::JoinFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
test al, al
jne 0x40e835
lea eax, [esp + 0x2a0]
push eax
lea ecx, [esp + 0x34]
push ecx
call esi
push edi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x2ac], 3
call ebp
add esp, 0x14
push eax
mov ecx, edi
mov byte [esp + 0x29c], 4
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x298], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push edi
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
test al, al
je 0x40e77c
cmp dword [ebx + 0x14], 0
je 0x40e8b7
push ebx
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFileName::IsCompletedPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
test al, al
jne 0x40e8b7
lea ecx, [esp + 0x2a0]
push ecx
lea edx, [esp + 0x34]
push edx
call esi
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x2ac], 5
call ebp
add esp, 0x14
push eax
mov ecx, ebx
mov byte [esp + 0x29c], 6
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x298], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x60], 0
mov esi, dword [sym.imp.K8Common.dll_public:_static_long_long___int64____cdecl_GameMgr::GMStringUtils::ConvertStringToInt64_wchar_t_const___wchar_t_const___]
je 0x40e8e1
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x50]
jae 0x40e8d3
lea eax, [esp + 0x50]
push 0
push eax
call esi
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [edx], eax
cmp dword [esp + 0x7c], 0
je 0x40e908
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
jae 0x40e8fa
lea eax, [esp + 0x6c]
push 0
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 8
mov dword [ecx], eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x298], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x298], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x2a0]
mov dword [esp + 0x298], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.004212c2
add esp, 0x290
ret