Function at 0x140039c70
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov rax, qword [0x140225e48]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
add rcx, 0x10
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea r13, [0x140000000]
lea rax, [r13 + 0x1b6df0]
mov qword [rsp + 0x40], rax
lea rax, [r13 + 0x1b6df8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 1
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x2c], 0x80
mov qword [rsp + 0x48], r15
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.1400158d0
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x4c], edx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x40]
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 + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x3c], edx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x58]
call fcn.140015820
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x38], r15d
lea rdx, str.Inserting_counter...
lea rcx, [rsp + 0x50]
call fcn.140015ba0
mov rcx, rax
call fcn.140037180
mov rax, qword [rsi]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
mov ebx, r15d
test rcx, rcx
je 0x140039e06
nop dword [rax]
inc ebx
mov rax, qword [rcx + 8]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
test rcx, rcx
jne 0x140039df0
lea rdx, str.List_length:
lea rcx, [rsp + 0x50]
call fcn.140015ba0
mov rcx, rax
mov edx, ebx
call fcn.140037800
mov rcx, rax
call fcn.140037180
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.14003a590
lea rcx, [rbp + 0x140]
cmp qword [rbp + 0x158], 8
cmovae rcx, qword [rbp + 0x140]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov r8, qword [rbp + 0x158]
cmp r8, 8
jb 0x140039e7a
inc r8
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.14000c3a0
mov qword [rbp + 0x150], r15
mov qword [rbp + 0x158], 7
mov word [rbp + 0x140], r15w
lea rcx, [rbp - 0x28]
call fcn.1400376b0
nop
lea r12, vtable.std::ios_base.0
mov qword [rbp - 0x28], r12
lea rcx, [rbp - 0x28]
call fcn.1400ee000
nop
mov rcx, qword [rsi + 8]
lea rax, [rdi + 8]
test rcx, rcx
je 0x140039eea
test rdi, rdi
cmove rax, r15
mov qword [rcx], rax
mov rax, qword [rsi + 8]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
lea rax, [rcx + 8]
test rcx, rcx
cmove rax, r15
mov qword [rdi + 0x10], rax
jmp 0x140039ef8
test rdi, rdi
cmove rax, r15
mov qword [rsi], rax
mov qword [rdi + 0x10], r15
lea rax, [rdi + 8]
mov qword [rax], r15
test rdi, rdi
cmove rax, r15
mov qword [rsi + 8], rax
lea rax, [r13 + 0x1b6df0]
mov qword [rbp + 0x40], rax
lea rax, [r13 + 0x1b6df8]
mov qword [rbp + 0x50], rax
mov dword [rsp + 0x20], 0x11
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0xd8], rax
mov dword [rbp + 0xd4], 0x80
mov qword [rbp + 0x48], r15
xor r8d, r8d
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0xd8]
call fcn.1400158d0
nop
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x4c], edx
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x3c], edx
mov rax, qword [rbp + 0x40]
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 [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x3c], edx
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x58]
call fcn.140015820
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x58], rax
mov qword [rbp + 0xc0], r15
mov dword [rbp + 0xc8], r15d
mov rcx, qword [rsi]
lea rax, [rcx - 8]
test rcx, rcx
cmove rax, r15
mov ebx, r15d
test rax, rax
je 0x14003a026
nop
inc ebx
mov rcx, qword [rax + 8]
lea rax, [rcx - 8]
test rcx, rcx
cmove rax, r15
test rax, rax
jne 0x14003a010
lea rdx, str.List_length_after_insertion:
lea rcx, [rbp + 0x50]
call fcn.140036dc0
mov rcx, rax
mov edx, ebx
call fcn.140037800
mov rcx, rax
call fcn.140037180
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x40]
call fcn.14003a590
lea rcx, [rbp + 0x140]
cmp qword [rbp + 0x158], 8
cmovae rcx, qword [rbp + 0x140]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov r8, qword [rbp + 0x158]
cmp r8, 8
jb 0x14003a098
inc r8
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.14000c3a0
mov qword [rbp + 0x150], r15
mov qword [rbp + 0x158], 7
mov word [rbp + 0x140], r15w
lea rcx, [rbp + 0xd8]
call fcn.1400376b0
nop
mov qword [rbp + 0xd8], r12
lea rcx, [rbp + 0xd8]
call fcn.1400ee000
nop
lea rcx, [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400eb3e0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret