Function at 0x45ad10
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8665
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebx + 8]
xor eax, eax
test byte [ebx + 0xc], 3
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], eax
mov esi, dword [edx]
mov dword [ebp - 0x40], esi
je 0x45ae33
mov eax, dword [edi + 0x38]
lea ecx, [edi + 0x3c]
mov dword [ebp - 0x38], ecx
cmp esi, eax
jge 0x45ad8e
mov eax, dword [ecx]
test eax, eax
je 0x45ae30
mov eax, dword [edi + 0x40]
cmp esi, eax
jl 0x45ae30
jmp 0x45ad91
mov dword [ebp - 0x38], ecx
sub esp, 8
mov ecx, edx
mov eax, esp
mov dword [eax], 0x507f50
mov dword [eax + 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.0045db40
mov eax, dword [edi + 0x38]
cmp esi, eax
jl 0x45adc7
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x45adfc
mov eax, dword [edi + 0x40]
cmp esi, eax
jl 0x45adfc
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
call fcn.004bdf08
push dword [ebp - 0x38]
call fcn.004be256
add esp, 0x14
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x45ae30
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ae26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afe2
push ecx
push edx
call fcn.004a4c93
add esp, 8
mov eax, dword [ebp - 0x34]
test byte [ebx + 0xc], 4
je 0x45ae77
lea esi, [edi + 0x44]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x45ae4e
lock inc dword [eax + 4]
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x60]
push esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x38]
mov eax, 1
test ecx, ecx
je 0x45ae7d
cmp dword [ecx], 0xffffffff
je 0x45ae7d
mov byte [ebp - 0x2d], al
jmp 0x45ae81
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x2d], 0
test al, 1
je 0x45aec6
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x45aec6
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x45aec6
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4ee33c]
mov ecx, dword [ebp - 0x34]
call esi
mov eax, dword [ebp - 0x34]
or ecx, 0xffffffff
lock xadd dword [eax + 8], ecx
jne 0x45aec6
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4ee33c]
mov ecx, dword [ebp - 0x34]
call esi
cmp byte [ebp - 0x2d], 0
je 0x45afc2
mov eax, dword [edi + 0x30]
cmp dword [ebp - 0x40], eax
jl 0x45afb8
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x28]
mov dword [ebp - 4], 0
cmp dword [eax + 4], 0x3333333
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
je 0x45afe7
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 1
push 0x50
mov dword [ebp - 0x48], 0
call fcn.004a4ca1
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], esi
mov ecx, dword [eax]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x24]
movups xmm0, xmmword [eax + 4]
movups xmmword [esi + 0xc], xmm0
movq xmm0, qword [eax + 0x14]
add eax, 0x1c
push eax
movq qword [esi + 0x1c], xmm0
call fcn.00423d50
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x3c]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edx + 0x40]
mov dword [esi + 0x48], eax
mov eax, dword [edx + 0x44]
mov dword [esi + 0x4c], eax
inc dword [edi + 0x2c]
mov eax, dword [ecx + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [ecx + 4], esi
mov dword [eax], esi
mov eax, dword [edi + 0x34]
cmp eax, 0xffffffff
je 0x45afa8
mov eax, dword [edi + 0x34]
cmp dword [edi + 0x2c], eax
jbe 0x45afa8
mov eax, dword [edi + 0x28]
mov edx, dword [eax]
mov ecx, dword [edx]
dec dword [edi + 0x2c]
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.00458c20
mov eax, dword [edi + 0x34]
cmp dword [edi + 0x2c], eax
ja 0x45af86
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x3c]
mov ecx, edi
call fcn.004598e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.004b14ff
push str.list_too_long
call fcn.004a1807
int3