Function at 0x1400a29d0
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 rdi, rdx
mov rsi, 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.Removing_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 [rsi]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
mov ebx, r15d
test rcx, rcx
je 0x1400a2a97
inc ebx
mov rax, qword [rcx + 8]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
test rcx, rcx
jne 0x1400a2a81
lea rdx, str.List_length_:
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], 2
mov rcx, qword [rbp - 0x28]
test cl, 2
jne 0x1400a2b20
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x1400a2b20
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x1400a2b48
test cl, 4
jne 0x1400a2b56
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a2b56
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 0x1400a2baf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2baa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a2ddb
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 + 8]
test rdi, rdi
cmove rcx, r15
mov rax, qword [rsi]
cmp rcx, rax
jne 0x1400a2be6
mov rax, qword [rax]
mov qword [rsi], rax
mov rax, qword [rsi + 8]
cmp rcx, rax
jne 0x1400a2bf7
mov rax, qword [rax + 8]
mov qword [rsi + 8], rax
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400a2c08
mov rax, qword [rdi + 0x10]
mov qword [rcx + 8], rax
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400a2c18
mov rax, qword [rdi + 8]
mov qword [rcx], rax
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 [rsi]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
mov ebx, r15d
test rcx, rcx
je 0x1400a2c76
nop dword [rax]
nop dword [rax + rax]
inc ebx
mov rax, qword [rcx + 8]
lea rcx, [rax - 8]
test rax, rax
cmove rcx, r15
test rcx, rcx
jne 0x1400a2c60
lea rdx, str.List_length_after_removal:
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 0x1400a2cff
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x1400a2cff
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x1400a2d27
test cl, 4
jne 0x1400a2d35
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a2d35
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 0x1400a2d8a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2d85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a2dd5
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, [rsi + 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