Function at 0x1001ff2d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e855
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10083080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x14]
lea eax, [ebx + 0x30]
lea ecx, [eax + 4]
mov dword [ebp - 0x28], eax
add eax, 4
mov dword [ebp - 0x2c], vtable.AutoLock.0
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [ebx + 0x4c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10021300
mov esi, dword [eax + 4]
test esi, esi
jne 0x1001ff00
mov esi, dword [ebx + 0x50]
cmp esi, dword [ebx + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x100200e9
mov esi, dword [esi + 0xc]
test esi, esi
je 0x100200e9
mov eax, dword [ebp + 0xc]
cmp eax, 0xa
ja case.0x1001ff26.1
jmp dword [eax*4 + 0x1002010c]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ff32
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x134]
call fcn.10019500
call fcn.10021780
mov esi, eax
mov dword [ebp - 0x18], vtable.AutoLock.0
mov dword [ebp - 0x14], 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 0x100200d6
push edi
push 0xa
jmp 0x100200d1
push edi
push dword [ebp + 0x10]
mov ecx, esi
call fcn.10015220
mov byte [ebp - 0xd], 1
jmp 0x100200ed
cmp byte [esi], 0
je case.0x1001ff26.1
movsd xmm0, qword [esi + 0x170]
movsd qword [ebp - 0x18], xmm0
call fcn.1002795f
push 0
push 0x2710
push edx
push eax
call fcn.1004baa0
mov ecx, eax
call fcn.1004c070
push 4
movsd xmm3, qword [0x1007b020]
divsd xmm0, qword [0x1007b058]
mov ecx, esi
subsd xmm0, qword [ebp - 0x18]
movaps xmm2, xmm0
call fcn.10016390
mov byte [ebp - 0xd], 1
jmp 0x100200ed
cmp byte [esi], 0
je case.0x1001ff26.1
movsd xmm0, qword [esi + 0x170]
movsd qword [ebp - 0x18], xmm0
call fcn.1002795f
push 0
push 0x2710
push edx
push eax
call fcn.1004baa0
mov ecx, eax
call fcn.1004c070
push 5
jmp 0x1001ffc7
cmp byte [esi], 0
je case.0x1001ff26.1
movsd xmm0, qword [esi + 0x170]
movsd qword [ebp - 0x18], xmm0
call fcn.1002795f
mov ecx, dword [ebp + 0x10]
push 0
push 0x2710
push edx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
push eax
addsd xmm0, qword [ecx*8 + 0x1007b0e0]
movsd qword [ebp - 0x20], xmm0
call fcn.1004baa0
mov ecx, eax
call fcn.1004c070
movsd xmm3, qword [ebp - 0x20]
push 1
jmp 0x1001ffcf
call fcn.10021780
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], 2
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100200d6
push edi
push 5
jmp 0x100200d1
call fcn.10021780
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], 3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100200d6
push edi
push 8
push dword [ebp + 8]
call eax
lea eax, [esi + 4]
push eax
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 0xd], 1
jmp 0x100200ed
mov byte [ebp - 0xd], 0
push dword [ebp - 0x24]
call ebx
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10