Function at 0x40e4e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4260a7
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x43501c]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43501c]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
add eax, 0xffffffff
cmp eax, 0x15
ja case.0x40e532.2
movzx eax, byte [eax + 0x40eab8]
jmp dword [eax*4 + 0x40eaac]
lea ecx, [esp + 0xdc]
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_]
push 0
mov dword [esp + 0x124], 0
mov ecx, dword [esi + 4]
mov ebx, 8
push ebx
push ecx
lea edx, [esp + 0xe8]
push str.advertid_dtype_dtime_d
push edx
call sub.K8Common.dll_public:_static_void___cdecl_GameMgr::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
mov eax, dword [0x4358a8]
mov eax, dword [eax + 0x80]
add esp, 0x14
push eax
push str.shell
lea ecx, [esp + 0x90]
push str._s_d
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::GMStringUtils::FormatResult_wchar_t_const__
add esp, 0x10
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x124], 1
call dword [0x42747c]
lea ecx, [esp + 0x88]
mov byte [esp + 0x120], 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_]
push 0x427764
lea ecx, [esp + 0x68]
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_wchar_t_const__]
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x124], 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__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x120], 3
call fcn.00403870
mov edi, eax
lea eax, [edi + 0x44]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x124], 5
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::constructor_class_GameMgr::GMMutex_const__
push str.tipad_close_stat.php
lea ecx, [esp + 0xa8]
mov byte [esp + 0x124], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
lea esi, [edi + 0x88]
mov byte [esp + 0x124], 7
call fcn.00420880
add esp, 4
cmp eax, 0xffffffff
lea ecx, [esp + 0xa4]
setne byte [esp + 0x1b]
mov byte [esp + 0x120], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp byte [esp + 0x1b], 0
je 0x40e672
mov byte [esp + 0x120], 5
jmp 0x40ea12
lea ecx, [edi + 0x98]
push ecx
lea ecx, [esp + 0xc4]
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x120], bl
call fcn.004149b0
push eax
push 0x42928c
lea edx, [esp + 0xac]
push str._s_d
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::GMStringUtils::FormatResult_wchar_t_const__
add esp, 0x10
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x124], 0xa
call dword [0x42747c]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x120], 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_]
cmp dword [esp + 0x58], 0
je 0x40e714
push 0
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0x26
je 0x40e702
push 0x42a0e0
lea ecx, [esp + 0xc4]
call dword [0x427478]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xc4]
call dword [0x42747c]
push ebx
call fcn.00420f2a
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x120], 0xb
je 0x40e738
mov ecx, eax
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
mov esi, eax
jmp 0x40e73a
xor esi, esi
mov byte [esp + 0x120], bl
push 0
mov dword [esp + 0x30], esi
call dword [sym.imp.MSVCR80.dll__time64]
mov dword [esp + 0x3c], edx
mov edx, dword [esi]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x38]
add esp, 4
mov ecx, esi
call eax
push str.tipad_close_stat.php
lea ecx, [esp + 0x20]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__
mov ebp, eax
push 0x42a0e4
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov byte [esp + 0x128], 0xc
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push ebp
mov ecx, eax
mov byte [esp + 0x124], 0xd
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0xc
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x120], bl
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x20]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_int_
mov ebp, eax
push 0x42a0e8
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov byte [esp + 0x128], 0xe
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push ebp
mov ecx, eax
mov byte [esp + 0x124], 0xf
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0xe
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x120], bl
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
push 0xfde9
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0xac]
push edx
call sub.K8Common.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_GameMgr::GMStringConvert::UnicodeStringToMultiByte_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov byte [esp + 0x120], 0x10
cmp dword [eax + 0x18], 0x10
jb 0x40e845
mov eax, dword [eax + 4]
jmp 0x40e848
add eax, 4
push eax
lea ecx, [esp + 0x20]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__
mov ebp, eax
push str.params
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov byte [esp + 0x128], 0x11
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push ebp
mov ecx, eax
mov byte [esp + 0x124], 0x12
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0x11
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x120], 0x10
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0xa4]
mov byte [esp + 0x120], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esp + 0x78], 0
je 0x40e986
push 0xfde9
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0xac]
push edx
call sub.K8Common.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_GameMgr::GMStringConvert::UnicodeStringToMultiByte_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0x13
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonReader::constructor_void_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x120], 0x14
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x12c], 0x15
call sub.K8Common.dll_public_virtual:_bool___thiscall_GameMgr::GMJsonReader::Parse_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_GameMgr::GMJsonValue___bool_
push str.post
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x124], 0x16
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x3c]
mov byte [esp + 0x120], 0x15
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x120], 0x14
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0x13
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonReader::destructor_void_
lea ecx, [esp + 0xa4]
mov byte [esp + 0x120], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xf8]
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 edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x100]
push 0x427e58
push ecx
mov byte [esp + 0x130], 0x17
call sub.K8Common.dll_public:_static_void___cdecl_GameMgr::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
add esp, 0x10
lea esi, [edi + 0x48]
lea ebx, [esp + 0x2c]
call fcn.0041ff40
add dword [edi + 0xb4], 1
mov ebx, 5
cmp dword [edi + 0xb4], ebx
jb 0x40e9e1
mov esi, edi
call fcn.0041cb10
lea ecx, [esp + 0xf8]
mov byte [esp + 0x120], 8
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 + 0xc0]
mov byte [esp + 0x120], 6
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 byte [esp + 0x120], bl
lea ecx, [esp + 0x30]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::destructor_void_
lea ecx, [esp + 0x44]
mov byte [esp + 0x120], 4
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 + 0x64]
mov byte [esp + 0x120], 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 + 0xdc]
mov dword [esp + 0x120], 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
jmp 0x40ea82
mov edx, dword [0x4358a8]
mov eax, dword [edx + 0x80]
push eax
mov eax, dword [esi + 4]
push 0
push eax
push 0xb
call fcn.00403870
mov edi, eax
call fcn.0041e950
mov al, 1
jmp 0x40ea82
xor al, al
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00420f36
add esp, 0x110
ret