Function at 0x1103ed0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
fld qword [0x101d018]
push esi
mov esi, dword [ebp + 8]
fld qword [0x101d010]
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 0x1103f3a
mov dword [ebp + 8], eax
fild dword [ebp + 8]
jge 0x1103f25
fadd qword [0x100c0c0]
fmul st(2)
fmul st(1)
call fcn.0119560f
mov dword [esi + 0x25fd8], eax
mov dword [esi + 0x25fdc], edx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
cmp eax, ecx
ja 0x1103f46
mov eax, ecx
mov dword [edi + 0x10], eax
test eax, eax
je 0x1103f72
mov dword [ebp + 8], eax
fild dword [ebp + 8]
jge 0x1103f5b
fadd qword [0x100c0c0]
fmulp st(2)
fmulp st(1)
call fcn.0119560f
mov dword [esi + 0x25fd0], eax
mov dword [esi + 0x25fd4], edx
jmp 0x1103f76
fstp st(1)
fstp st(0)
mov eax, dword [esi + 0x25fd8]
mov ecx, dword [esi + 0x25fdc]
cmp eax, dword [ebp - 8]
jne 0x1104003
cmp ecx, dword [ebp - 4]
jne 0x1104003
mov edx, dword [esi + 0x25fd0]
mov edi, dword [esi + 0x25fd4]
cmp edx, dword [ebp - 0x10]
jne 0x1104003
cmp edi, dword [ebp - 0xc]
jne 0x1104003
or eax, ecx
jne 0x1104035
or edx, edi
jne 0x1104035
push 1
lea ecx, [esi + 0x29114]
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x1104035
mov edx, dword [esi + 8]
push 0x13
push edx
call fcn.010de4b0
shl eax, 0x14
mov dword [esi + 0x25fd8], eax
mov eax, dword [esi + 8]
push 0x14
push eax
mov dword [esi + 0x25fdc], 0
call fcn.010de4b0
shl eax, 0x14
mov dword [esi + 0x25fd0], eax
mov dword [esi + 0x25fd4], 0
jmp 0x1104035
shrd eax, ecx, 0x14
push eax
shr ecx, 0x14
mov ecx, dword [esi + 8]
push 0x13
push ecx
call fcn.010de530
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.010de530
mov eax, 0x32
cmp dword [esi + 0x25fd4], eax
jb 0x1104061
ja 0x110404d
cmp dword [esi + 0x25fd0], 0
jbe 0x1104061
mov dword [esi + 0x25fd0], 0
mov dword [esi + 0x25fd4], 0
cmp dword [esi + 0x25fdc], eax
jb 0x1104088
ja 0x1104074
cmp dword [esi + 0x25fd8], 0
jbe 0x1104088
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 0x110410f
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 [0x100f980]
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 [0x100f9e0]
call fcn.01195689
mov dword [esi + 0x25fc8], eax
cmp dword [esi + 0x240e4], 0
je 0x11041b5
lea edi, [esi + 0x24908]
test edi, edi
je 0x11041b5
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esi + 0x25fa8], 0
je 0x11041aa
mov eax, dword [esi + 0x240e4]
test eax, eax
je 0x11041aa
cmp dword [eax + 0xfc], 0
jne 0x11041aa
mov eax, dword [eax + 0x88]
cmp dword [eax + 0x20], 0x1c
jne 0x11041aa
cmp dword [eax + 0x24], 0
jne 0x11041aa
mov ecx, 1
cmp dword [eax + 0x28], ecx
jne 0x11041aa
mov edx, dword [esi + 0x25fd8]
cmp edx, dword [ebp - 8]
jne 0x110419e
mov eax, dword [esi + 0x25fdc]
cmp eax, dword [ebp - 4]
jne 0x110419e
mov edx, dword [esi + 0x25fd0]
cmp edx, dword [ebp - 0x10]
jne 0x110419e
mov eax, dword [esi + 0x25fd4]
cmp eax, dword [ebp - 0xc]
jne 0x110419e
cmp dword [esi + 0x25fe0], 0
jne 0x11041aa
push esi
mov dword [esi + 0x25fe0], ecx
call fcn.010aa7c0
test edi, edi
je 0x11041b5
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xc], 0
je 0x1104204
push 1
lea edx, [esi + 0x25fe8]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x1104204
mov eax, dword [esi + 8]
mov edi, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
push 0
push esi
push 0x10e5960
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x11041f9
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