Function at 0x10009710
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10056984]
sub esp, 0xa0
push ebx
push esi
mov esi, dword [esp + 0xac]
push edi
push esi
push str._fire_logout_event_to_ui:_msgid_d
mov ebx, ecx
push eax
call fcn.10028ea0
mov ecx, dword [0x10056a0c]
add esp, 0xc
push 1
call fcn.10007e40
cmp esi, 0xffffffff
jne 0x1000984b
mov cl, byte [esp + 0xf]
push ebp
mov byte [esp + 0x14], cl
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x10056a1c
or ecx, esi
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x100097a6
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x10056a1c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
push 0xdb
call fcn.100093a0
push 1
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x10056a20
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x1000981e
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x10056a20
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x14]
push ecx
push 0xca
mov ecx, ebx
call fcn.100093a0
push 1
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, ebx
call fcn.10007ca0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x10056a0c]
test byte [edx + 0x7f0], 1
je 0x100098e3
mov al, byte [esp + 0xf]
mov edi, 0x10056a24
mov byte [esp + 0x10], al
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], esi
push ecx
push 0x10056a24
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0x10]
push ecx
push 0xca
mov ecx, ebx
call fcn.100093a0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x1000993c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100098ce
cmp al, 0xff
je 0x100098ce
dec al
pop edi
pop esi
mov byte [ecx], al
pop ebx
add esp, 0xa0
ret 4
push ecx
call fcn.10047cb0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 4
push 1
push 3
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push 0xca
call fcn.100093a0
push 1
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 4