Function at 0x1400592c0
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 [0x140117280]
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 0x1400593c3
mov eax, dword [rcx + 0x68]
cmp ebp, eax
jge 0x14005932e
mov rax, qword [rcx + 0x70]
test rax, rax
je 0x1400593c3
mov eax, dword [rcx + 0x78]
cmp ebp, eax
jl 0x1400593c3
lea rax, [0x1400f3ac8]
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.14005c4f0
mov eax, dword [rdi + 0x68]
cmp ebp, eax
jl 0x14005937e
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 0x1400593b9
mov eax, dword [rdi + 0x78]
cmp ebp, eax
jl 0x1400593b9
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.140099cb8
mov rcx, rbx
call fcn.14009928c
lea rcx, [rsp + 0x60]
call fcn.140007090
test sil, 4
je 0x140059419
lea rcx, [rdi + 0x80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0xb0]
test rax, rax
je 0x1400593e6
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 0x14005941e
cmp qword [r12], 0xffffffffffffffff
je 0x14005941e
movzx r12d, r15b
jmp 0x140059421
mov rsi, qword [rsp + 0x20]
xor r12b, r12b
test r15b, 1
je 0x140059466
test rsi, rsi
je 0x140059466
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140059466
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x140069c0f.0]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x140059466
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x140069c0f.0]
test r12b, r12b
je 0x140059582
mov eax, dword [rdi + 0x58]
cmp ebp, eax
jl 0x140059577
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 0x1400595a4
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0
mov ecx, 0x60
call fcn.140081f4c
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.140009410
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 0x14005956c
mov rax, qword [rdi + 0x60]
cmp qword [rdi + 0x50], rax
jbe 0x14005956c
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.140007090
mov edx, 0x60
mov rcx, rbx
call fcn.140081f10
mov rax, qword [rdi + 0x60]
cmp qword [rdi + 0x50], rax
ja 0x140059530
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, r14
mov rcx, rdi
call fcn.140057ce0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140081ef0
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.14007ec58
int3