Function at 0x140059550
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 [0x140117240]
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 0x140059653
mov eax, dword [rcx + 0x68]
cmp ebp, eax
jge 0x1400595be
mov rax, qword [rcx + 0x70]
test rax, rax
je 0x140059653
mov eax, dword [rcx + 0x78]
cmp ebp, eax
jl 0x140059653
lea rax, [0x1400f3e7c]
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.14005c6a0
mov eax, dword [rdi + 0x68]
cmp ebp, eax
jl 0x14005960e
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 0x140059649
mov eax, dword [rdi + 0x78]
cmp ebp, eax
jl 0x140059649
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.14009a628
mov rcx, rbx
call fcn.140099bfc
lea rcx, [rsp + 0x60]
call fcn.140007250
test sil, 4
je 0x1400596a9
lea rcx, [rdi + 0x80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0xb0]
test rax, rax
je 0x140059676
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 0x1400596ae
cmp qword [r12], 0xffffffffffffffff
je 0x1400596ae
movzx r12d, r15b
jmp 0x1400596b1
mov rsi, qword [rsp + 0x20]
xor r12b, r12b
test r15b, 1
je 0x1400596f6
test rsi, rsi
je 0x1400596f6
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400596f6
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x14006e76f.0]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x1400596f6
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x14006e76f.0]
test r12b, r12b
je 0x140059812
mov eax, dword [rdi + 0x58]
cmp ebp, eax
jl 0x140059807
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 0x140059834
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0
mov ecx, 0x60
call fcn.140082810
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.140009690
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 0x1400597fc
mov rax, qword [rdi + 0x60]
cmp qword [rdi + 0x50], rax
jbe 0x1400597fc
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.140007250
mov edx, 0x60
mov rcx, rbx
call fcn.1400827d0
mov rax, qword [rdi + 0x60]
cmp qword [rdi + 0x50], rax
ja 0x1400597c0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, r14
mov rcx, rdi
call fcn.140057fa0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400827b0
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.14007f5d8
int3