Function at 0x140016360
Capabilities:
Create thread
Resume thread

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xd8]
sub rsp, 0x1c0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14006f0d0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [0x14004b878]
mov qword [rsp + 0x48], rax
lea rax, [0x14004b880]
mov qword [rsp + 0x58], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x18], rax
mov dword [rsp + 0x30], 1
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140001fe0
nop
mov rax, qword [rsp + 0x48]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x48], rax
mov rax, qword [rsp + 0x48]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x44], edx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x60]
call fcn.140002110
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
mov rax, qword [rsp + 0x48]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x48], rax
mov rax, qword [rsp + 0x48]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x44], edx
mov dword [rbp - 0x28], 0x64
lea rdx, str.ClientMonitor::startMonitor___session_0x
lea rcx, [rsp + 0x58]
call fcn.140001350
mov r8, rax
test rax, rax
jne 0x14001647a
mov ecx, esi
jmp 0x140016484
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, r8
and dword [rcx + 0x18], 0xfffff9ff
or dword [rcx + 0x18], 0x800
mov rdx, rdi
mov rcx, r8
call fcn.1400122b0
mov rbx, rax
test rax, rax
jne 0x1400164aa
mov rcx, rsi
jmp 0x1400164b4
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
and dword [rcx + 0x18], 0xfffff3ff
or dword [rcx + 0x18], 0x200
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140008970
movzx edx, ax
mov rcx, rbx
call fcn.1400083b0
mov rcx, rbx
call fcn.140007dd0
nop
lea rcx, [rbp - 0x18]
call fcn.14000e980
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.14002695c
nop
mov ecx, DispGetParam
call fcn.140027754
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140016535
mov r9, qword [rdi + 0xa8]
mov r8d, dword [rdi + 0x40]
mov rdx, rdi
mov rcx, rax
call fcn.140011d80
mov r14, rax
jmp 0x140016538
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 4
mov r9, r14
lea r8, [0x140013b50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x140016596
lea edx, [rax + 0x18]
mov rcx, r14
call fcn.140027798
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r8d, eax
lea rdx, str.ClientMonitor::startMonitor___CreateThread
lea rcx, [rbp + 0x60]
call fcn.140009520
lea rdx, [0x14006c740]
lea rcx, [rbp + 0x60]
call fcn.14002a780
int3
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140028b40]
mov rcx, rdi
call rbx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x140016605
mov edx, DispGetParam
mov rcx, r14
call fcn.140027798
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140028b40]
mov rcx, rdi
call rbx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea rdx, str.ClientMonitor::startMonitor___ResumeThread
lea rcx, [rbp + 0x48]
call fcn.140002690
lea rdx, [0x14006c4d0]
lea rcx, [rbp + 0x48]
call fcn.14002a780
int3
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140027e60
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret