Function at 0x10016420
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x120
mov ebx, ecx
mov r8d, ecx
mov rcx, qword [0x1005da98]
lea rdx, str.recv_session_status_msg__state_d.
call fcn.10021af0
mov rcx, qword [0x1005da98]
lea r8, str.SS_IDLE0__SS_LOGIN__SS_HCK__SS_HBD__SS_ONLINE__SS_LOGOUT
lea rdx, [0x1004a3d4]
call fcn.10021af0
cmp ebx, 4
jne 0x100166a6
mov rcx, qword [0x1005da98]
lea rdx, str.recv_session_online_state.
call fcn.10021be0
mov rcx, qword [0x1005db40]
xor eax, eax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x370]
lea r9, [rsp + 0x30]
lea r8d, [rbx + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x374]
mov edx, 0x10108
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x378]
mov rcx, qword [0x1005db30]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x20], 2
call fcn.10006ae0
mov rcx, qword [0x1005da98]
lea rdx, str.notify_UI_svc_group_list.
call fcn.10021be0
mov rcx, qword [0x1005db38]
lea rdx, [rsp + 0xa0]
call fcn.1000dc90
mov rcx, qword [0x1005db30]
mov edx, 0xec
mov r8, rax
call fcn.100066e0
lea rcx, [rsp + 0xa0]
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, qword [0x1005da98]
lea rdx, str.notify_UI_service_list.
call fcn.10021be0
mov rcx, qword [0x1005db38]
lea rdx, [rsp + 0x60]
add rcx, 0xc8
call fcn.1000d410
mov rcx, qword [0x1005db30]
mov edx, 0xd0
mov r8, rax
call fcn.100066e0
lea rcx, [rsp + 0x60]
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, qword [0x1005db38]
lea rdx, [rsp + 0x40]
call fcn.1000fa60
cmp qword [rsp + 0x50], 0
jbe 0x10016592
mov rcx, qword [0x1005db30]
lea r8, [rsp + 0x40]
mov edx, 0xee
call fcn.100066e0
mov rcx, qword [0x1005db38]
lea rdx, [rsp + 0x100]
add rcx, 0xc8
call fcn.1000d410
mov rcx, qword [0x1005db38]
lea rdx, [rsp + 0xc0]
mov rbx, rax
call fcn.1000dc90
lea r8, str._GroupListEnd_
lea rcx, [rsp + 0x80]
mov rdx, rax
call sub.msvcp60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__char_const____ptr64_
lea rcx, [rsp + 0xe0]
mov r8, rbx
mov rdx, rax
call sub.msvcp60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_
mov rcx, qword [0x1005db30]
mov edx, 0xed
mov r8, rax
call fcn.100066e0
lea rcx, [rsp + 0xe0]
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]
lea rcx, [rsp + 0x80]
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]
lea rcx, [rsp + 0xc0]
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]
lea rcx, [rsp + 0x100]
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, qword [0x1005db38]
add rcx, 0xc8
call fcn.1000e260
lea r8, [0x100163b0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov rbx, rax
jne 0x1001668d
mov rcx, qword [0x1005da98]
lea rdx, str.create_sync_all_service_thread_fail
call fcn.10021be0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1001ebd0
lea rcx, [rsp + 0x40]
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]
add rsp, 0x120
pop rbx
ret