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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
mov esi, dword [ebp + 0x14]
mov eax, ecx
push edi
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x10], xmm1
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0xc], eax
jb 0x1005da18
mov esi, dword [esi]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], ecx
lea edi, [ecx + 0x4c]
mov eax, dword [eax + 0x38]
mov ecx, dword [edi]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x1005da5b
inc ecx
test eax, eax
je 0x1005da47
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1005da4c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100199f0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], edx
mov ecx, dword [esp + 0x2c]
inc dword [edi]
call fcn.100216a0
mov ecx, dword [ebp + 0x10]
call fcn.10013e30
mov ecx, dword [0x10223950]
xorps xmm0, xmm0
movss xmm2, dword [ecx + 0x18c4]
test esi, esi
jne 0x1005da92
xorps xmm3, xmm3
jmp 0x1005dad0
push ecx
push 0
push esi
push ecx
mov ecx, dword [ecx + 0x18c0]
lea eax, [esp + 0x68]
mov dword [esp], 0xbf800000
push eax
call fcn.10026ce0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x10155c78]
movss xmm2, dword [esp + 0x5c]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movzx eax, byte [ebp + 0xb]
mov ecx, dword [ebp + 0xc]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
test cl, 0x30
je 0x1005daeb
mulss xmm1, dword [0x10155c08]
cvttss2si eax, xmm1
mov dword [esp + 0x1c], eax
test cl, 1
jne 0x1005dafb
xorps xmm3, xmm3
test cl, 2
jne 0x1005db03
xorps xmm2, xmm2
movss xmm4, dword [0x10155c24]
movss xmm7, dword [esp + 0x10]
movss xmm6, dword [esp + 0x18]
movss xmm5, dword [0x10155eec]
mov edi, dword [esp + 0xc]
mulss xmm3, xmm4
mulss xmm2, xmm4
subss xmm7, xmm3
movss xmm3, dword [0x10155b60]
subss xmm6, xmm2
movss xmm2, dword [0x10155c80]
movss dword [esp + 0x10], xmm7
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x18], xmm6
movss dword [esp + 0x5c], xmm6
test cl, 0x18
je 0x1005e202
mov edx, dword [edi + 0x20]
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm3
comiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
ja 0x1005e1fe
movaps xmm0, xmm1
mov edi, edx
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
movaps xmm0, xmm7
addss xmm0, xmm2
shl eax, 0x18
mov dword [esp + 0x24], eax
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm6
subss xmm0, xmm2
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x3c], xmm0
test eax, eax
je 0x1005dc64
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dbd3
sub ecx, edi
mov edi, edx
lea eax, [ecx + esi]
mov dword [esp + 0x30], eax
cmp esi, eax
je 0x1005dc64
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x3c]
mov eax, dword [edx + 0x28]
mov edx, dword [edx + 0x40]
mov edi, dword [ecx + 0x20]
add edx, edx
push 0
movss xmm2, dword [eax + 0xc]
mov ecx, dword [edi + 0x48]
push ecx
mov dword [esp], 0
push dword [esp + 0x40]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
push esi
lea ecx, [esp + 0x58]
push ecx
push dword [esp + 0x40]
mov ecx, dword [eax + 8]
push edi
movups xmmword [esp + 0x64], xmm0
call fcn.10026e90
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10155c80]
movss xmm4, dword [0x10155c24]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x10155eec]
movss xmm6, dword [esp + 0x18]
movss xmm7, dword [esp + 0x10]
movaps xmm0, xmm1
mov dword [esp + 0x20], edi
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
movaps xmm0, xmm7
subss xmm0, xmm2
shl eax, 0x18
mov dword [esp + 0x38], eax
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x44], xmm0
test eax, eax
je 0x1005dd38
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dcb5
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x34], eax
cmp esi, eax
je 0x1005dd38
push dword [esp + 0x44]
mov edi, dword [esp + 0x24]
push dword [esp + 0x44]
push 0
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x28]
add edx, edx
push ecx
mov dword [esp], 0
push dword [esp + 0x44]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
lea ecx, [esp + 0x74]
movss xmm2, dword [eax + 0xc]
push esi
push ecx
push dword [esp + 0x54]
mov ecx, dword [eax + 8]
push edi
movups xmmword [esp + 0x84], xmm0
call fcn.10026e90
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10155c80]
movss xmm4, dword [0x10155c24]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x10155eec]
movaps xmm0, xmm1
mov dword [esp + 0x20], edi
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x30]
shl eax, 0x18
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x28]
mov dword [esp + 0x34], eax
movss dword [esp + 0x44], xmm0
test eax, eax
je 0x1005de03
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dd80
sub ecx, edx
lea eax, [esi + ecx]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005de03
push dword [esp + 0x44]
mov edi, dword [esp + 0x24]
push dword [esp + 0x44]
push 0
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x28]
add edx, edx
push ecx
mov dword [esp], 0
push dword [esp + 0x48]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
lea ecx, [esp + 0x74]
movss xmm2, dword [eax + 0xc]
push esi
push ecx
push dword [esp + 0x50]
mov ecx, dword [eax + 8]
push edi
movups xmmword [esp + 0x84], xmm0
call fcn.10026e90
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10155c80]
movss xmm4, dword [0x10155c24]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x10155eec]
movaps xmm0, xmm1
mov dword [esp + 0x20], edi
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x2c]
shl eax, 0x18
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x24]
mov dword [esp + 0x34], eax
movss dword [esp + 0x44], xmm0
test eax, eax
je 0x1005dec9
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005de46
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005dec9
push dword [esp + 0x44]
mov edi, dword [esp + 0x24]
push dword [esp + 0x44]
push 0
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x28]
add edx, edx
push ecx
mov dword [esp], 0
push dword [esp + 0x48]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
lea ecx, [esp + 0x74]
movss xmm2, dword [eax + 0xc]
push esi
push ecx
push dword [esp + 0x50]
mov ecx, dword [eax + 8]
push edi
movups xmmword [esp + 0x84], xmm0
call fcn.10026e90
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10155c80]
movss xmm4, dword [0x10155c24]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x10155eec]
movaps xmm0, xmm1
mov dword [esp + 0x20], edi
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x10]
shl eax, 0x18
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x24]
mov dword [esp + 0x34], eax
movss dword [esp + 0x44], xmm0
test eax, eax
je 0x1005df93
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005df10
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005df93
push dword [esp + 0x44]
mov edi, dword [esp + 0x24]
push dword [esp + 0x44]
push 0
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x28]
add edx, edx
push ecx
mov dword [esp], 0
push dword [esp + 0x48]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
lea ecx, [esp + 0x74]
movss xmm2, dword [eax + 0xc]
push esi
push ecx
push dword [esp + 0x50]
mov ecx, dword [eax + 8]
push edi
movups xmmword [esp + 0x84], xmm0
call fcn.10026e90
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10155c80]
movss xmm4, dword [0x10155c24]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x10155eec]
movaps xmm0, xmm1
mov dword [esp + 0x24], edi
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x10]
shl eax, 0x18
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x28]
mov dword [esp + 0x34], eax
movss dword [esp + 0x44], xmm0
test eax, eax
je 0x1005e061
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dfd6
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e061
push dword [esp + 0x44]
mov edi, dword [esp + 0x28]
push dword [esp + 0x44]
push 0
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x28]
add edx, edx
push ecx
mov dword [esp], 0
push dword [esp + 0x48]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
lea ecx, [esp + 0x74]
movss xmm2, dword [eax + 0xc]
push esi
push ecx
push dword [esp + 0x50]
mov ecx, dword [eax + 8]
push edi
movups xmmword [esp + 0x84], xmm0
call fcn.10026e90
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10155c80]
movss xmm4, dword [0x10155c24]
mov edi, dword [eax + 0x20]
mov edx, edi
movss xmm5, dword [0x10155eec]
mov dword [esp + 0x28], edx
jmp 0x1005e067
mov edx, edi
mov dword [esp + 0x28], edi
movss xmm6, dword [esp + 0x18]
movaps xmm0, xmm1
minss xmm0, xmm2
movss dword [esp + 0x44], xmm6
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x2c]
shl eax, 0x18
mov dword [esp + 0x34], eax
movss dword [esp + 0x40], xmm0
test eax, eax
je 0x1005e13b
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e0b0
sub ecx, dword [esp + 0x38]
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e13b
push dword [esp + 0x44]
mov eax, dword [edx + 0x28]
push dword [esp + 0x44]
mov edi, dword [esp + 0x30]
mov edx, dword [edx + 0x40]
movss xmm2, dword [eax + 0xc]
add edx, edx
push 0
mov ecx, dword [edi + 0x48]
push ecx
mov dword [esp], 0
push dword [esp + 0x48]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
push esi
lea ecx, [esp + 0x78]
push ecx
push dword [esp + 0x50]
mov ecx, dword [eax + 8]
push edi
movups xmmword [esp + 0x84], xmm0
call fcn.10026e90
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10155c80]
movss xmm4, dword [0x10155c24]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x10155eec]
movss xmm6, dword [esp + 0x18]
movss xmm0, dword [esp + 0x30]
minss xmm1, xmm2
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm6
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x18
mov dword [esp + 0x34], eax
test eax, eax
je 0x1005e1e9
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e171
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e1e9
push dword [esp + 0x44]
mov ecx, dword [edi + 0x48]
push dword [esp + 0x44]
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x28]
add edx, edx
push 0
push ecx
mov dword [esp], 0
push dword [esp + 0x48]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
lea ecx, [esp + 0x74]
movss xmm2, dword [eax + 0xc]
push esi
push ecx
push dword [esp + 0x50]
mov ecx, dword [eax + 8]
push edi
movups xmmword [esp + 0x84], xmm0
call fcn.10026e90
movss xmm2, dword [0x10155c80]
movss xmm4, dword [0x10155c24]
movss xmm5, dword [0x10155eec]
movss xmm6, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
movss xmm3, dword [0x10155b60]
movss xmm7, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test cl, 0x24
je 0x1005e2c7
mov edx, dword [edi + 0x20]
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
xorps xmm3, xmm3
comiss xmm3, xmm0
ja 0x1005e2ca
minss xmm0, xmm2
addss xmm7, xmm2
addss xmm6, xmm2
mulss xmm0, xmm5
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x44], xmm6
addss xmm0, xmm4
cvttss2si edi, xmm0
shl edi, 0x18
test edi, edi
je 0x1005e2ca
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e260
sub ecx, dword [esp + 0x38]
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e2ca
mov eax, dword [esp + 0xc]
push dword [esp + 0x44]
mov edx, dword [edx + 0x40]
push dword [esp + 0x44]
mov ecx, dword [eax + 0x20]
add edx, edx
push 0
lea eax, [esp + 0x6c]
mov ecx, dword [ecx + 0x48]
push ecx
mov dword [esp], 0
push dword [esp + 0x48]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
mov edx, dword [esp + 0x20]
push esi
push eax
push edi
mov ecx, dword [edx + 0x20]
push ecx
movups xmmword [esp + 0x84], xmm0
mov eax, dword [ecx + 0x28]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [eax + 8]
call fcn.10026e90
xorps xmm3, xmm3
mov eax, dword [esp + 0xc]
movss xmm4, dword [0x10155b60]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 8]
movzx ecx, ah
movzx eax, al
movd xmm1, ecx
movzx ecx, byte [ebp + 0xa]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movd xmm0, ecx
movzx ecx, byte [ebp + 0xb]
cvtdq2ps xmm1, xmm1
movd xmm5, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm5, xmm5
mulss xmm2, xmm4
mulss xmm1, xmm4
comiss xmm3, xmm2
mulss xmm0, xmm4
mulss xmm5, xmm4
movss xmm4, dword [0x10155c80]
jbe 0x1005e328
movaps xmm2, xmm3
jmp 0x1005e32c
minss xmm2, xmm4
movss xmm7, dword [0x10155eec]
movss xmm6, dword [0x10155c24]
mulss xmm2, xmm7
addss xmm2, xmm6
cvttss2si ecx, xmm2
shl ecx, 0x10
comiss xmm3, xmm1
jbe 0x1005e355
movaps xmm1, xmm3
jmp 0x1005e359
minss xmm1, xmm4
mulss xmm1, xmm7
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm3, xmm0
jbe 0x1005e374
movaps xmm0, xmm3
jmp 0x1005e378
minss xmm0, xmm4
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
or ecx, eax
comiss xmm3, xmm5
ja 0x1005e392
minss xmm5, xmm4
movaps xmm3, xmm5
mulss xmm3, xmm7
addss xmm3, xmm6
cvttss2si edi, xmm3
shl edi, 0x18
or edi, ecx
test edi, 0xff000000
je 0x1005e41b
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e3b4
sub ecx, dword [esp + 0x38]
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e41b
mov eax, dword [esp + 0xc]
push dword [esp + 0x5c]
mov edx, dword [edx + 0x40]
push dword [esp + 0x5c]
mov ecx, dword [eax + 0x20]
add edx, edx
push 0
lea eax, [esp + 0x6c]
mov ecx, dword [ecx + 0x48]
push ecx
mov dword [esp], 0
push dword [esp + 0x48]
movups xmm0, xmmword [ecx + edx*8 - 0x10]
mov edx, dword [esp + 0x20]
push esi
push eax
push edi
mov ecx, dword [edx + 0x20]
push ecx
movups xmmword [esp + 0x84], xmm0
mov eax, dword [ecx + 0x28]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [eax + 8]
call fcn.10026e90
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x20]
dec dword [ecx + 0x4c]
call fcn.100216a0
mov esi, dword [0x10223950]
mov eax, dword [esi + 0x19b0]
mov ecx, dword [eax + 0x284]
dec dword [ecx + 0x4c]
call fcn.100216a0
mov ecx, dword [esi + 0x1ab4]
sub ecx, 1
mov dword [esi + 0x1ab4], ecx
jne 0x1005e47c
mov eax, dword [0x10223950]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
jne 0x1005e486
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
call fcn.10013da0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x1abc]
mov ecx, dword [eax + ecx*4 - 4]
call fcn.10013da0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10