Function at 0x1001ffdb
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e6d5
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.100211e0
mov esi, dword [eax + 4]
test esi, esi
jne 0x1001fe60
mov esi, dword [ebx + 0x50]
cmp esi, dword [ebx + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x10020049
mov esi, dword [esi + 0xc]
test esi, esi
je 0x10020049
mov eax, dword [ebp + 0xc]
cmp eax, 0xa
ja case.0x1001fe86.1
jmp dword [eax*4 + 0x1002006c]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001fe92
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x134]
call fcn.10019480
call fcn.10021660
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 0x10020036
push edi
push 0xa
jmp 0x10020031
push edi
push dword [ebp + 0x10]
mov ecx, esi
call fcn.100151b0
mov byte [ebp - 0xd], 1
jmp 0x1002004d
cmp byte [esi], 0
je case.0x1001fe86.1
movsd xmm0, qword [esi + 0x170]
movsd qword [ebp - 0x18], xmm0
call fcn.100277ff
push 0
push 0x2710
push edx
push eax
call fcn.1004b910
mov ecx, eax
call fcn.1004bee0
push 4
movsd xmm3, qword [0x1007b020]
divsd xmm0, qword [0x1007b058]
mov ecx, esi
subsd xmm0, qword [ebp - 0x18]
movaps xmm2, xmm0
call fcn.10016320
mov byte [ebp - 0xd], 1
jmp 0x1002004d
cmp byte [esi], 0
je case.0x1001fe86.1
movsd xmm0, qword [esi + 0x170]
movsd qword [ebp - 0x18], xmm0
call fcn.100277ff
push 0
push 0x2710
push edx
push eax
call fcn.1004b910
mov ecx, eax
call fcn.1004bee0
push 5
jmp 0x1001ff27
cmp byte [esi], 0
je case.0x1001fe86.1
movsd xmm0, qword [esi + 0x170]
movsd qword [ebp - 0x18], xmm0
call fcn.100277ff
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.1004b910
mov ecx, eax
call fcn.1004bee0
movsd xmm3, qword [ebp - 0x20]
push 1
jmp 0x1001ff2f
call fcn.10021660
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 0x10020036
push edi
push 5
jmp 0x10020031
call fcn.10021660
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 0x10020036
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 0x1002004d
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