Function at 0x1005da90
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 0x1005dab8
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 0x1005dafb
inc ecx
test eax, eax
je 0x1005dae7
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1005daec
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10019750
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.10021440
mov ecx, dword [ebp + 0x10]
call fcn.10013ca0
mov ecx, dword [0x101cbe10]
xorps xmm0, xmm0
movss xmm2, dword [ecx + 0x18c4]
test esi, esi
jne 0x1005db32
xorps xmm3, xmm3
jmp 0x1005db70
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.100265d0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x10150268]
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 0x1005db8b
mulss xmm1, dword [0x10150208]
cvttss2si eax, xmm1
mov dword [esp + 0x1c], eax
test cl, 1
jne 0x1005db9b
xorps xmm3, xmm3
test cl, 2
jne 0x1005dba3
xorps xmm2, xmm2
movss xmm4, dword [0x10150220]
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 [0x10150270]
movss dword [esp + 0x10], xmm7
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x18], xmm6
movss dword [esp + 0x5c], xmm6
test cl, 0x18
je 0x1005e2a2
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 0x1005e29e
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 0x1005dd04
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dc73
sub ecx, edi
mov edi, edx
lea eax, [ecx + esi]
mov dword [esp + 0x30], eax
cmp esi, eax
je 0x1005dd04
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.10026780
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150270]
movss xmm4, dword [0x10150220]
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 0x1005ddd8
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dd55
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x34], eax
cmp esi, eax
je 0x1005ddd8
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.10026780
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150270]
movss xmm4, dword [0x10150220]
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 0x1005dea3
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005de20
sub ecx, edx
lea eax, [esi + ecx]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005dea3
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.10026780
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150270]
movss xmm4, dword [0x10150220]
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 0x1005df69
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dee6
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005df69
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.10026780
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150270]
movss xmm4, dword [0x10150220]
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 0x1005e033
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dfb0
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e033
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.10026780
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150270]
movss xmm4, dword [0x10150220]
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 0x1005e101
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e076
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e101
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.10026780
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150270]
movss xmm4, dword [0x10150220]
mov edi, dword [eax + 0x20]
mov edx, edi
movss xmm5, dword [0x1015045c]
mov dword [esp + 0x28], edx
jmp 0x1005e107
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 0x1005e1db
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 0x1005e150
sub ecx, dword [esp + 0x38]
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e1db
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.10026780
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [0x10150270]
movss xmm4, dword [0x10150220]
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 0x1005e289
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e211
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e289
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.10026780
movss xmm2, dword [0x10150270]
movss xmm4, dword [0x10150220]
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 0x1005e367
mov edx, dword [edi + 0x20]
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
xorps xmm3, xmm3
comiss xmm3, xmm0
ja 0x1005e36a
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 0x1005e36a
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 0x1005e300
sub ecx, dword [esp + 0x38]
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e36a
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.10026780
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 [0x10150270]
jbe 0x1005e3c8
movaps xmm2, xmm3
jmp 0x1005e3cc
minss xmm2, xmm4
movss xmm7, dword [0x1015045c]
movss xmm6, dword [0x10150220]
mulss xmm2, xmm7
addss xmm2, xmm6
cvttss2si ecx, xmm2
shl ecx, 0x10
comiss xmm3, xmm1
jbe 0x1005e3f5
movaps xmm1, xmm3
jmp 0x1005e3f9
minss xmm1, xmm4
mulss xmm1, xmm7
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm3, xmm0
jbe 0x1005e414
movaps xmm0, xmm3
jmp 0x1005e418
minss xmm0, xmm4
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
or ecx, eax
comiss xmm3, xmm5
ja 0x1005e432
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 0x1005e4bb
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e454
sub ecx, dword [esp + 0x38]
lea eax, [ecx + esi]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x1005e4bb
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.10026780
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x20]
dec dword [ecx + 0x4c]
call fcn.10021440
mov esi, dword [0x101cbe10]
mov eax, dword [esi + 0x19b0]
mov ecx, dword [eax + 0x284]
dec dword [ecx + 0x4c]
call fcn.10021440
mov ecx, dword [esi + 0x1ab4]
sub ecx, 1
mov dword [esi + 0x1ab4], ecx
jne 0x1005e51c
mov eax, dword [0x101cbe10]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
jne 0x1005e526
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
call fcn.10013c10
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.10013c10
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10