Function at 0x140071e20
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 [0x140241cc0]
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 0x140071f23
mov eax, dword [rcx + 0x68]
cmp ebp, eax
jge 0x140071e8e
mov rax, qword [rcx + 0x70]
test rax, rax
je 0x140071f23
mov eax, dword [rcx + 0x78]
cmp ebp, eax
jl 0x140071f23
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.140074f80
mov eax, dword [rdi + 0x68]
cmp ebp, eax
jl 0x140071ede
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 0x140071f19
mov eax, dword [rdi + 0x78]
cmp ebp, eax
jl 0x140071f19
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.140178340
mov rcx, rbx
call fcn.140177bf0
lea rcx, [rsp + 0x60]
call fcn.140021a40
test sil, 4
je 0x140071f79
lea rcx, [rdi + 0x80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0xb0]
test rax, rax
je 0x140071f46
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 0x140071f7e
cmp qword [r12], 0xffffffffffffffff
je 0x140071f7e
movzx r12d, r15b
jmp 0x140071f81
mov rsi, qword [rsp + 0x20]
xor r12b, r12b
test r15b, 1
je 0x140071fc6
test rsi, rsi
je 0x140071fc6
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140071fc6
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x1400cd6b1.0]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x140071fc6
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1400cd6b1.0]
test r12b, r12b
je 0x1400720e2
mov eax, dword [rdi + 0x58]
cmp ebp, eax
jl 0x1400720d7
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 0x140072104
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0
mov ecx, 0x60
call fcn.140144370
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.14002f6f0
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 0x1400720cc
mov rax, qword [rdi + 0x60]
cmp qword [rdi + 0x50], rax
jbe 0x1400720cc
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.140021a40
mov edx, 0x60
mov rcx, rbx
call fcn.140144330
mov rax, qword [rdi + 0x60]
cmp qword [rdi + 0x50], rax
ja 0x140072090
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, r14
mov rcx, rdi
call fcn.140070870
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140144310
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.140141008
int3