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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x10045010]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov esi, dword [0x1006dc88]
push edi
mov edi, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edi
mov eax, dword [esi + 0x1928]
mov byte [eax + 0x78], 1
mov eax, dword [esi + 0x1928]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x7b], 0
jne 0x1001d0c9
mov ecx, dword [eax + 0x1c8]
xor edx, edx
mov eax, dword [eax + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1000b6f0
mov edi, eax
add esp, 4
cmp dword [esi + 0x1944], edi
jne 0x1001caf7
mov byte [esi + 0x1950], 1
cmp dword [esi + 0x1948], edi
jne 0x1001cb06
mov byte [esi + 0x1954], 1
mov eax, dword [esp + 0x3c]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1001cb27
mov dl, byte [ecx]
test dl, dl
je 0x1001cb27
cmp dl, 0x23
jne 0x1001cb21
cmp byte [ecx + 1], dl
je 0x1001cb27
inc ecx
cmp ecx, 0xffffffff
jb 0x1001cb11
movss xmm7, dword [esi + 0x1854]
mov edx, dword [esi + 0x1850]
mov dword [esp + 0x18], edx
movss dword [esp + 0x1c], xmm7
cmp eax, ecx
jne 0x1001cb4b
xorps xmm6, xmm6
xorps xmm0, xmm0
jmp 0x1001cba6
movss xmm3, dword [0x10041f98]
movaps xmm2, xmm7
push ecx
push ecx
push eax
push ecx
lea eax, [esp + 0x30]
mov dword [esp], 0xbf800000
push eax
mov ecx, edx
call fcn.100313d0
movss xmm0, dword [esp + 0x20]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x1001cb8d
mov eax, dword [esp + 0x18]
movss xmm1, dword [esp + 0x1c]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x10041ecc]
movss xmm7, dword [esp + 0x24]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm1, dword [esi + 0x1540]
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x28]
movaps xmm2, xmm1
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm4, dword [eax + 0xc8]
movss xmm3, dword [eax + 0xcc]
addss xmm2, xmm7
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm3
movaps xmm0, xmm2
addss xmm2, xmm3
addss xmm0, xmm4
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x48], xmm0
subss xmm0, xmm4
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm2
subss xmm0, xmm3
movss dword [esp + 0x24], xmm0
call fcn.1000c930
movss xmm0, dword [esp + 0x30]
movss xmm2, dword [esp + 0x1c]
comiss xmm2, xmm6
movss xmm4, dword [esp + 0x34]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x7c], xmm4
jbe 0x1001cccc
mov eax, dword [esi + 0x1928]
movss xmm1, dword [esi + 0x1554]
mov byte [eax + 0x78], 1
mov ecx, dword [esi + 0x1928]
cmp byte [ecx + 0x7b], 0
jne 0x1001cccc
comiss xmm6, xmm1
jbe 0x1001cc94
movss xmm1, dword [esi + 0x154c]
addss xmm1, dword [ecx + 0xd0]
movss xmm0, dword [ecx + 0xd4]
movss dword [ecx + 0xc8], xmm1
movss dword [ecx + 0xcc], xmm0
mov eax, dword [ecx + 0xf0]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xec], eax
comiss xmm2, xmm6
mov eax, dword [esp + 0x28]
movss xmm1, dword [eax + 0xc8]
movss xmm3, dword [esi + 0x1540]
addss xmm1, xmm6
addss xmm3, dword [eax + 0xcc]
movaps xmm0, xmm1
movss dword [esp + 0x5c], xmm1
movaps xmm5, xmm3
movss dword [esp + 0x20], xmm3
addss xmm0, xmm2
movss dword [esp + 0x60], xmm1
addss xmm5, xmm7
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x58], xmm5
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm5
jbe 0x1001cdab
subss xmm0, xmm1
movss xmm1, dword [esi + 0x1540]
lea ecx, [esp + 0x70]
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x18]
movss dword [esp + 0x74], xmm0
call fcn.1000c930
movss xmm0, dword [esp + 0x18]
movss xmm3, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x30]
minss xmm0, dword [esp + 0x20]
maxss xmm3, dword [esp + 0x28]
maxss xmm2, dword [esp + 0x58]
minss xmm1, dword [esp + 0x5c]
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm3
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x70], xmm1
movaps xmm0, xmmword [esp + 0x70]
movaps xmmword [esp + 0x70], xmm0
push 0
mov edx, edi
lea ecx, [esp + 0x74]
call fcn.1000d280
add esp, 4
test al, al
je 0x1001d0c9
push 0
lea eax, [esp + 0x19]
mov edx, edi
push eax
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x7c]
call fcn.1001b380
add esp, 0xc
mov byte [esp + 0x17], al
test al, al
je 0x1001cdfe
mov eax, dword [esp + 0x38]
cmp byte [eax], 0
sete cl
mov byte [eax], cl
mov ecx, dword [0x1006dc88]
mov byte [ecx + 0x1953], 1
push 1
mov edx, edi
lea ecx, [esp + 0x74]
call fcn.100137c0
mov al, byte [esp + 0x1a]
add esp, 4
cmp byte [esp + 0x15], 0
je 0x1001ce24
test al, al
je 0x1001ce24
mov ecx, 9
jmp 0x1001ce2e
xor ecx, ecx
test al, al
setne cl
add ecx, 7
mov eax, dword [0x1006dc88]
add ecx, ecx
movss xmm1, dword [0x10041ed0]
xorps xmm0, xmm0
movups xmm3, xmmword [eax + ecx*8 + 0x15a0]
comiss xmm0, xmm3
movaps xmm5, xmm3
movaps xmmword [esp + 0x70], xmm3
shufps xmm5, xmm3, 0xff
mulss xmm5, dword [eax + 0x1508]
jbe 0x1001ce66
xorps xmm2, xmm2
jmp 0x1001ce6d
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x10041f70]
movss xmm4, dword [0x10041eac]
movss xmm6, dword [esp + 0x74]
comiss xmm0, xmm6
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si edx, xmm2
jbe 0x1001ce99
xorps xmm2, xmm2
jmp 0x1001cea0
movaps xmm2, xmm1
minss xmm2, xmm6
movss xmm6, dword [esp + 0x78]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm6
jbe 0x1001cec1
xorps xmm2, xmm2
jmp 0x1001cec8
movaps xmm2, xmm1
minss xmm2, xmm6
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 0x10
or edx, eax
comiss xmm0, xmm5
jbe 0x1001cee3
xorps xmm1, xmm1
jmp 0x1001cee7
minss xmm1, xmm5
push dword [esp + 0x4c]
movss xmm2, dword [esi + 0x1544]
push dword [esp + 0x4c]
mulss xmm1, xmm3
push dword [esp + 0x4c]
push dword [esp + 0x4c]
addss xmm1, xmm4
cvttss2si ecx, xmm1
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.10012d40
mov eax, dword [esp + 0x48]
add esp, 0x10
cmp byte [eax], 0
je 0x1001d064
movss xmm7, dword [esp + 0x2c]
subss xmm7, dword [esp + 0x30]
movss xmm1, dword [esp + 0x34]
subss xmm1, dword [esp + 0x18]
movss xmm3, dword [0x10041ed0]
movaps xmm2, xmm3
movaps xmm0, xmm7
minss xmm0, xmm1
divss xmm0, dword [0x10041f08]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [0x1006dc88]
cvtdq2ps xmm0, xmm0
maxss xmm2, xmm0
movaps xmm0, xmm2
movaps xmm1, xmm2
addss xmm0, dword [esp + 0x18]
addss xmm1, dword [esp + 0x30]
addss xmm2, xmm2
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x20], xmm1
subss xmm7, xmm2
movups xmm2, xmmword [eax + 0x16c0]
comiss xmm0, xmm2
movaps xmm5, xmm2
movaps xmmword [esp + 0x40], xmm2
shufps xmm5, xmm2, 0xff
mulss xmm5, dword [eax + 0x1508]
jbe 0x1001cfbb
xorps xmm1, xmm1
jmp 0x1001cfc2
movaps xmm1, xmm3
minss xmm1, xmm2
movss xmm2, dword [0x10041f70]
movss xmm4, dword [0x10041eac]
movss xmm6, dword [esp + 0x44]
comiss xmm0, xmm6
mulss xmm1, xmm2
addss xmm1, xmm4
cvttss2si edx, xmm1
jbe 0x1001cfee
xorps xmm1, xmm1
jmp 0x1001cff5
movaps xmm1, xmm3
minss xmm1, xmm6
movss xmm6, dword [esp + 0x48]
mulss xmm1, xmm2
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or edx, eax
comiss xmm0, xmm6
jbe 0x1001d016
xorps xmm1, xmm1
jmp 0x1001d01d
movaps xmm1, xmm3
minss xmm1, xmm6
mulss xmm1, xmm2
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or edx, eax
comiss xmm0, xmm5
jbe 0x1001d038
xorps xmm3, xmm3
jmp 0x1001d03c
minss xmm3, xmm5
push dword [esp + 0x24]
mulss xmm3, xmm2
movaps xmm1, xmm7
push dword [esp + 0x24]
addss xmm3, xmm4
cvttss2si ecx, xmm3
shl ecx, 0x18
or ecx, edx
call fcn.100135b0
mov eax, dword [esp + 0x40]
add esp, 8
cmp byte [esi + 0x2b8c], 0
je 0x1001d08b
cmp byte [eax], 0
mov ecx, 0x10041dac
mov edx, 0x10041da8
cmove edx, ecx
lea ecx, [esp + 0x60]
push 0
call fcn.10012390
add esp, 4
movss xmm0, dword [esp + 0x1c]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x1001d0b1
push dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
xor edx, edx
push dword [esp + 0x64]
push 1
call fcn.100124b0
add esp, 0xc
mov al, byte [esp + 0x17]
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.10034b20
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x8c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10034b20
mov esp, ebp
pop ebp
ret