Function at 0x1400a2090
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
add rcx, 0x10
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x50]
call fcn.140132a80
lea edx, [r15 + 3]
lea r8d, [r15 + 1]
lea rcx, [rsp + 0x50]
call fcn.140005bf0
nop
lea rdx, str.Inserting_counter...
lea rcx, [rsp + 0x60]
call fcn.14001b6d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140008380
movzx edx, ax
mov rcx, rbx
call fcn.1400145a0
mov rcx, rbx
call fcn.140009ce0
mov rax, qword [rdi]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
mov ebx, r15d
test rcx, rcx
je 0x1400a2157
inc ebx
mov rax, qword [rcx + 8]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
test rcx, rcx
jne 0x1400a2141
lea rdx, str.List_length:
lea rcx, [rsp + 0x60]
call fcn.14001b6d0
mov rcx, rax
mov edx, ebx
call fcn.1400a1c70
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140008380
movzx edx, ax
mov rcx, rbx
call fcn.1400145a0
mov rcx, rbx
call fcn.140009ce0
nop
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
mov dword [rsp + 0x20], 2
mov rcx, qword [rbp - 0x28]
test cl, 2
jne 0x1400a21e0
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x1400a21e0
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x1400a2208
test cl, 4
jne 0x1400a2216
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a2216
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x28]
call fcn.140007240
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400a226f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a226a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a248e
call fcn.14013ff64
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
lea rcx, [rsp + 0x50]
call fcn.140005020
mov rax, qword [rdi + 8]
lea rcx, [rsi + 8]
test rax, rax
je 0x1400a22be
test rsi, rsi
cmove rcx, r15
mov qword [rax], rcx
mov rax, qword [rdi + 8]
lea rdx, [rax - 8]
test rax, rax
cmove rdx, r15
test rdx, rdx
je 0x1400a22c8
add rdx, 8
jmp 0x1400a22cb
test rsi, rsi
cmove rcx, r15
mov qword [rdi], rcx
mov rdx, r15
mov qword [rsi + 0x10], rdx
mov qword [rsi + 8], r15
mov qword [rdi + 8], rcx
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x50]
call fcn.140132a80
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rsp + 0x50]
call fcn.140005bf0
nop
mov rax, qword [rdi]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
mov ebx, r15d
test rcx, rcx
je 0x1400a2329
inc ebx
mov rax, qword [rcx + 8]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
test rcx, rcx
jne 0x1400a2313
lea rdx, str.List_length_after_insertion:
lea rcx, [rsp + 0x60]
call fcn.1400085f0
mov rcx, rax
mov edx, ebx
call fcn.1400a1c70
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140008380
movzx edx, ax
mov rcx, rbx
call fcn.1400145a0
mov rcx, rbx
call fcn.140009ce0
nop
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
mov dword [rsp + 0x20], 9
mov rcx, qword [rbp - 0x28]
test cl, 2
jne 0x1400a23b2
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x1400a23b2
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x1400a23da
test cl, 4
jne 0x1400a23e8
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a23e8
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x28]
call fcn.140007240
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400a243d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2438
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a2488
call fcn.14013ff64
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
lea rcx, [rsp + 0x50]
call fcn.140005020
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140140100
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400e0284
nop
call fcn.1400e0284
int3