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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x100be9bc]
movaps xmm2, xmm3
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, edi
movss dword [esp + 0x28], xmm2
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], esi
cmp edi, 0xffffffff
jae 0x1002afcd
mov cl, byte [esi]
test cl, cl
je 0x1002afc9
cmp cl, 0x23
jne 0x1002afc3
cmp byte [esi + 1], cl
je 0x1002afc9
inc esi
cmp esi, 0xffffffff
jb 0x1002afb3
mov dword [esp + 0x1c], esi
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x1002afe3
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
jmp 0x1002b058
movss xmm2, dword [eax + 0x1930]
cmp edi, esi
jne 0x1002afff
mov dword [esp + 0x50], 0
movss dword [esp + 0x54], xmm2
jmp 0x1002b052
movss xmm3, dword [0x1009a36c]
push 0
push esi
push edi
push ecx
lea ecx, [esp + 0x54]
mov dword [esp], 0
push ecx
mov ecx, dword [eax + 0x192c]
call fcn.1004a020
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x1009a1b0]
mov edx, dword [esp + 0xc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x54], xmm0
movss xmm2, dword [esp + 0x28]
movss xmm4, dword [edx]
lea eax, [esp + 0x50]
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x58], xmm1
movss xmm3, dword [eax]
movaps xmm0, xmm3
subss xmm0, xmm4
comiss xmm1, xmm0
jbe 0x1002b4cf
mov eax, dword [ecx + 0x2c]
mov esi, 0xffff
mov dword [esp + 0x44], 0x2e
mov dword [esp + 0x38], 0
mov edx, dword [eax + 8]
movss xmm2, dword [eax + 0xc]
mov dword [esp + 0x20], edx
movss dword [esp + 0x24], xmm2
movzx eax, word [edx + 0x3c]
movzx ecx, ax
cmp cx, si
mov dword [esp + 0x10], eax
movzx eax, cx
cmove ecx, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
xor ecx, ecx
cmp ax, si
mov eax, dword [esp + 0x30]
movzx eax, ax
sete cl
mov dword [esp + 0x44], eax
lea ecx, [ecx*2 + 1]
mov dword [esp + 0x2c], ecx
cmp eax, dword [edx + 0x14]
jb 0x1002b100
mov eax, dword [edx + 0x2c]
jmp 0x1002b127
mov edi, dword [esp + 0x44]
mov eax, dword [edx + 0x1c]
movzx eax, word [eax + edi*2]
mov edi, esi
cmp ax, di
mov edi, dword [ebp + 0x10]
jne 0x1002b11a
mov eax, dword [edx + 0x2c]
jmp 0x1002b127
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x2c]
movss xmm1, dword [eax + 0x10]
cmp word [esp + 0x10], si
movaps xmm5, xmm1
mov esi, dword [esp + 0x1c]
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x44], xmm1
jne 0x1002b172
subss xmm1, dword [eax + 8]
movaps xmm0, xmm2
movd xmm5, ecx
divss xmm0, dword [edx + 0x10]
cvtdq2ps xmm5, xmm5
addss xmm1, xmm0
mulss xmm5, xmm1
movss dword [esp + 0x34], xmm1
subss xmm5, xmm0
movss dword [esp + 0x44], xmm5
maxss xmm3, dword [ebp + 0xc]
lea eax, [esp + 0x38]
push eax
push esi
push edi
subss xmm3, xmm5
push ecx
lea eax, [esp + 0x20]
mov dword [esp], 0
push eax
mov ecx, edx
subss xmm3, xmm4
maxss xmm3, dword [0x1009a1b4]
call fcn.1004a020
mov edi, dword [esp + 0x38]
mov edx, dword [ebp + 0x10]
movss xmm0, dword [eax]
movss dword [esp + 0x10], xmm0
cmp edi, edx
jne 0x1002b20e
cmp edi, esi
jae 0x1002b20c
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
call fcn.10029cc0
movss xmm3, dword [0x1009a36c]
add esp, 4
movss xmm2, dword [esp + 0x24]
mov edi, eax
mov eax, dword [ebp + 0x10]
add edi, eax
push 0
push edi
push eax
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x48]
mov dword [esp], 0
push eax
call fcn.1004a020
mov edx, dword [ebp + 0x10]
movss xmm0, dword [eax]
movss dword [esp + 0x10], xmm0
cmp edi, edx
jbe 0x1002b26e
mov esi, dword [esp + 0x20]
mov cl, byte [edi - 1]
lea eax, [edi - 1]
mov dword [esp + 0x38], eax
cmp cl, 0x20
je 0x1002b228
cmp cl, 9
jne 0x1002b26a
movss xmm3, dword [0x1009a36c]
mov edi, eax
movss xmm2, dword [esp + 0x24]
inc eax
push 0
push eax
push edi
push ecx
lea eax, [esp + 0x70]
mov dword [esp], 0
push eax
mov ecx, esi
call fcn.1004a020
movss xmm0, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
subss xmm0, dword [eax]
movss dword [esp + 0x10], xmm0
cmp dword [esp + 0x38], edx
ja 0x1002b214
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
movss xmm7, dword [eax + 4]
mov eax, dword [esp + 0x40]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0xc]
addss xmm0, dword [eax]
comiss xmm0, dword [esp + 0x28]
jae 0x1002b2fa
addss xmm1, dword [eax + 4]
comiss xmm1, xmm7
jae 0x1002b2fa
movss xmm7, dword [0x1009a1b4]
xor ecx, ecx
movaps xmm1, xmm7
call fcn.1002a390
mov dword [esp + 0x40], eax
test eax, 0xff000000
je 0x1002b3b6
test edi, edi
jne 0x1002b2d2
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b2c6
sub ecx, edi
lea edi, [ecx + edx]
cmp edx, edi
je 0x1002b3b6
mov ecx, dword [esp + 0x18]
movups xmm0, xmmword [ecx + 0x60]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [esp + 0xc]
movups xmmword [esp + 0x60], xmm0
push dword [ecx + 4]
push dword [ecx]
push 0
jmp 0x1002b389
movss xmm1, dword [0x1009a1b4]
xor ecx, ecx
call fcn.1002a390
mov dword [esp + 0x40], eax
test eax, 0xff000000
je 0x1002b3ae
test edi, edi
jne 0x1002b32d
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b321
sub ecx, edi
lea edi, [ecx + edx]
cmp edx, edi
je 0x1002b3ae
mov ecx, dword [esp + 0x18]
movups xmm0, xmmword [ecx + 0x60]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [esp + 0xc]
movaps xmmword [esp + 0x60], xmm0
maxss xmm0, dword [ecx]
push dword [ecx + 4]
push dword [ecx]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x6c]
maxss xmm0, dword [ecx + 4]
push 1
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x74]
minss xmm0, dword [esp + 0x34]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x78]
minss xmm0, xmm7
movss dword [esp + 0x78], xmm0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
lea ecx, [esp + 0x70]
push edi
push edx
push ecx
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [eax + 8]
call fcn.1004a330
movss xmm7, dword [0x1009a1b4]
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x10]
movss xmm2, dword [ebp + 0xc]
addss xmm1, dword [eax]
movaps xmm0, xmm1
movss dword [esp + 0x10], xmm1
addss xmm0, dword [esp + 0x44]
comiss xmm2, xmm0
jb 0x1002b454
mov ecx, dword [ebp + 0x1c]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
test ecx, ecx
jne 0x1002b480
movss xmm0, dword [eax + 4]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm1
movaps xmm1, xmm7
push dword [esp + 0x54]
push dword [esp + 0x38]
push ecx
xor ecx, ecx
call fcn.1002a390
movss xmm2, dword [esp + 0x34]
add esp, 4
mov ecx, esi
push eax
push dword [esp + 0x28]
call fcn.1004a1f0
movss xmm1, dword [esp + 0x10]
movss xmm7, dword [0x1009a1b4]
mov eax, dword [esp + 0xc]
addss xmm1, dword [esp + 0x34]
movss dword [esp + 0x10], xmm1
sub edi, 1
jne 0x1002b3f0
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x4c]
cmp byte [ecx + 0x2f08], 0
je 0x1002b471
push esi
mov edx, edi
mov ecx, eax
call fcn.1003a510
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [eax + 4]
movss xmm2, dword [esp + 0x24]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm1
push dword [esp + 0x54]
push dword [esp + 0x38]
push ecx
push dword [esp + 0x28]
mov ecx, esi
call fcn.1004a1f0
movss xmm1, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x1c]
addss xmm1, dword [esp + 0x34]
movss dword [esp + 0x10], xmm1
sub edi, 1
jne 0x1002b480
jmp 0x1002b450
push dword [ebp + 0x1c]
movss xmm0, dword [eax + 4]
lea eax, [esp + 0x54]
push 0
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x5c], 0
push eax
push esi
lea eax, [esp + 0x58]
mov dword [esp + 0x68], 0
push edi
push eax
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x64], xmm0
call fcn.1002a880
mov eax, dword [esp + 0x28]
add esp, 0x1c
jmp 0x1002b457