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

Disassembly:
push 0xffffffffffffffff
push 0x42e7e6
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x44901c]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44901c]
xor eax, esp
push eax
lea eax, [esp + 0x1fc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20c]
mov edi, ecx
lea ecx, [edi + 0x64]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], eax
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::constructor_class_GameMgr::GMMutex_const__]
mov dword [esp + 0x204], 0
mov ebp, dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__]
mov ebx, dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__]
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov eax, dword [edi + 0x60]
test eax, eax
mov dword [esp + 0x70], str.DETAIL
mov dword [esp + 0x74], str.ALBUM
mov dword [esp + 0x78], str.DOWNPIC
mov dword [esp + 0x7c], str.DOWNRECOMMEND
mov dword [esp + 0x80], str.START
mov dword [esp + 0x84], str.PCALBUM
mov dword [esp + 0x88], str.FLASHALBUM
mov dword [esp + 0x8c], str.INNERWEB
je 0x413080
lea ecx, [esp + 0x2c]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_]
mov byte [esp + 0x204], 1
mov ecx, dword [edi + 0x5c]
mov edx, dword [ecx]
lea eax, [edi + 0x58]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
nop
mov eax, dword [edi + 0x5c]
lea esi, [edi + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x412966
cmp eax, esi
je 0x412970
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x28]
je 0x412a5d
test eax, eax
jne 0x41298c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 4]
jne 0x41299b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
add eax, 0x10
push eax
lea ecx, [esp + 0xe0]
push ecx
call dword [sym.imp.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 + 0x204], 2
cmp dword [eax + 0x18], 0x10
jb 0x4129c7
mov eax, dword [eax + 4]
jmp 0x4129ca
add eax, 4
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__]
mov esi, eax
mov byte [esp + 0x204], 3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, dword [edx + 4]
jne 0x4129f2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + edx*4 + 0x70]
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x34]
call ebx
push esi
mov ecx, eax
mov byte [esp + 0x208], 4
call ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0x204], 3
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x204], 2
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0x204], 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 + 0x14]
call fcn.00414dc0
jmp 0x412950
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, esi
call fcn.00414830
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [eax], eax
mov esi, dword [esi + 4]
lea ecx, [esp + 0x2c]
mov dword [esi + 8], esi
call dword [sym.imp.K8Common.dll_public_virtual:_unsigned_int___thiscall_GameMgr::GMJsonValue::Size_void_const]
test eax, eax
jbe 0x413068
lea ecx, [esp + 0x5c]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_]
push str.page
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x20c], 5
call ebx
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
mov byte [esp + 0x208], 6
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x204], 5
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x54]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::constructor_void_]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x178]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x20c], 7
call dword [sym.imp.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 + 0x204], 8
cmp dword [esp + 0x18c], 0x10
mov eax, dword [esp + 0x178]
jae 0x412b23
lea eax, [esp + 0x178]
push eax
lea edx, [esp + 0xfc]
push edx
call 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::GMStringConvert::CharToGMString_char_const__]
add esp, 8
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x208], 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 0x42fd3c
lea ecx, [esp + 0x118]
mov byte [esp + 0x208], 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 ecx, [edi + 0x44]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x208], 0xc
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::constructor_class_GameMgr::GMMutex_const__]
push str.dynamic_stat.php
lea ecx, [esp + 0xe0]
mov byte [esp + 0x208], 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, [edi + 0x88]
mov byte [esp + 0x208], 0xe
call fcn.00414e30
add esp, 4
cmp eax, 0xffffffff
lea ecx, [esp + 0xdc]
setne byte [esp + 0x23]
mov byte [esp + 0x204], 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_]
cmp byte [esp + 0x23], 0
je 0x412c18
lea ecx, [esp + 0x4c]
mov byte [esp + 0x204], 0xc
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::destructor_void_]
lea ecx, [esp + 0x114]
mov byte [esp + 0x204], 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 + 0x154]
mov byte [esp + 0x204], 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_]
jmp 0x41301a
lea edx, [edi + 0x98]
push edx
lea ecx, [esp + 0xc0]
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 + 0x204], 0xf
call fcn.0040dc30
push eax
push 0x432260
lea eax, [esp + 0xe4]
push str._s_d
push eax
call 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::GMStringUtils::FormatResult_wchar_t_const__]
add esp, 0x10
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x208], 0x11
call dword [0x42fafc]
lea ecx, [esp + 0xdc]
mov byte [esp + 0x204], 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_]
cmp dword [esp + 0x128], 0
je 0x412cc6
push 0
lea ecx, [esp + 0x118]
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 0x412cb1
push 0x43415c
lea ecx, [esp + 0xc0]
call dword [0x42fb00]
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esp + 0xc0]
call dword [0x42fafc]
push 8
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x204], 0x12
je 0x412cf2
mov ecx, esi
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_]
mov dword [esi], vtable.GameMgr::GMJsonValue.0
jmp 0x412cf4
xor esi, esi
mov byte [esp + 0x204], 0xf
push 0
mov dword [esp + 0x18], esi
call dword [sym.imp.MSVCR80.dll__time64]
mov dword [esp + 0x44], edx
mov edx, dword [esi]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x38]
add esp, 4
mov ecx, esi
call eax
push str.dynamic_stat.php
lea ecx, [esp + 0x38]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__]
mov dword [esp + 0x44], eax
push 0x434160
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov byte [esp + 0x20c], 0x13
call ebx
mov byte [esp + 0x204], 0x14
mov edx, dword [esp + 0x44]
push edx
mov ecx, eax
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x204], 0x13
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x204], 0xf
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_int_]
mov dword [esp + 0x44], eax
push 0x434164
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov byte [esp + 0x20c], 0x15
call ebx
mov byte [esp + 0x204], 0x16
mov edx, dword [esp + 0x44]
push edx
mov ecx, eax
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x204], 0x15
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x204], 0xf
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
push 0xfde9
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0xe4]
push ecx
call dword [sym.imp.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 + 0x204], 0x17
cmp dword [eax + 0x18], 0x10
jb 0x412e09
mov eax, dword [eax + 4]
jmp 0x412e0c
add eax, 4
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__]
mov dword [esp + 0x44], eax
push str.params
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov byte [esp + 0x20c], 0x18
call ebx
mov byte [esp + 0x204], 0x19
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, eax
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x204], 0x18
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x204], 0x17
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0x204], 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 + 0x168], 0
je 0x412f56
push 0xfde9
lea edx, [esp + 0x158]
push edx
lea eax, [esp + 0x140]
push eax
call dword [sym.imp.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 + 0x34]
mov byte [esp + 0x204], 0x1a
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonReader::constructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x204], 0x1b
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_]
push 0
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x210], 0x1c
call dword [sym.imp.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 + 0x28]
push eax
mov ecx, esi
call ebx
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
mov byte [esp + 0x208], 0x1d
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x204], 0x1c
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x204], 0x1b
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x204], 0x1a
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonReader::destructor_void_]
lea ecx, [esp + 0x138]
mov byte [esp + 0x204], 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 + 0x1b4]
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 + 0x204], 0x1e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x1bc]
push 0x434180
push ecx
call dword [sym.imp.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 + 0x14]
call fcn.004241c0
add dword [edi + 0xb4], 1
cmp dword [edi + 0xb4], 5
jb 0x412fae
mov esi, edi
call fcn.004126e0
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x204], 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 + 0xbc]
mov byte [esp + 0x204], 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_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x204], 0xc
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::destructor_void_]
lea ecx, [esp + 0x114]
mov byte [esp + 0x204], 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 + 0x154]
mov byte [esp + 0x204], 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_]
mov ebx, dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x204], 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 + 0x174]
mov byte [esp + 0x204], 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 + 0x54]
mov byte [esp + 0x204], 5
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonWriter::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x204], 1
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x204], 0
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x204], 0xffffffff
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::destructor_void_]
lea edx, [edi + 0x78]
push edx
lea ecx, [esp + 0x48]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::constructor_class_GameMgr::GMMutex_const__]
mov dword [esp + 0x204], 0x1f
cmp dword [edi + 0x74], 0
je 0x413ad9
mov esi, dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_]
lea ecx, [esp + 0x3c]
call esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x204], 0x20
call esi
lea ecx, [esp + 0x154]
mov byte [esp + 0x204], 0x21
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 ecx, [edi + 0x6c]
mov byte [esp + 0x204], 0x22
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, ecx
test eax, eax
mov edx, dword [edi + 0x70]
lea ecx, [edi + 0x6c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x58], edx
je 0x413115
cmp eax, ecx
je 0x41311f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
cmp esi, dword [esp + 0x58]
je 0x41346d
test eax, eax
jne 0x413137
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
cmp esi, dword [eax + 4]
jne 0x413146
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
cmp dword [esi + 8], 0
je 0x413450
cmp esi, dword [eax + 4]
jne 0x41315b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_int_]
mov dword [esp + 0x1c], eax
push str.type
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x20c], 0x23
call ebx
mov byte [esp + 0x204], 0x24
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, eax
call ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0x204], 0x23
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x204], 0x22
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
mov edx, dword [esp + 0x14]
cmp esi, dword [edx + 4]
jne 0x4131cb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0xb0]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_unsigned_int_]
mov dword [esp + 0x1c], eax
push 0x4341e8
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x20c], 0x25
call ebx
mov byte [esp + 0x204], 0x26
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, eax
call ebp
lea ecx, [esp + 0x4c]
mov byte [esp + 0x204], 0x25
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0xac]
mov byte [esp + 0x204], 0x22
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
mov edx, dword [esp + 0x14]
cmp esi, dword [edx + 4]
jne 0x413242
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
add esi, 8
cmp ebx, dword [esi + 8]
jbe 0x413256
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, esi
mov esi, ebx
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edi + 0x70]
lea eax, [edi + 0x6c]
jne 0x413272
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + 8]
mov eax, dword [ebx + 0x10]
add ebx, 8
cmp dword [ebx + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x41328e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test ebp, ebp
je 0x413296
cmp ebp, ebx
je 0x41329c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x1c]
je 0x4133bf
test ebp, ebp
jne 0x4132b0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [ebp + 8]
jb 0x4132bb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
push eax
lea ecx, [esp + 0xfc]
push ecx
call 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::GMStringUtils::ConvertUInt32ToString_unsigned_int_]
push eax
lea edx, [esp + 0x1e4]
push edx
mov byte [esp + 0x214], 0x27
call dword [sym.imp.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 + 0x158]
mov byte [esp + 0x208], 0x28
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 + 0x1d8]
mov byte [esp + 0x204], 0x27
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]
mov byte [esp + 0x204], 0x22
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 [ebp + 8]
jb 0x413331
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x68]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_unsigned_int_]
mov ebx, eax
mov byte [esp + 0x204], 0x29
cmp dword [esp + 0x16c], 0x10
mov eax, dword [esp + 0x158]
jae 0x413361
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x44]
call dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__]
push ebx
mov ecx, eax
mov byte [esp + 0x208], 0x2a
call dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x204], 0x29
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x64]
mov byte [esp + 0x204], 0x22
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
cmp esi, dword [ebp + 8]
jb 0x4133b7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 8
jmp 0x413260
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValue___thiscall_GameMgr::GMJsonValue::Append_class_GameMgr::GMJsonValue_const__]
lea ecx, [esp + 0xbc]
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::Clear_void_]
mov esi, dword [esp + 0x18]
cmp esi, dword [edi + 0x70]
lea eax, [edi + 0x6c]
mov dword [esp + 0x14], eax
jne 0x413403
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [esi + 8]
xor ebx, ebx
cmp ebp, ebx
je 0x41342e
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x41341c
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebp
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x14]
cmp esi, dword [ecx + 4]
jne 0x41343d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__]
mov dword [esi + 8], ebx
mov esi, dword [esp + 0x18]
mov ebx, dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__]
cmp esi, dword [edi + 0x70]
lea eax, [edi + 0x6c]
mov dword [esp + 0x14], eax
jne 0x413466
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
mov esi, dword [esi]
jmp 0x4130ff
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [edi + 0x70]
mov dword [ecx + 4], ecx
cmp eax, dword [edi + 0x70]
mov dword [edi + 0x74], 0
je 0x413498
mov esi, dword [eax]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp esi, dword [edi + 0x70]
mov eax, esi
jne 0x413486
lea ecx, [esp + 0x24]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::constructor_void_]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20c], 0x2b
call dword [sym.imp.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 + 0x204], 0x2c
cmp dword [esp + 0x150], 0x10
mov eax, dword [esp + 0x13c]
jae 0x4134e1
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0xe0]
push ecx
call 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::GMStringConvert::CharToGMString_char_const__]
add esp, 8
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x208], 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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x42fd3c
lea ecx, [esp + 0x178]
mov byte [esp + 0x208], 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__::constructor_wchar_t_const__]
lea eax, [edi + 0x44]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x208], 0x30
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::constructor_class_GameMgr::GMMutex_const__]
push str.pagecount.php
lea ecx, [esp + 0xfc]
mov byte [esp + 0x208], 0x31
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 + 0x208], 0x32
call fcn.00414e30
add esp, 4
cmp eax, 0xffffffff
lea ecx, [esp + 0xf8]
setne byte [esp + 0x23]
mov byte [esp + 0x204], 0x31
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 + 0x23], 0
jne 0x413a24
lea ecx, [edi + 0x98]
push ecx
lea ecx, [esp + 0x118]
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 + 0x204], 0x33
xor esi, esi
lea edx, [esp + 0xbc]
push edx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov byte [esp + 0xc9], 0
mov byte [esp + 0xc8], 0
mov byte [esp + 0xd4], 0
mov byte [esp + 0xd5], 0
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
call fcn.0040d320
test al, al
jne 0x413608
xor eax, eax
jmp 0x413625
cmp byte [esp + 0xc5], 0
je 0x413619
mov eax, 2
jmp 0x413625
xor eax, eax
cmp byte [esp + 0xc4], al
setne al
push eax
push 0x432260
lea eax, [esp + 0x100]
push str._s_d
push eax
call 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::GMStringUtils::FormatResult_wchar_t_const__]
add esp, 0x10
push eax
lea ecx, [esp + 0x118]
mov byte [esp + 0x208], 0x35
call dword [0x42fafc]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x204], 0x33
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 + 0x188], esi
je 0x4136b0
push esi
lea ecx, [esp + 0x178]
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 0x41369b
push 0x43415c
lea ecx, [esp + 0x118]
call dword [0x42fb00]
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0x118]
call dword [0x42fafc]
push 8
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x204], 0x36
je 0x4136dc
mov ecx, esi
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_]
mov dword [esi], vtable.GameMgr::GMJsonValue.0
jmp 0x4136de
xor esi, esi
mov byte [esp + 0x204], 0x33
push 0
mov dword [esp + 0x18], esi
call dword [sym.imp.MSVCR80.dll__time64]
mov dword [esp + 0x34], edx
mov edx, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x38]
add esp, 4
mov ecx, esi
call eax
push str.pagecount.php
lea ecx, [esp + 0x68]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__]
mov dword [esp + 0x1c], eax
push 0x434160
lea ecx, [esp + 0xc0]
push ecx
mov ecx, esi
mov byte [esp + 0x20c], 0x37
call ebx
mov byte [esp + 0x204], 0x38
mov edx, dword [esp + 0x1c]
push edx
mov ecx, eax
call ebp
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 0x37
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x64]
mov byte [esp + 0x204], 0x33
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x68]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_int_]
mov dword [esp + 0x1c], eax
push 0x434164
lea ecx, [esp + 0xc0]
push ecx
mov ecx, esi
mov byte [esp + 0x20c], 0x39
call ebx
mov byte [esp + 0x204], 0x3a
mov edx, dword [esp + 0x1c]
push edx
mov ecx, eax
call ebp
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 0x39
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x64]
mov byte [esp + 0x204], 0x33
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
push 0xfde9
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x100]
push ecx
call dword [sym.imp.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 + 0x204], 0x3b
cmp dword [eax + 0x18], 0x10
jb 0x4137ff
mov eax, dword [eax + 4]
jmp 0x413802
add eax, 4
push eax
lea ecx, [esp + 0x68]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_char_const__]
mov dword [esp + 0x1c], eax
push str.params
lea edx, [esp + 0xc0]
push edx
mov ecx, esi
mov byte [esp + 0x20c], 0x3c
call ebx
mov byte [esp + 0x204], 0x3d
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, eax
call ebp
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 0x3c
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x64]
mov byte [esp + 0x204], 0x3b
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x204], 0x33
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 + 0x1c8], 0
je 0x413958
push 0xfde9
lea edx, [esp + 0x1b8]
push edx
lea eax, [esp + 0x100]
push eax
call dword [sym.imp.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 + 0x54]
mov byte [esp + 0x204], 0x3e
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonReader::constructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x204], 0x3f
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_]
push 0
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x100]
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x210], 0x40
call dword [sym.imp.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 + 0xc0]
push eax
mov ecx, esi
call ebx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
mov byte [esp + 0x208], 0x41
call ebp
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 0x40
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x204], 0x3f
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x204], 0x3e
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonReader::destructor_void_]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x204], 0x33
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 + 0x1d8]
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 + 0x204], 0x42
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x1e0]
push 0x434180
push ecx
call dword [sym.imp.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 [edi + 0x4c]
lea ebx, [edi + 0x48]
add esp, 0x10
test eax, eax
jne 0x41399b
xor edx, edx
jmp 0x4139a3
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x4139c0
mov ecx, dword [ebx + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x4139c0
mov eax, dword [ebx + 8]
mov dword [eax], esi
add eax, 4
mov dword [ebx + 8], eax
jmp 0x4139e3
mov esi, dword [ebx + 8]
cmp eax, esi
jbe 0x4139cd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xc8]
push eax
mov eax, ebx
call fcn.00424220
add dword [edi + 0xb4], 1
cmp dword [edi + 0xb4], 5
jb 0x4139fa
mov esi, edi
call fcn.004126e0
lea ecx, [esp + 0x1d8]
mov byte [esp + 0x204], 0x33
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 + 0x114]
mov byte [esp + 0x204], 0x31
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 + 0x204], 0x30
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::destructor_void_]
lea ecx, [esp + 0x174]
mov byte [esp + 0x204], 0x2f
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 + 0x1b4]
mov byte [esp + 0x204], 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__::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0x204], 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 + 0x138]
mov byte [esp + 0x204], 0x2b
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 + 0x24]
mov byte [esp + 0x204], 0x22
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonWriter::destructor_void_]
lea ecx, [esp + 0x154]
mov byte [esp + 0x204], 0x21
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 byte [esp + 0x204], 0x20
mov esi, dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
lea ecx, [esp + 0x34]
call esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x204], 0x1f
call esi
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
or ebp, 0xffffffff
mov dword [esp + 0x204], ebp
mov ebx, dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::destructor_void_]
lea ecx, [esp + 0x44]
call ebx
lea ecx, [esp + 0x198]
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 ecx, [edi + 0x44]
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x208], 0x43
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::constructor_class_GameMgr::GMMutex_const__]
mov byte [esp + 0x204], 0x44
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x413b2e
mov edx, dword [edi + 0x50]
sub edx, eax
sar edx, 2
jne 0x413b48
lea ecx, [esp + 0x4c]
mov byte [esp + 0x204], 0x43
call ebx
mov dword [esp + 0x204], ebp
jmp 0x413eec
lea ecx, [esp + 0x2c]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x204], 0x45
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::constructor_void_]
mov byte [esp + 0x204], 0x46
xor ebx, ebx
mov edi, edi
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x413ca2
mov eax, dword [edi + 0x50]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x413ca2
push 0x434160
lea ecx, [esp + 0xe0]
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 + 0x204], 0x47
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x413bb8
mov eax, dword [edi + 0x50]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x413bba
call esi
mov eax, dword [edi + 0x4c]
lea ecx, [esp + 0xdc]
lea ebp, [ebx*4]
push ecx
mov ecx, dword [eax + ebp]
add eax, ebp
lea edx, [esp + 0x1dc]
push edx
call dword [sym.imp.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 eax, [esp + 0x13c]
push eax
mov byte [esp + 0x20c], 0x48
call dword [sym.imp.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 + 0x1d8]
mov byte [esp + 0x204], 0x4a
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 byte [esp + 0x204], 0x4b
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 + 0x138]
push ecx
lea esi, [edi + 0x88]
call fcn.00414e30
add esp, 4
cmp eax, 0xffffffff
jne 0x413c7f
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x413c51
mov eax, dword [edi + 0x50]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x413c57
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x4c]
mov edx, dword [eax + ebp]
add eax, ebp
push edx
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValue___thiscall_GameMgr::GMJsonValue::Append_class_GameMgr::GMJsonValue_const__]
lea ecx, [esp + 0xbc]
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
lea ecx, [esp + 0x138]
mov byte [esp + 0x204], 0x46
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 esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebx, 1
jmp 0x413b70
lea ecx, [esp + 0x2c]
call dword [sym.imp.K8Common.dll_public_virtual:_unsigned_int___thiscall_GameMgr::GMJsonValue::Size_void_const]
test eax, eax
jbe 0x413cf2
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x2c]
call dword [sym.imp.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 + 0x19c]
mov byte [esp + 0x208], 0x4c
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 + 0xdc]
mov byte [esp + 0x204], 0x46
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 ebx, ebx
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x413d30
mov eax, dword [edi + 0x50]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x413d30
test ecx, ecx
je 0x413d17
mov eax, dword [edi + 0x50]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x413d19
call esi
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x413d2b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
add ebx, 1
jmp 0x413cf4
mov ebp, dword [edi + 0x50]
cmp ecx, ebp
jbe 0x413d39
call esi
mov ebx, dword [edi + 0x4c]
cmp ebx, dword [edi + 0x50]
jbe 0x413d43
call esi
cmp ebx, ebp
je 0x413d6d
mov eax, dword [edi + 0x50]
sub eax, ebp
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea esi, [ebx + ecx]
jle 0x413d6a
push ecx
push ebp
push ecx
push ebx
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x10
mov dword [edi + 0x50], esi
lea ecx, [esp + 0x24]
mov dword [edi + 0xb4], 0
mov byte [esp + 0x204], 0x45
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonWriter::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x204], 0x44
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x204], 0x43
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutexLock::destructor_void_]
mov eax, dword [esp + 0x1ac]
cmp eax, 3
mov edi, eax
jbe 0x413ee1
xor esi, esi
xor ecx, ecx
cmp eax, esi
mov ebp, vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], esi
mov ebx, eax
je 0x413e47
test eax, eax
jbe 0x413e35
push eax
call fcn.004295f6
mov esi, eax
mov eax, dword [esp + 0xc4]
add esp, 4
test eax, eax
jbe 0x413e21
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x413e35
cmp eax, ebx
jb 0x413e15
mov eax, ebx
push eax
push ecx
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x413e35
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, esi
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], ebx
xor esi, esi
mov byte [esp + 0x204], 0x4d
cmp dword [esp + 0x1b0], 0x10
mov eax, dword [esp + 0x19c]
jae 0x413e67
lea eax, [esp + 0x19c]
push edi
push eax
push ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0xcc]
add esp, 0xc
cmp edi, eax
mov dword [esp + 0xc8], eax
ja 0x413e8b
mov dword [esp + 0xc8], edi
mov ecx, dword [esp + 0x6c]
push ecx
lea edx, [esp + 0xc0]
push 3
push edx
call dword [sym.imp.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 + 0xd0]
add esp, 0xc
cmp eax, esi
mov dword [esp + 0xbc], ebp
je 0x413ec5
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esp + 0xc4], esi
lea ecx, [esp + 0x198]
mov dword [esp + 0x204], 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 0x413efb
mov dword [esp + 0x204], 0xffffffff
lea ecx, [esp + 0x198]
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 + 0x1fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.00429602
add esp, 0x1f4
ret 4