Function at 0x1005ce90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x14c]
mov ecx, dword [esi + 0x150]
movss xmm0, dword [eax + 0x21c]
comiss xmm0, dword [esi + 0xc0]
jbe 0x1005d2bb
movss xmm0, dword [esi + 0xc8]
comiss xmm0, dword [eax + 0x214]
jbe 0x1005d2bb
movss xmm0, dword [eax + 0x218]
comiss xmm0, dword [esi + 0xbc]
jbe 0x1005d2bb
movss xmm0, dword [esi + 0xc4]
comiss xmm0, dword [eax + 0x210]
jbe 0x1005d2bb
push ebx
mov ebx, dword [ecx + 0x264]
mov ecx, dword [esi + 0x160]
push 0
push ebx
mov dword [esp + 0x3c], ebx
call fcn.10046060
push 0
lea eax, [esi + 0x114]
mov ecx, ebx
push eax
lea eax, [esi + 0x10c]
push eax
call fcn.10046140
movsx ecx, word [esi + 0x4c]
test ecx, ecx
jne 0x1005cf38
lea eax, [esi + 0x16c]
jmp 0x1005cf46
mov eax, dword [esi + 0x17c]
shl ecx, 4
add eax, 0xfffffff8
add eax, ecx
cmp byte [esi + 0x1da], 0
movss xmm2, dword [esi + 0xd0]
movss xmm3, dword [esi + 0xd8]
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x14], xmm3
je 0x1005cf85
cmp word [esi + 0x1c8], 1
jge 0x1005cf7d
movss xmm2, dword [esi + 0xe0]
addss xmm2, dword [eax]
minss xmm2, xmm3
test dword [esi + 4], 0x200
movss dword [esp + 0xc], xmm2
push edi
je 0x1005d136
xor edi, edi
cmp dword [esi + 0x40], edi
jle 0x1005d136
push ebp
mov eax, dword [esi + 0x28]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, edi
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x1005d11f
mov eax, dword [esi + 0x18]
movsx ebx, word [eax + edi*2]
movsx eax, word [esi + 0x1b2]
imul ebp, ebx, 0x70
add ebp, dword [esi + 0x10]
cmp eax, ebx
jne 0x1005cfe8
mov ax, word [esi + 0x4e]
cmp ax, word [esi + 0x4c]
jne 0x1005cfe8
mov cl, 1
jmp 0x1005cfea
xor cl, cl
mov eax, dword [ebp]
movsx edx, word [esi + 0x1cc]
and eax, 0x40000020
movss xmm1, dword [ebp + 0xc]
comiss xmm1, dword [esi + 0xf4]
mov dword [esp + 0x10], edx
movsx edx, word [esi + 0x1ae]
jbe 0x1005d01a
test cl, cl
je 0x1005d11b
cmp word [ebp + 0x58], 0xffff
jne 0x1005d04d
test eax, eax
je 0x1005d04d
mov edx, dword [esi + 4]
mov eax, edx
and eax, 0xe000
cmp eax, 0x4000
jne 0x1005d11b
test edx, 0x10000
jne 0x1005d11b
movsx edx, word [esi + 0x1ae]
movss xmm0, dword [ebp + 0x20]
comiss xmm0, xmm1
jae 0x1005d11b
cmp edx, ebx
je 0x1005d0cf
test cl, cl
jne 0x1005d0cf
lea eax, [edi + 1]
cmp dword [esp + 0x10], eax
je 0x1005d0cf
test dword [esi + 4], 0x1800
je 0x1005d0c7
movaps xmm1, xmm2
mov eax, dword [esi + 0x74]
movss xmm2, dword [esp + 0x18]
comiss xmm1, xmm2
mov ebx, dword [esp + 0x3c]
jbe 0x1005d11f
movss xmm0, dword [ebp + 0xc]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x28], xmm0
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x30], xmm1
push eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm2
call fcn.100463c0
jmp 0x1005d11f
mov eax, dword [esi + 0x78]
movaps xmm1, xmm3
jmp 0x1005d07b
movaps xmm1, xmm3
movss dword [esp + 0x10], xmm1
test cl, cl
je 0x1005d0f6
push ecx
mov dword [esp], 0x3f800000
push 0x1d
call fcn.10011380
movss xmm1, dword [esp + 0x18]
add esp, 8
jmp 0x1005d07b
cmp edx, ebx
jne 0x1005d078
push ecx
mov dword [esp], 0x3f800000
push 0x1c
call fcn.10011380
movss xmm1, dword [esp + 0x18]
add esp, 8
jmp 0x1005d07b
mov ebx, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x14]
inc edi
movss xmm3, dword [esp + 0x1c]
cmp edi, dword [esi + 0x40]
jl 0x1005cfa5
pop ebp
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 0x500
je 0x1005d23f
mov edi, dword [esi + 0x74]
movups xmm0, xmmword [esi + 0xbc]
movups xmmword [esp + 0x1c], xmm0
cmp ecx, 0x500
jne 0x1005d187
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x28]
push 0
push ecx
mov dword [esp], 0
mov ecx, ebx
push edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10046470
jmp 0x1005d23f
test eax, 0x400
je 0x1005d1d4
movss xmm0, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push edi
push eax
movss dword [esp + 0x38], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x34]
push eax
movss dword [esp + 0x40], xmm0
call fcn.100463c0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x20]
jmp 0x1005d21f
test eax, 0x100
je 0x1005d23f
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push edi
push eax
movss dword [esp + 0x38], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x2c]
push eax
movss dword [esp + 0x40], xmm0
call fcn.100463c0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x28]
push edi
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x3c], xmm0
push eax
mov ecx, ebx
call fcn.100463c0
test byte [esi + 4], 0x80
pop edi
je 0x1005d2af
movss xmm1, dword [esi + 0x54]
movss xmm0, dword [esi + 0xc8]
comiss xmm0, xmm1
jbe 0x1005d2af
comiss xmm1, dword [esi + 0x100]
jb 0x1005d2af
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x1005d2af
movss xmm0, dword [esi + 0x80]
lea eax, [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push dword [esi + 0x78]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x38], xmm1
push eax
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm1
call fcn.100463c0
mov ecx, ebx
pop ebx
pop esi
add esp, 0x28
jmp fcn.100462c0
pop esi
add esp, 0x28
ret