Function at 0x402760
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x415c21
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x42601c]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
mov eax, dword [0x42601c]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c4]
mov ebp, dword [esp + 0x2c0]
mov esi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x2a4]
push edx
mov dword [esp + 0x2a0], 0
call sub.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 0x4028f0
lea ecx, [esp + 0x50]
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 + 0x6c]
mov byte [esp + 0x29c], 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 + 0x29c], 2
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], str.name
mov dword [esp + 0x1c], 0x419a40
mov dword [esp + 0x20], str.help
mov dword [esp + 0x24], str.width
mov dword [esp + 0x28], 0x419a18
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
xor esi, esi
jmp 0x402850
push 0x206
lea edx, [esp + 0x8e]
push 0
push edx
mov word [esp + 0x94], 0
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x2b4]
add esp, 0xc
cmp dword [esp + 0x2bc], 8
jae 0x402889
lea eax, [esp + 0x2a8]
mov ecx, dword [esp + esi + 0x18]
push eax
push 0x104
lea eax, [esp + 0x90]
push eax
push 0x419948
push ecx
push str.main
call ebx
test eax, eax
je 0x4028be
mov ecx, dword [esp + esi + 0x34]
lea edx, [esp + 0x88]
push edx
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_wchar_t_const__]
add esi, 4
cmp esi, 0x14
jb 0x402850
cmp dword [edi + 0x14], 0
jne 0x40290f
lea ecx, [esp + 0x6c]
mov byte [esp + 0x29c], 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 + 0x50]
mov byte [esp + 0x29c], 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 + 0x2a4]
mov dword [esp + 0x29c], 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 0x402a96
push edi
call sub.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 0x40297e
lea eax, [esp + 0x2a4]
push eax
lea ecx, [esp + 0x38]
push ecx
call sub.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__
push edi
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
mov bl, 3
push eax
mov byte [esp + 0x2b0], bl
call sub.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, 0x14
push eax
mov ecx, edi
mov byte [esp + 0x2a0], 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 + 0x18]
mov byte [esp + 0x29c], bl
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 + 0x34]
mov byte [esp + 0x29c], 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 sub.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 0x4028cc
cmp dword [ebp + 0x14], 0
je 0x402a04
push ebp
call sub.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 0x402a04
lea ecx, [esp + 0x2a4]
push ecx
lea edx, [esp + 0x38]
push edx
call sub.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__
push ebp
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
mov bl, 5
push ecx
mov byte [esp + 0x2b0], bl
call sub.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, 0x14
push eax
mov ecx, ebp
mov byte [esp + 0x2a0], 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 + 0x18]
mov byte [esp + 0x29c], bl
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 + 0x34]
mov byte [esp + 0x29c], 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 + 0x64], 0
je 0x402a2b
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x402a1a
lea eax, [esp + 0x54]
push 0
push eax
call sub.K8Common.dll_public:_static_long_long___int64____cdecl_GameMgr::GMStringUtils::ConvertStringToInt64_wchar_t_const___wchar_t_const___
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [edx], eax
cmp dword [esp + 0x80], 0
je 0x402a58
cmp dword [esp + 0x84], 8
mov eax, dword [esp + 0x70]
jae 0x402a47
lea eax, [esp + 0x70]
push 0
push eax
call sub.K8Common.dll_public:_static_long_long___int64____cdecl_GameMgr::GMStringUtils::ConvertStringToInt64_wchar_t_const___wchar_t_const___
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ecx], eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x29c], 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 + 0x50]
mov byte [esp + 0x29c], 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 + 0x2a4]
mov dword [esp + 0x29c], 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 + 0x294]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.004149a0
add esp, 0x290
ret