Function at 0x14006d5d0
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
mov r14, rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov ebp, dword [rdx]
mov esi, r8d
test sil, 3
je 0x14006d6d3
mov eax, dword [rcx + 0x68]
cmp ebp, eax
jge 0x14006d63e
mov rax, qword [rcx + 0x70]
test rax, rax
je 0x14006d6d3
mov eax, dword [rcx + 0x78]
cmp ebp, eax
jl 0x14006d6d3
lea rax, reloc.WS2_32.dll_ioctlsocket
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140070860
mov eax, dword [rdi + 0x68]
cmp ebp, eax
jl 0x14006d68e
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rbx, qword [rdi + 0x70]
test rbx, rbx
je 0x14006d6c9
mov eax, dword [rdi + 0x78]
cmp ebp, eax
jl 0x14006d6c9
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
mov r9, rbx
mov r8, qword [rsp + 0x70]
mov edx, 1
call fcn.140153d80
mov rcx, rbx
call fcn.140153630
lea rcx, [rsp + 0x60]
call fcn.140023540
test sil, 4
je 0x14006d729
lea rcx, [rdi + 0x80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0xb0]
test rax, rax
je 0x14006d6f6
lock inc dword [rax + 8]
mov r12, qword [rdi + 0xa8]
mov rsi, qword [rdi + 0xb0]
lea rcx, [rdi + 0x80]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r15d, 1
test r12, r12
je 0x14006d72e
cmp qword [r12], 0xffffffffffffffff
je 0x14006d72e
movzx r12d, r15b
jmp 0x14006d731
mov rsi, qword [rsp + 0x20]
xor r12b, r12b
test r15b, 1
je 0x14006d776
test rsi, rsi
je 0x14006d776
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14006d776
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x1400cc851.0]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x14006d776
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1400cc851.0]
test r12b, r12b
je 0x14006d892
mov eax, dword [rdi + 0x58]
cmp ebp, eax
jl 0x14006d887
lea rcx, [rdi + 0x20]
mov qword [rsp + 0x20], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rsi, [rdi + 0x48]
mov rbp, qword [rsi]
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [rsi + 8], rax
je 0x14006d8b4
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0
mov ecx, 0x60
call fcn.14013365c
mov rbx, rax
mov qword [rsp + 0x48], rax
mov ecx, dword [r14]
mov dword [rax + 0x10], ecx
movups xmm0, xmmword [r14 + 4]
movups xmmword [rax + 0x14], xmm0
movsd xmm1, qword [r14 + 0x14]
movsd qword [rax + 0x24], xmm1
lea rcx, [rax + 0x30]
lea rdx, [r14 + 0x20]
call fcn.14002f050
mov rax, qword [r14 + 0x40]
mov qword [rbx + 0x50], rax
mov eax, dword [r14 + 0x48]
mov dword [rbx + 0x58], eax
mov eax, dword [r14 + 0x4c]
mov dword [rbx + 0x5c], eax
inc qword [rsi + 8]
mov rax, qword [rbp + 8]
mov qword [rbx], rbp
mov qword [rbx + 8], rax
mov qword [rbp + 8], rbx
mov qword [rax], rbx
mov rax, qword [rdi + 0x60]
cmp rax, 0xffffffffffffffff
je 0x14006d87c
mov rax, qword [rdi + 0x60]
cmp qword [rdi + 0x50], rax
jbe 0x14006d87c
nop dword [rax]
mov rax, qword [rsi]
mov rbx, qword [rax]
mov rdx, qword [rbx]
dec qword [rsi + 8]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
lea rcx, [rbx + 0x30]
call fcn.140023540
mov edx, 0x60
mov rcx, rbx
call fcn.140133620
mov rax, qword [rdi + 0x60]
cmp qword [rdi + 0x50], rax
ja 0x14006d840
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, r14
mov rcx, rdi
call fcn.14006bff0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140133600
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.list_too_long
call fcn.140130228
int3