Function at 0x10005d70
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0x148
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rbx, rcx
mov rcx, qword [0x10050988]
mov edi, edx
mov r8d, edx
lea rdx, str._fire_logout_event_to_ui:_msgid_d
call fcn.1001ebe0
mov rcx, qword [0x10050a20]
mov dl, 1
call fcn.10005720
cmp edi, 0xffffffff
jne 0x10005e60
xor eax, eax
lea r8, [rsp + 0x158]
lea rdx, [0x1003f2d3]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x158], al
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
mov r11, qword [0x10050a20]
test byte [r11 + 0x9d8], 1
jne 0x10005dfe
lea rcx, [rbx + 0xa8]
lea r8, [rsp + 0x20]
mov edx, 0xdb
call fcn.100059a0
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
xor r11d, r11d
lea r8, [rsp + 0x158]
lea rdx, [0x1003f2d4]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x158], r11b
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
lea rcx, [rbx + 0xa8]
lea r8, [rsp + 0x20]
mov edx, 0xca
call fcn.100059a0
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov rcx, rbx
call fcn.10005510
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [0x10050a20]
test byte [rax + 0x9d8], 1
je 0x10005e95
xor eax, eax
lea r8, [rsp + 0x158]
lea rdx, [0x1003f2d5]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x158], al
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
jmp 0x10005ed1
mov edx, 3
lea rcx, [rsp + 0x40]
lea r8d, [rdx - 2]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int____ptr64]
lea rcx, [rsp + 0x50]
mov edx, edi
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void____ptr64]
lea r8, [rsp + 0x20]
lea rcx, [rbx + 0xa8]
mov edx, 0xca
call fcn.100059a0
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov rdi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x160]
add rsp, 0x148
ret