Function at 0x1001fad6
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 0x1004dab5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x10085054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 0x14]
lea eax, [esi + 0x30]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
add eax, 4
push eax
mov dword [ebp - 0x40], vtable.AutoLock.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
lea ecx, [esi + 0x4c]
push eax
call fcn.100208e0
mov eax, dword [ebp - 0x18]
mov edx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x18], edx
cmp eax, dword [esi + 0x50]
je 0x1001fb1c
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1001fb1c
mov ecx, dword [ebx + 0xc]
cmp ecx, 0xa
ja case.0x1001f6b7.1
jmp dword [ecx*4 + 0x1001fb4c]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f6c3
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x134]
call fcn.10012970
call fcn.10021370
mov esi, eax
mov dword [ebp - 0x20], vtable.AutoLock.0
mov dword [ebp - 0x1c], esi
lea eax, [esi + 4]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1001fb05
push edi
push 0xa
jmp 0x1001fb00
push edi
push dword [ebx + 0x10]
mov ecx, esi
call fcn.10015290
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x31], 1
jmp 0x1001fb20
cmp byte [esi], 0
je case.0x1001f6b7.1
movsd xmm0, qword [esi + 0x170]
movsd qword [ebp - 0x20], xmm0
call fcn.10026729
push 0
push 0x2710
push edx
push eax
call fcn.10049ea0
mov ecx, eax
call fcn.1004a610
movaps xmm2, xmm0
mov eax, dword [esi + 0x9c]
divsd xmm2, qword [0x1007e108]
movsd xmm1, qword [0x1007e0c8]
movsd xmm0, qword [eax - 8]
subsd xmm2, qword [ebp - 0x20]
movsd xmm3, qword [0x1007e1a0]
subsd xmm0, xmm1
movsd xmm4, qword [0x1007e088]
movsd qword [ebp - 0x28], xmm1
movsd qword [ebp - 0x20], xmm1
movsd qword [ebp - 0x30], xmm2
andps xmm0, xmm3
comisd xmm4, xmm0
jbe 0x1001f7c0
mov eax, dword [esi + 0x54]
movaps xmm0, xmm2
subsd xmm0, qword [eax - 8]
andps xmm0, xmm3
comisd xmm4, xmm0
ja 0x1001fb13
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x50]
cmp eax, dword [ecx + 8]
je 0x1001f7d5
movsd qword [eax], xmm2
add dword [ecx + 4], 8
jmp 0x1001f7e4
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.10019610
movsd xmm1, qword [ebp - 0x28]
mov eax, dword [esi + 0x9c]
cmp eax, dword [esi + 0xa0]
je 0x1001f7ff
movsd qword [eax], xmm1
add dword [esi + 0x9c], 8
jmp 0x1001f814
lea ecx, [ebp - 0x20]
push ecx
push eax
lea ecx, [esi + 0x98]
call fcn.10019610
movsd xmm1, qword [ebp - 0x20]
mov eax, dword [esi + 0xe4]
cmp eax, dword [esi + 0xe8]
je 0x1001f839
movsd qword [eax], xmm1
add dword [esi + 0xe4], 8
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x31], 1
jmp 0x1001fb20
lea ecx, [ebp - 0x20]
push ecx
push eax
lea ecx, [esi + 0xe0]
call fcn.10019610
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x31], 1
jmp 0x1001fb20
cmp byte [esi], 0
je case.0x1001f6b7.1
movsd xmm0, qword [esi + 0x170]
movsd qword [ebp - 0x28], xmm0
call fcn.10026729
push 0
push 0x2710
push edx
push eax
call fcn.10049ea0
mov ecx, eax
call fcn.1004a610
movaps xmm2, xmm0
mov eax, dword [esi + 0xa8]
divsd xmm2, qword [0x1007e108]
movsd xmm1, qword [0x1007e0c8]
movsd xmm0, qword [eax - 8]
subsd xmm2, qword [ebp - 0x28]
movsd xmm3, qword [0x1007e1a0]
subsd xmm0, xmm1
movsd xmm4, qword [0x1007e088]
movsd qword [ebp - 0x30], xmm1
movsd qword [ebp - 0x20], xmm1
movsd qword [ebp - 0x28], xmm2
andps xmm0, xmm3
comisd xmm4, xmm0
jbe 0x1001f8ec
mov eax, dword [esi + 0x60]
movaps xmm0, xmm2
subsd xmm0, qword [eax - 8]
andps xmm0, xmm3
comisd xmm4, xmm0
ja 0x1001fb13
mov eax, dword [esi + 0x60]
lea ecx, [esi + 0x5c]
cmp eax, dword [ecx + 8]
je 0x1001f901
movsd qword [eax], xmm2
add dword [ecx + 4], 8
jmp 0x1001f910
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10019610
movsd xmm1, qword [ebp - 0x30]
mov eax, dword [esi + 0xa8]
cmp eax, dword [esi + 0xac]
je 0x1001f92b
movsd qword [eax], xmm1
add dword [esi + 0xa8], 8
jmp 0x1001f940
lea ecx, [ebp - 0x20]
push ecx
push eax
lea ecx, [esi + 0xa4]
call fcn.10019610
movsd xmm1, qword [ebp - 0x20]
mov eax, dword [esi + 0xf0]
cmp eax, dword [esi + 0xf4]
je 0x1001f965
movsd qword [eax], xmm1
add dword [esi + 0xf0], 8
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x31], 1
jmp 0x1001fb20
lea ecx, [ebp - 0x20]
push ecx
push eax
lea ecx, [esi + 0xec]
call fcn.10019610
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x31], 1
jmp 0x1001fb20
cmp byte [esi], 0
je case.0x1001f6b7.1
movsd xmm0, qword [esi + 0x170]
movsd qword [ebp - 0x28], xmm0
call fcn.10026729
push 0
push 0x2710
push edx
push eax
call fcn.10049ea0
mov ecx, eax
call fcn.1004a610
movaps xmm2, xmm0
mov eax, dword [ebx + 0x10]
divsd xmm2, qword [0x1007e108]
movsd xmm3, qword [0x1007e1a0]
subsd xmm2, qword [ebp - 0x28]
movsd xmm4, qword [0x1007e088]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
movsd qword [ebp - 0x28], xmm2
addsd xmm1, qword [eax*8 + 0x1007e190]
mov eax, dword [esi + 0x78]
movsd xmm0, qword [eax - 8]
subsd xmm0, xmm1
movsd qword [ebp - 0x30], xmm1
movsd qword [ebp - 0x20], xmm1
andps xmm0, xmm3
comisd xmm4, xmm0
jbe 0x1001fa24
mov eax, dword [esi + 0x30]
movaps xmm0, xmm2
subsd xmm0, qword [eax - 8]
andps xmm0, xmm3
comisd xmm4, xmm0
ja 0x1001fb13
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x2c]
cmp eax, dword [ecx + 8]
je 0x1001fa39
movsd qword [eax], xmm2
add dword [ecx + 4], 8
jmp 0x1001fa48
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10019610
movsd xmm1, qword [ebp - 0x30]
mov eax, dword [esi + 0x78]
cmp eax, dword [esi + 0x7c]
je 0x1001fa5a
movsd qword [eax], xmm1
add dword [esi + 0x78], 8
jmp 0x1001fa6c
lea ecx, [ebp - 0x20]
push ecx
push eax
lea ecx, [esi + 0x74]
call fcn.10019610
movsd xmm1, qword [ebp - 0x20]
mov eax, dword [esi + 0xc0]
cmp eax, dword [esi + 0xc4]
je 0x1001fa91
movsd qword [eax], xmm1
add dword [esi + 0xc0], 8
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x31], 1
jmp 0x1001fb20
lea ecx, [ebp - 0x20]
push ecx
push eax
lea ecx, [esi + 0xbc]
call fcn.10019610
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x31], 1
jmp 0x1001fb20
call fcn.10021370
mov esi, eax
mov dword [ebp - 0x28], vtable.AutoLock.0
mov dword [ebp - 0x24], esi
lea eax, [esi + 4]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1001fb05
push edi
push 5
jmp 0x1001fb00
call fcn.10021370
mov esi, eax
mov dword [ebp - 0x28], vtable.AutoLock.0
mov dword [ebp - 0x24], esi
lea eax, [esi + 4]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1001fb05
push edi
push 8
push dword [ebx + 8]
call eax
lea eax, [esi + 4]
push eax
call dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x31], 1
jmp 0x1001fb20
mov byte [ebp - 0x31], 0
mov ecx, dword [ebp - 0x38]
add ecx, 4
push ecx
call edx
mov al, byte [ebp - 0x31]
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.10026d99
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10