Function at 0x1400ad780
Capabilities:
Resume thread

Disassembly:
mov rcx, qword [rcx + 0x10]
jmp 0x1400ad780
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.140004970
test rax, rax
je 0x1400ad977
call fcn.140004970
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
test al, al
je 0x1400ad977
lea rcx, [0x140132830]
call fcn.1406a99b2
nop
mov rbx, rax
call fcn.140004970
mov rdi, rax
lea rax, [0x14013d738]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x14011e760]
mov qword [rbp - 0x50], rcx
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP120.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x28], r12
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x24], edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP120.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea r15, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x30], r15
mov qword [rbp - 0x68], r14
mov dword [rbp - 0x60], 4
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008b50
mov edx, dword [rsi + 0x28]
mov rcx, rax
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140008260]
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rax
lea rdx, [rbp + 0x18]
call fcn.140005af0
nop
mov r9, qword [rdi]
xor edx, edx
mov r8, rax
mov rcx, rdi
call qword [r9 + 0x28]
nop
cmp qword [rbp + 0x30], 0x10
jb 0x1400ad8dc
mov rcx, qword [rbp + 0x18]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x30], shutdown
mov qword [rbp + 0x28], r14
mov byte [rbp + 0x18], 0
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x28], r12
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x24], edx
mov qword [rsp + 0x30], r15
test byte [rbp - 0x60], 1
je 0x1400ad925
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP120.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rax, qword [rsp + 0x50]
mov qword [rax], r14
mov rax, qword [rsp + 0x70]
mov qword [rax], r14
mov rax, qword [rbp - 0x78]
mov dword [rax], r14d
mov qword [rbp - 0x68], r14
and dword [rbp - 0x60], 0xfffffffe
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP120.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP120.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP120.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret