Function at 0x164f9b000
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 [0x16514b200]
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 0x164f9b103
mov eax, dword [rcx + 0x68]
cmp ebp, eax
jge 0x164f9b06e
mov rax, qword [rcx + 0x70]
test rax, rax
je 0x164f9b103
mov eax, dword [rcx + 0x78]
cmp ebp, eax
jl 0x164f9b103
lea rax, [0x1650c90b8]
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.164f9e160
mov eax, dword [rdi + 0x68]
cmp ebp, eax
jl 0x164f9b0be
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 0x164f9b0f9
mov eax, dword [rdi + 0x78]
cmp ebp, eax
jl 0x164f9b0f9
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.1650224a4
mov rcx, rbx
call fcn.165021df8
lea rcx, [rsp + 0x60]
call fcn.164e48400
test sil, 4
je 0x164f9b159
lea rcx, [rdi + 0x80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0xb0]
test rax, rax
je 0x164f9b126
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 0x164f9b15e
cmp qword [r12], 0xffffffffffffffff
je 0x164f9b15e
movzx r12d, r15b
jmp 0x164f9b161
mov rsi, qword [rsp + 0x20]
xor r12b, r12b
test r15b, 1
je 0x164f9b1a6
test rsi, rsi
je 0x164f9b1a6
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x164f9b1a6
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x164e9d7b8.0]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x164f9b1a6
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x164e9d7b8.0]
test r12b, r12b
je 0x164f9b2c2
mov eax, dword [rdi + 0x58]
cmp ebp, eax
jl 0x164f9b2b7
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 0x164f9b2e4
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0
mov ecx, 0x60
call fcn.165001480
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.164e53fd0
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 0x164f9b2ac
mov rax, qword [rdi + 0x60]
cmp qword [rdi + 0x50], rax
jbe 0x164f9b2ac
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.164e48400
mov edx, 0x60
mov rcx, rbx
call fcn.1650010a0
mov rax, qword [rdi + 0x60]
cmp qword [rdi + 0x50], rax
ja 0x164f9b270
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, r14
mov rcx, rdi
call fcn.164f99a50
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.165001080
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.164ffeab4
int3