Function at 0x10fc8c0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
fld qword [0x101c0e8]
push esi
mov esi, dword [ebp + 8]
fld qword [0x101c0e0]
mov eax, dword [esi + 0x25fd8]
mov ecx, dword [esi + 0x25fdc]
mov edx, dword [esi + 0x25fd0]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x25fd4]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
test eax, eax
je 0x10fc92a
mov dword [ebp + 8], eax
fild dword [ebp + 8]
jge 0x10fc915
fadd qword [0x100b838]
fmul st(2)
fmul st(1)
call fcn.0117932f
mov dword [esi + 0x25fd8], eax
mov dword [esi + 0x25fdc], edx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
cmp eax, ecx
ja 0x10fc936
mov eax, ecx
mov dword [edi + 0x10], eax
test eax, eax
je 0x10fc962
mov dword [ebp + 8], eax
fild dword [ebp + 8]
jge 0x10fc94b
fadd qword [0x100b838]
fmulp st(2)
fmulp st(1)
call fcn.0117932f
mov dword [esi + 0x25fd0], eax
mov dword [esi + 0x25fd4], edx
jmp 0x10fc966
fstp st(1)
fstp st(0)
mov eax, dword [esi + 0x25fd8]
mov ecx, dword [esi + 0x25fdc]
cmp eax, dword [ebp - 8]
jne 0x10fc9f3
cmp ecx, dword [ebp - 4]
jne 0x10fc9f3
mov edx, dword [esi + 0x25fd0]
mov edi, dword [esi + 0x25fd4]
cmp edx, dword [ebp - 0x10]
jne 0x10fc9f3
cmp edi, dword [ebp - 0xc]
jne 0x10fc9f3
or eax, ecx
jne 0x10fca25
or edx, edi
jne 0x10fca25
push 1
lea ecx, [esi + 0x29114]
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x10fca25
mov edx, dword [esi + 8]
push 0x13
push edx
call fcn.010d74f0
shl eax, 0x14
mov dword [esi + 0x25fd8], eax
mov eax, dword [esi + 8]
push 0x14
push eax
mov dword [esi + 0x25fdc], 0
call fcn.010d74f0
shl eax, 0x14
mov dword [esi + 0x25fd0], eax
mov dword [esi + 0x25fd4], 0
jmp 0x10fca25
shrd eax, ecx, 0x14
push eax
shr ecx, 0x14
mov ecx, dword [esi + 8]
push 0x13
push ecx
call fcn.010d7570
mov edx, dword [esi + 0x25fd0]
mov eax, dword [esi + 0x25fd4]
mov ecx, dword [esi + 8]
shrd edx, eax, 0x14
push edx
push 0x14
push ecx
shr eax, 0x14
call fcn.010d7570
mov eax, 0x32
cmp dword [esi + 0x25fd4], eax
jb 0x10fca51
ja 0x10fca3d
cmp dword [esi + 0x25fd0], 0
jbe 0x10fca51
mov dword [esi + 0x25fd0], 0
mov dword [esi + 0x25fd4], 0
cmp dword [esi + 0x25fdc], eax
jb 0x10fca78
ja 0x10fca64
cmp dword [esi + 0x25fd8], 0
jbe 0x10fca78
mov dword [esi + 0x25fd8], 0
mov dword [esi + 0x25fdc], 0
mov edx, dword [esi + 0x25fd8]
mov edi, dword [esi + 0x25fdc]
mov eax, edx
or eax, edi
je 0x10fcaff
mov ecx, dword [esi + 0x25fd0]
mov eax, dword [esi + 0x25fd4]
mov dword [ebp - 0x18], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
and ecx, 0x80000000
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
fild qword [ebp - 0x18]
mov eax, edi
mov ecx, edi
mov dword [ebp - 0x18], edx
fchs
and eax, 0x7fffffff
faddp st(1)
mov dword [ebp - 0x14], eax
and ecx, 0x80000000
fmul qword [0x100f0b0]
fild qword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
fild qword [ebp - 0x18]
fchs
faddp st(1)
fdivp st(1)
fadd qword [0x100f110]
call fcn.011793a9
mov dword [esi + 0x25fc8], eax
cmp dword [esi + 0x240e4], 0
je 0x10fcba5
lea edi, [esi + 0x24908]
test edi, edi
je 0x10fcba5
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esi + 0x25fa8], 0
je 0x10fcb9a
mov eax, dword [esi + 0x240e4]
test eax, eax
je 0x10fcb9a
cmp dword [eax + 0xfc], 0
jne 0x10fcb9a
mov eax, dword [eax + 0x88]
cmp dword [eax + 0x20], 0x1c
jne 0x10fcb9a
cmp dword [eax + 0x24], 0
jne 0x10fcb9a
mov ecx, 1
cmp dword [eax + 0x28], ecx
jne 0x10fcb9a
mov edx, dword [esi + 0x25fd8]
cmp edx, dword [ebp - 8]
jne 0x10fcb8e
mov eax, dword [esi + 0x25fdc]
cmp eax, dword [ebp - 4]
jne 0x10fcb8e
mov edx, dword [esi + 0x25fd0]
cmp edx, dword [ebp - 0x10]
jne 0x10fcb8e
mov eax, dword [esi + 0x25fd4]
cmp eax, dword [ebp - 0xc]
jne 0x10fcb8e
cmp dword [esi + 0x25fe0], 0
jne 0x10fcb9a
push esi
mov dword [esi + 0x25fe0], ecx
call fcn.010a3f10
test edi, edi
je 0x10fcba5
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xc], 0
je 0x10fcbf4
push 1
lea edx, [esi + 0x25fe8]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x10fcbf4
mov eax, dword [esi + 8]
mov edi, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
push 0
push esi
push 0x10de990
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10fcbe9
mov edx, dword [edi + 0x1c0]
push eax
call edx
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8