Function at 0x10008380
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1004b3e0]
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.1002a6a0
mov ecx, dword [0x1004b468]
add esp, 0xc
push 1
call fcn.10006af0
cmp esi, 0xffffffff
jne 0x100084bb
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, 0x1004b478
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 0x10008416
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x1004b478
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.10008010
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, 0x1004b47c
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 0x1000848e
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x1004b47c
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.10008010
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.10006950
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x1004b468]
test byte [edx + 0x7f0], 1
je 0x10008553
mov al, byte [esp + 0xf]
mov edi, 0x1004b480
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 0x1004b480
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.10008010
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x100085ac
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1000853e
cmp al, 0xff
je 0x1000853e
dec al
pop edi
pop esi
mov byte [ecx], al
pop ebx
add esp, 0xa0
ret 4
push ecx
call fcn.1003ed30
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.10008010
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