Function at 0x408ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52a37e
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xac], 1
mov eax, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
mov dword [esp + 0xc], vtable.GameMgr::GMCommand.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 2
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_google::protobuf::MessageLite::ParseFromString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
test al, al
jne 0x408f85
push str.failed
lea ecx, [esp + 0x64]
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__]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xb4], 3
call fcn.00408860
push 0x53c454
lea ecx, [esp + 0x80]
push ecx
call sub.MSVCR80.dll__CxxThrowException
mov ecx, esi
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 eax, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
mov dword [esp + 8], 1
mov dword [esp + 0x30], vtable.GameMgr::GMCommandResult.0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], ebx
lea edx, [esp + 0x30]
push edx
sub esp, 0x24
mov eax, esp
mov dword [esp + 0x80], esp
lea ecx, [esp + 0x34]
push ecx
push eax
mov byte [esp + 0xdc], 4
call fcn.00412e80
mov ecx, dword [esp + 0xdc]
call fcn.00409260
push esi
lea ecx, [esp + 0x34]
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_google::protobuf::MessageLite::SerializeToString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____const]
test al, al
jne 0x409044
push str.failed
lea ecx, [esp + 0x64]
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__]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xb4], 5
call fcn.00408860
push 0x53c454
lea ecx, [esp + 0x80]
push ecx
call sub.MSVCR80.dll__CxxThrowException
lea ecx, [esp + 0x30]
mov byte [esp + 0xac], 2
call fcn.00414060
lea ecx, [esp + 0xc]
mov byte [esp + 0xac], 1
call fcn.00412ef0
lea ecx, [esp + 0xb8]
mov byte [esp + 0xac], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0xa8
ret 0x20