Function at 0x40b590
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x410aa9
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x41901c]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41901c]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1c0]
mov eax, dword [esp + 0x1c4]
lea esi, [ebp + 0x64]
test esi, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x88], eax
mov dword [esp + 0x24], esi
je 0x40b5f6
mov ecx, esi
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::Lock_void_const
mov dword [esp + 0x1b8], 0
xor eax, eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov eax, dword [ebp + 0x60]
test eax, eax
mov dword [esp + 0xd4], str.DETAIL
mov dword [esp + 0xd8], str.ALBUM
mov dword [esp + 0xdc], str.DOWNPIC
mov dword [esp + 0xe0], str.DOWNRECOMMEND
mov dword [esp + 0xe4], str.START
mov dword [esp + 0xe8], str.PCALBUM
mov dword [esp + 0xec], str.FLASHALBUM
mov dword [esp + 0xf0], str.INNERWEB
je 0x40bcfe
lea ecx, [esp + 0x30]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
mov byte [esp + 0x1b8], 1
mov eax, dword [ebp + 0x5c]
mov esi, dword [eax]
lea ebx, [ebp + 0x58]
mov edi, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov edi, edi
test edi, edi
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], ecx
je 0x40b6af
cmp edi, ebx
je 0x40b6b5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x3c]
je 0x40b797
test edi, edi
jne 0x40b6c9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 4]
jne 0x40b6d4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea edx, [esi + 0x10]
push edx
lea eax, [esp + 0xbc]
push eax
call sub.K8Common.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_GameMgr::GMStringConvert::GMStringToGMStringA_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [esp + 0x1b8], 2
cmp dword [eax + 0x18], 0x10
jb 0x40b6fb
mov eax, dword [eax + 4]
jmp 0x40b6fe
add eax, 4
push eax
lea ecx, [esp + 0x44]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__
mov edi, eax
mov byte [esp + 0x1b8], 3
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 4]
jne 0x40b721
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov eax, dword [esp + edx*4 + 0xd4]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x38]
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push edi
mov ecx, eax
mov byte [esp + 0x1bc], 4
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 3
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b8], 2
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1b8], 1
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 esi, [esp + 0x18]
call fcn.0040b080
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x40b6a0
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, ebx
call fcn.0040d260
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], 0
mov dword [eax], eax
mov ebx, dword [ebx + 4]
lea ecx, [esp + 0x30]
mov dword [ebx + 8], ebx
call sub.K8Common.dll_public_virtual:_unsigned_int___thiscall_GameMgr::GMJsonValue::Size_void_const
test eax, eax
jbe 0x40bce9
lea ecx, [esp + 0x40]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
push str.page
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c0], 5
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
lea edx, [esp + 0x30]
push edx
mov ecx, eax
mov byte [esp + 0x1bc], 6
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 5
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x38]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::constructor_void_
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x158]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x1c0], 7
call sub.K8Common.dll_public_virtual:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_GameMgr::GMJsonWriter::Write_class_GameMgr::GMJsonValue_const__
mov byte [esp + 0x1b8], 8
cmp dword [esp + 0x16c], 0x10
mov eax, dword [esp + 0x158]
jae 0x40b85e
lea eax, [esp + 0x158]
push eax
lea edx, [esp + 0x120]
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::GMStringConvert::CharToGMString_char_const__
add esp, 8
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x1bc], 9
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__]
push 0x411560
lea ecx, [esp + 0x50]
mov byte [esp + 0x1bc], 0xa
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 edi, [ebp + 0x44]
test edi, edi
mov byte [esp + 0x1b8], 0xc
mov dword [esp + 0x74], edi
je 0x40b8bd
mov ecx, edi
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::Lock_void_const
push str.dynamic_stat.php
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1bc], 0xd
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, [ebp + 0x88]
mov byte [esp + 0x1bc], 0xe
call fcn.0040da80
add esp, 4
cmp eax, 0xffffffff
lea ecx, [esp + 0xb8]
setne bl
mov byte [esp + 0x1b8], 0xd
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x40b924
test edi, edi
mov byte [esp + 0x1b8], 0xc
je 0x40bc76
mov ecx, edi
jmp 0x40bc71
lea ecx, [esp + 0x138]
push ecx
push ebp
call fcn.0040cbe0
mov byte [esp + 0x1b8], 0xf
cmp dword [esp + 0x60], 0
je 0x40b977
push 0
lea ecx, [esp + 0x50]
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 0x40b965
push 0x411fb0
lea ecx, [esp + 0x13c]
call dword [0x4113b4]
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x13c]
call dword [0x4113bc]
push 8
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov byte [esp + 0x1b8], 0x11
je 0x40b99c
mov ecx, eax
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
mov esi, eax
jmp 0x40b99e
xor esi, esi
mov byte [esp + 0x1b8], 0xf
push 0
mov dword [esp + 0x4c], esi
call dword [sym.imp.MSVCR80.dll__time64]
mov ebx, eax
mov eax, dword [esi]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0x38]
add esp, 4
mov ecx, esi
call edx
push str.dynamic_stat.php
lea ecx, [esp + 0x1c]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__
mov edi, eax
push 0x411fb4
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x1c0], 0x12
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push edi
mov ecx, eax
mov byte [esp + 0x1bc], 0x13
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x12
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 0xf
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
push ebx
lea ecx, [esp + 0x1c]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_int_
mov edi, eax
push str.localtime
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov byte [esp + 0x1c0], 0x14
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push edi
mov ecx, eax
mov byte [esp + 0x1bc], 0x15
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x14
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 0xf
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
push 0xfde9
lea edx, [esp + 0x13c]
push edx
lea eax, [esp + 0xc0]
push eax
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 + 0x1b8], 0x16
cmp dword [eax + 0x18], 0x10
jb 0x40baa9
mov eax, dword [eax + 4]
jmp 0x40baac
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__
mov edi, eax
push str.params
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov byte [esp + 0x1c0], 0x17
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push edi
mov ecx, eax
mov byte [esp + 0x1bc], 0x18
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x17
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 0x16
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1b8], 0xf
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 + 0xa8], 0
je 0x40bbf8
push 0xfde9
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x108]
push eax
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 + 0x28]
mov byte [esp + 0x1b8], 0x19
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonReader::constructor_void_
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 0x1a
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c4], 0x1b
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 eax, [esp + 0x90]
push eax
mov ecx, esi
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x1bc], 0x1c
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1b8], 0x1b
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 0x1a
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0x19
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonReader::destructor_void_
lea ecx, [esp + 0x100]
mov byte [esp + 0x1b8], 0xf
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 + 0x18c]
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 + 0x1b8], 0x1d
mov edx, dword [esp + 0x80]
push edx
push ebx
lea eax, [esp + 0x194]
push 0x411fd4
push eax
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, [ebp + 0x48]
lea ebx, [esp + 0x48]
call fcn.0040d130
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1b8], 0xf
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 + 0x138]
mov byte [esp + 0x1b8], 0xd
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 + 0x1b8], 0xc
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x40bc76
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::UnLock_void_const
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b8], 0xb
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 + 0x94]
mov byte [esp + 0x1b8], 9
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 + 0x11c]
mov byte [esp + 0x1b8], 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 + 0x154]
mov byte [esp + 0x1b8], 7
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 + 0x38]
mov byte [esp + 0x1b8], 5
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::destructor_void_
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b8], 1
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b8], 0
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
mov esi, dword [esp + 0x24]
test esi, esi
mov dword [esp + 0x1b8], 0xffffffff
je 0x40bd14
mov ecx, esi
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::UnLock_void_const
lea esi, [ebp + 0x78]
test esi, esi
mov dword [esp + 0x48], esi
je 0x40bd26
mov ecx, esi
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::Lock_void_const
mov dword [esp + 0x1b8], 0x1e
cmp dword [ebp + 0x74], 0
je 0x40c5b9
lea ecx, [esp + 0x18]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b8], 0x1f
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
lea ecx, [esp + 0x138]
mov byte [esp + 0x1b8], 0x20
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x1b8], 0x21
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x70]
mov eax, dword [eax]
lea esi, [edi + 0x6c]
mov ebp, eax
test esi, esi
mov ebx, dword [esi + 4]
je 0x40bd8b
cmp esi, esi
je 0x40bd91
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, ebx
je 0x40c08d
test esi, esi
jne 0x40bda3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 4]
jne 0x40bdae
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebp + 8], 0
je 0x40c077
cmp ebp, dword [esi + 4]
jne 0x40bdc3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
lea ecx, [esp + 0x90]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_int_
mov ebx, eax
push str.type
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c0], 0x22
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push ebx
mov ecx, eax
mov byte [esp + 0x1bc], 0x23
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1b8], 0x22
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1b8], 0x21
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
cmp ebp, dword [esi + 4]
jne 0x40be35
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
lea ecx, [esp + 0x44]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_unsigned_int_
mov ebx, eax
push 0x41203c
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c0], 0x24
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push ebx
mov ecx, eax
mov byte [esp + 0x1bc], 0x25
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b8], 0x24
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b8], 0x21
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
cmp ebp, dword [esi + 4]
jne 0x40be9f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0xc]
add ebx, 8
cmp esi, dword [ebx + 8]
jbe 0x40beb3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [edi + 0x70]
lea eax, [edi + 0x6c]
jne 0x40bec1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
add edi, 8
cmp dword [edi + 4], eax
mov dword [esp + 0x24], eax
jbe 0x40bed9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test ebx, ebx
je 0x40bee1
cmp ebx, edi
je 0x40bee7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x24]
je 0x40c001
test ebx, ebx
jne 0x40befb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [ebx + 8]
jb 0x40bf06
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x120]
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::ConvertUInt32ToString_unsigned_int_
push eax
lea eax, [esp + 0xe0]
push eax
mov byte [esp + 0x1c8], 0x26
call sub.K8Common.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_GameMgr::GMStringConvert::GMStringToGMStringA_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0x10
push eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1bc], 0x27
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1b8], 0x26
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 + 0x11c]
mov byte [esp + 0x1b8], 0x21
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 esi, dword [ebx + 8]
jb 0x40bf7a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x70]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_unsigned_int_
mov edi, eax
mov byte [esp + 0x1b8], 0x28
cmp dword [esp + 0x150], 0x10
mov eax, dword [esp + 0x13c]
jae 0x40bfa9
lea eax, [esp + 0x13c]
push eax
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x20]
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push edi
mov ecx, eax
mov byte [esp + 0x1bc], 0x29
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x74]
mov byte [esp + 0x1b8], 0x28
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1b8], 0x21
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
cmp esi, dword [ebx + 8]
jb 0x40bff5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x20]
add esi, 8
jmp 0x40beb3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x38]
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValue___thiscall_GameMgr::GMJsonValue::Append_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x4c]
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0x18]
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::Clear_void_
mov eax, dword [esp + 0x20]
add eax, 0x6c
mov ebx, eax
cmp ebp, dword [ebx + 4]
jne 0x40c03a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebp + 8]
xor edi, edi
cmp esi, edi
je 0x40c065
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x40c053
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebp, dword [ebx + 4]
jne 0x40c070
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [ebp + 8], edi
mov edi, dword [esp + 0x20]
cmp ebp, dword [edi + 0x70]
lea esi, [edi + 0x6c]
jne 0x40c085
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [ebp]
jmp 0x40bd80
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 4]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 4]
mov dword [esi + 8], 0
je 0x40c0b8
mov ebx, dword [eax]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebx, dword [esi + 4]
mov eax, ebx
jne 0x40c0a6
lea ecx, [esp + 0x28]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::constructor_void_
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c0], 0x2a
call sub.K8Common.dll_public_virtual:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_GameMgr::GMJsonWriter::Write_class_GameMgr::GMJsonValue_const__
mov byte [esp + 0x1b8], 0x2b
cmp dword [esp + 0x118], 0x10
mov eax, dword [esp + 0x104]
jae 0x40c0ff
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0xbc]
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::GMStringConvert::CharToGMString_char_const__
add esp, 8
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x190]
mov byte [esp + 0x1bc], 0x2c
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__]
push 0x411560
lea ecx, [esp + 0x98]
mov byte [esp + 0x1bc], 0x2d
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 ebp, [edi + 0x44]
test ebp, ebp
mov byte [esp + 0x1b8], 0x2f
mov dword [esp + 0x74], ebp
je 0x40c161
mov ecx, ebp
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::Lock_void_const
push str.pagecount.php
lea ecx, [esp + 0x120]
mov byte [esp + 0x1bc], 0x30
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 + 0x1bc], 0x31
call fcn.0040da80
add esp, 4
cmp eax, 0xffffffff
lea ecx, [esp + 0x11c]
setne bl
mov byte [esp + 0x1b8], 0x30
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x40c1c8
test ebp, ebp
mov byte [esp + 0x1b8], 0x2f
je 0x40c515
mov ecx, ebp
jmp 0x40c510
lea eax, [esp + 0x154]
push eax
push edi
call fcn.0040cbe0
mov byte [esp + 0x1b8], 0x32
cmp dword [esp + 0xa8], 0
je 0x40c224
push 0
lea ecx, [esp + 0x98]
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 0x40c20f
push 0x411fb0
lea ecx, [esp + 0x158]
call dword [0x4113b4]
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x158]
call dword [0x4113bc]
push 8
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1b8], 0x34
je 0x40c249
mov ecx, eax
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
mov esi, eax
jmp 0x40c24b
xor esi, esi
mov byte [esp + 0x1b8], 0x32
push 0
mov dword [esp + 0x28], esi
call dword [sym.imp.MSVCR80.dll__time64]
mov ebp, edx
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x38]
add esp, 4
mov ecx, esi
call eax
push str.pagecount.php
lea ecx, [esp + 0x70]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__
mov edi, eax
push 0x411fb4
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
mov byte [esp + 0x1c0], 0x35
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push edi
mov ecx, eax
mov byte [esp + 0x1bc], 0x36
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b8], 0x35
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1b8], 0x32
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
push ebx
lea ecx, [esp + 0x70]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_int_
mov edi, eax
push str.localtime
lea edx, [esp + 0x50]
push edx
mov ecx, esi
mov byte [esp + 0x1c0], 0x37
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push edi
mov ecx, eax
mov byte [esp + 0x1bc], 0x38
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b8], 0x37
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1b8], 0x32
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
push 0xfde9
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x124]
push ecx
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 + 0x1b8], 0x39
cmp dword [eax + 0x18], 0x10
jb 0x40c351
mov eax, dword [eax + 4]
jmp 0x40c354
add eax, 4
push eax
lea ecx, [esp + 0x70]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__
mov edi, eax
push str.params
lea edx, [esp + 0x50]
push edx
mov ecx, esi
mov byte [esp + 0x1c0], 0x3a
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
push edi
mov ecx, eax
mov byte [esp + 0x1bc], 0x3b
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b8], 0x3a
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1b8], 0x39
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1b8], 0x32
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 + 0x1a0], 0
je 0x40c49a
push 0xfde9
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x124]
push ecx
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 + 0x38]
mov byte [esp + 0x1b8], 0x3c
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonReader::constructor_void_
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b8], 0x3d
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
push 0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x1c4], 0x3e
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 ecx, [esp + 0x50]
push ecx
mov ecx, esi
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__
lea edx, [esp + 0x40]
push edx
mov ecx, eax
mov byte [esp + 0x1bc], 0x3f
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b8], 0x3e
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b8], 0x3d
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b8], 0x3c
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonReader::destructor_void_
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1b8], 0x32
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 + 0xd4]
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 ebp
push ebx
lea eax, [esp + 0xdc]
push 0x411fd4
push eax
mov byte [esp + 0x1c8], 0x40
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 esi, dword [esp + 0x30]
add esp, 0x10
add esi, 0x48
lea ebx, [esp + 0x24]
call fcn.0040d130
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1b8], 0x32
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 + 0x154]
mov byte [esp + 0x1b8], 0x30
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 + 0x1b8], 0x2f
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x40c515
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::UnLock_void_const
lea ecx, [esp + 0x94]
mov byte [esp + 0x1b8], 0x2e
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 + 0x18c]
mov byte [esp + 0x1b8], 0x2c
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 + 0xb8]
mov byte [esp + 0x1b8], 0x2b
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 + 0x100]
mov byte [esp + 0x1b8], 0x2a
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 + 0x28]
mov byte [esp + 0x1b8], 0x21
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::destructor_void_
lea ecx, [esp + 0x138]
mov byte [esp + 0x1b8], 0x20
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 + 0x30]
mov byte [esp + 0x1b8], 0x1f
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 0x1e
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
or ebx, 0xffffffff
test esi, esi
mov dword [esp + 0x1b8], ebx
je 0x40c5ce
mov ecx, esi
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::UnLock_void_const
lea ecx, [esp + 0x170]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edi, [ebp + 0x44]
test edi, edi
mov dword [esp + 0x1b8], 0x41
mov dword [esp + 0x20], edi
je 0x40c5f8
mov ecx, edi
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::Lock_void_const
mov byte [esp + 0x1b8], 0x42
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x40c611
mov ecx, dword [ebp + 0x50]
sub ecx, eax
sar ecx, 2
jne 0x40c630
test edi, edi
mov byte [esp + 0x1b8], 0x41
je 0x40c624
mov ecx, edi
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::UnLock_void_const
mov dword [esp + 0x1b8], ebx
jmp 0x40c9a1
lea ecx, [esp + 0x30]
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b8], 0x43
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::constructor_void_
mov byte [esp + 0x1b8], 0x44
xor ebx, ebx
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x40c77d
mov eax, dword [ebp + 0x50]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x40c77d
push 0x411fb4
lea ecx, [esp + 0xbc]
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__]
mov byte [esp + 0x1b8], 0x45
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x40c69c
mov eax, dword [ebp + 0x50]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x40c6a2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x4c]
lea edx, [esp + 0xb8]
lea edi, [ebx*4]
push edx
lea ecx, [esp + 0xd8]
add eax, edi
push ecx
mov ecx, dword [eax]
call sub.K8Common.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_GameMgr::GMJsonValue::GetStringMember_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
push eax
lea edx, [esp + 0x104]
push edx
mov byte [esp + 0x1c0], 0x46
call sub.K8Common.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_GameMgr::GMStringConvert::GMStringToUtf8_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1b8], 0x48
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 + 0xb8]
mov byte [esp + 0x1b8], 0x49
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 eax, [esp + 0x100]
push eax
lea esi, [ebp + 0x88]
call fcn.0040da80
add esp, 4
cmp eax, 0xffffffff
jne 0x40c75c
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x40c736
mov eax, dword [ebp + 0x50]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x40c73c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax + edi]
add eax, edi
push ecx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x38]
call sub.K8Common.dll_public:_class_GameMgr::GMJsonValue___thiscall_GameMgr::GMJsonValue::Append_class_GameMgr::GMJsonValue_const__
lea ecx, [esp + 0x4c]
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
lea ecx, [esp + 0x100]
mov byte [esp + 0x1b8], 0x44
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, dword [esp + 0x20]
add ebx, 1
jmp 0x40c654
lea ecx, [esp + 0x30]
call sub.K8Common.dll_public_virtual:_unsigned_int___thiscall_GameMgr::GMJsonValue::Size_void_const
test eax, eax
jbe 0x40c7cb
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x40]
call sub.K8Common.dll_public_virtual:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_GameMgr::GMJsonWriter::Write_class_GameMgr::GMJsonValue_const__
push eax
lea ecx, [esp + 0x174]
mov byte [esp + 0x1bc], 0x4a
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1b8], 0x44
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
xor esi, esi
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x40c80f
mov eax, dword [ebp + 0x50]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x40c80f
test ecx, ecx
je 0x40c7f6
mov eax, dword [ebp + 0x50]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x40c7f8
call ebx
mov edx, dword [ebp + 0x4c]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x40c80a
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
add esi, 1
jmp 0x40c7d3
mov ebx, dword [ebp + 0x50]
cmp ecx, ebx
jbe 0x40c81c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebp + 0x4c]
cmp esi, dword [ebp + 0x50]
jbe 0x40c82a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x40c858
mov eax, dword [ebp + 0x50]
sub eax, ebx
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea edi, [esi + ecx]
jle 0x40c851
push ecx
push ebx
push ecx
push esi
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x10
mov dword [ebp + 0x50], edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b8], 0x43
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::destructor_void_
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b8], 0x42
call sub.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_
test edi, edi
mov byte [esp + 0x1b8], 0x41
je 0x40c88d
mov ecx, edi
call sub.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::UnLock_void_const
mov eax, dword [esp + 0x184]
cmp eax, 3
mov ebx, eax
jbe 0x40c996
xor ebp, ebp
xor ecx, ecx
cmp eax, ebp
mov dword [esp + 0x4c], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebp
mov edi, eax
je 0x40c90b
xor esi, esi
cmp eax, ebp
jbe 0x40c901
push eax
call fcn.0040e098
mov esi, eax
mov eax, dword [esp + 0x54]
add esp, 4
cmp eax, ebp
jbe 0x40c8f0
mov ecx, dword [esp + 0x54]
cmp ecx, ebp
je 0x40c901
cmp eax, edi
jb 0x40c8e4
mov eax, edi
push eax
push ecx
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x40c901
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edi
mov byte [esp + 0x1b8], 0x4b
cmp dword [esp + 0x188], 0x10
mov eax, dword [esp + 0x174]
jae 0x40c92b
lea eax, [esp + 0x174]
push ebx
push eax
push ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x5c]
add esp, 0xc
cmp ebx, eax
mov dword [esp + 0x58], eax
ja 0x40c946
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x88]
push eax
lea ecx, [esp + 0x50]
push 3
push ecx
call sub.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMSecretDownload::EncodeData_class_GameMgr::GMBuffer_unsigned_char__const___enum_GameMgr::GMKeyTypes__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
mov eax, dword [esp + 0x60]
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x4c], vtable.GameMgr::GMBuffer_unsigned_char_.0
je 0x40c97a
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esp + 0x54], ebp
lea ecx, [esp + 0x170]
mov dword [esp + 0x1b8], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
jmp 0x40c9b0
mov dword [esp + 0x1b8], 0xffffffff
lea ecx, [esp + 0x170]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.0040e0e6
add esp, 0x1a8
ret 8