Function at 0x409bd0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x40be08
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x41901c]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41901c]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov esi, ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], eax
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::constructor_void_]
mov dword [esp + 0xa0], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonValue::constructor_unsigned_int_]
push eax
lea ecx, [esp + 0x1c]
call edi
mov ebx, eax
push 0x40f7bc
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 1
mov ebp, dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef___thiscall_GameMgr::GMJsonValue::operator___char_const__]
push ecx
mov ecx, esi
call ebp
mov byte [esp + 0xa0], 2
push ebx
mov ebx, dword [sym.imp.K8Common.dll_public:_class_GameMgr::GMJsonValueRetRef____thiscall_GameMgr::GMJsonValueRetRef::operator_class_GameMgr::GMJsonValue_const__]
mov ecx, eax
call ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa0], 1
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x26c]
push eax
lea ecx, [esp + 0x24]
call edi
mov dword [esp + 0x2c], eax
push 0x40f7c0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 3
call ebp
mov byte [esp + 0xa0], 4
mov edx, dword [esp + 0x2c]
push edx
mov ecx, eax
call ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 3
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 0
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x268]
push ecx
lea ecx, [esp + 0x1c]
call edi
mov dword [esp + 0x2c], eax
push str.ptype
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0xa8], 5
call ebp
mov byte [esp + 0xa0], 6
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, eax
call ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 5
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x18]
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
push str.hwnd
mov ecx, esi
call eax
test al, al
jne 0x409dc1
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x268]
push edx
lea ecx, [esp + 0x1c]
call edi
mov edi, eax
push str.hwnd
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 7
call ebp
push edi
mov ecx, eax
mov byte [esp + 0xa4], 8
call ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 7
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValueRetRef::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 0
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_GameMgr::GMJsonValue::destructor_void_]
push esi
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x3c]
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 bl, 9
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x7c]
mov ebp, 0x10
cmp dword [esp + 0x90], ebp
jae 0x409df0
lea eax, [esp + 0x7c]
push eax
lea edx, [esp + 0x60]
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::Utf8ToGMString_char_const__]
add esp, 8
mov edi, 8
mov byte [esp + 0xa0], 0xa
cmp dword [eax + 0x18], edi
jb 0x409e16
mov eax, dword [eax + 4]
jmp 0x409e19
add eax, 4
mov esi, dword [esp + 0xac]
push eax
push esi
lea eax, [esp + 0x44]
push str.GMCoreWebMsgWnd::CallParentProcess__d__s
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
cmp dword [eax + 0x18], edi
jb 0x409e3f
mov eax, dword [eax + 4]
jmp 0x409e42
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x3c]
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 + 0x5c]
mov byte [esp + 0xa0], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [esp + 0x54], ebp
mov dword [esp + 0x20], esi
jb 0x409e87
mov edx, dword [esp + 0x40]
mov dword [esp + 0x28], edx
jmp 0x409e8f
lea eax, [esp + 0x40]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
add ecx, 1
push 0x22c1
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x248]
push 0x4a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x3c]
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 + 0x78]
mov byte [esp + 0xa0], 0
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 + 0x34]
mov dword [esp + 0xa0], 0xffffffff
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMJsonWriter::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0040af16
add esp, 0x90
ret 8