Function at 0x1005da70
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 0x1005da98
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 0x1005dadb
inc ecx
test eax, eax
je 0x1005dac7
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1005dacc
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100196e0
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.100213b0
mov ecx, dword [ebp + 0x10]
call fcn.10013c90
mov ecx, dword [0x101cc100]
xorps xmm0, xmm0
movss xmm2, dword [ecx + 0x18c4]
test esi, esi
jne 0x1005db12
xorps xmm3, xmm3
jmp 0x1005db50
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.10026540
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x10150270]
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 0x1005db6b
mulss xmm1, dword [0x10150210]
cvttss2si eax, xmm1
mov dword [esp + 0x1c], eax
test cl, 1
jne 0x1005db7b
xorps xmm3, xmm3
test cl, 2
jne 0x1005db83
xorps xmm2, xmm2
movss xmm4, dword [0x10150228]
movss xmm7, dword [esp + 0x10]
movss xmm6, dword [esp + 0x18]
movss xmm5, dword [0x1015045c]
mov edi, dword [esp + 0xc]
mulss xmm3, xmm4
mulss xmm2, xmm4
subss xmm7, xmm3
movss xmm3, dword [0x10150160]
subss xmm6, xmm2
movss xmm2, dword [0x10150278]
movss dword [esp + 0x10], xmm7
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x18], xmm6
movss dword [esp + 0x5c], xmm6
test cl, 0x18
je 0x1005e282
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 0x1005e27e
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 0x1005dce4
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dc53
sub ecx, edi
mov edi, edx
lea eax, [ecx + esi]
mov dword [esp + 0x30], eax
cmp esi, eax
je 0x1005dce4
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.100266f0
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150278]
movss xmm4, dword [0x10150228]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x1015045c]
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 0x1005ddb8
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dd35
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x34], eax
cmp esi, eax
je 0x1005ddb8
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.100266f0
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150278]
movss xmm4, dword [0x10150228]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x1015045c]
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 0x1005de83
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005de00
sub ecx, edx
lea eax, [esi + ecx]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005de83
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.100266f0
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150278]
movss xmm4, dword [0x10150228]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x1015045c]
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 0x1005df49
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dec6
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005df49
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.100266f0
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150278]
movss xmm4, dword [0x10150228]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x1015045c]
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 0x1005e013
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005df90
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e013
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.100266f0
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150278]
movss xmm4, dword [0x10150228]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x1015045c]
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 0x1005e0e1
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e056
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e0e1
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.100266f0
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150278]
movss xmm4, dword [0x10150228]
mov edi, dword [eax + 0x20]
mov edx, edi
movss xmm5, dword [0x1015045c]
mov dword [esp + 0x28], edx
jmp 0x1005e0e7
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 0x1005e1bb
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 0x1005e130
sub ecx, dword [esp + 0x38]
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e1bb
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.100266f0
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150278]
movss xmm4, dword [0x10150228]
mov edi, dword [eax + 0x20]
movss xmm5, dword [0x1015045c]
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 0x1005e269
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e1f1
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e269
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.100266f0
movss xmm2, dword [0x10150278]
movss xmm4, dword [0x10150228]
movss xmm5, dword [0x1015045c]
movss xmm6, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
movss xmm3, dword [0x10150160]
movss xmm7, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test cl, 0x24
je 0x1005e347
mov edx, dword [edi + 0x20]
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
xorps xmm3, xmm3
comiss xmm3, xmm0
ja 0x1005e34a
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 0x1005e34a
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 0x1005e2e0
sub ecx, dword [esp + 0x38]
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e34a
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.100266f0
xorps xmm3, xmm3
mov eax, dword [esp + 0xc]
movss xmm4, dword [0x10150160]
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 [0x10150278]
jbe 0x1005e3a8
movaps xmm2, xmm3
jmp 0x1005e3ac
minss xmm2, xmm4
movss xmm7, dword [0x1015045c]
movss xmm6, dword [0x10150228]
mulss xmm2, xmm7
addss xmm2, xmm6
cvttss2si ecx, xmm2
shl ecx, 0x10
comiss xmm3, xmm1
jbe 0x1005e3d5
movaps xmm1, xmm3
jmp 0x1005e3d9
minss xmm1, xmm4
mulss xmm1, xmm7
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm3, xmm0
jbe 0x1005e3f4
movaps xmm0, xmm3
jmp 0x1005e3f8
minss xmm0, xmm4
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
or ecx, eax
comiss xmm3, xmm5
ja 0x1005e412
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 0x1005e49b
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e434
sub ecx, dword [esp + 0x38]
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e49b
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.100266f0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x20]
dec dword [ecx + 0x4c]
call fcn.100213b0
mov esi, dword [0x101cc100]
mov eax, dword [esi + 0x19b0]
mov ecx, dword [eax + 0x284]
dec dword [ecx + 0x4c]
call fcn.100213b0
mov ecx, dword [esi + 0x1ab4]
sub ecx, 1
mov dword [esi + 0x1ab4], ecx
jne 0x1005e4fc
mov eax, dword [0x101cc100]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
jne 0x1005e506
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
call fcn.10013c00
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.10013c00
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10