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

Disassembly:
push esi
sub esp, 0x84
mov esi, dword [esp + 0xa8]
pxor xmm1, xmm1
movss xmm4, dword [0x460a14]
mov dword [eax], 0
movss xmm0, dword [esi]
mov esi, dword [esp + 0xa0]
movss dword [esp + 0x30], xmm0
movss xmm5, dword [esi]
mov esi, dword [esp + 0xac]
subss xmm0, xmm5
movss xmm2, dword [esi]
movaps xmm7, xmm0
mov esi, dword [esp + 0xa4]
movss dword [esp + 0x34], xmm2
mulss xmm7, xmm0
movss xmm6, dword [esi]
subss xmm2, xmm6
movaps xmm3, xmm2
mulss xmm3, xmm2
addss xmm7, xmm3
movss xmm3, dword [edx]
mulss xmm4, xmm3
addss xmm7, xmm1
sqrtss xmm7, xmm7
movss xmm1, dword [0x460a3c]
minss xmm1, xmm4
comiss xmm1, xmm7
ja 0x42b35e
movss xmm1, dword [0x460a1c]
comiss xmm1, xmm7
subss xmm3, dword [0x460a18]
jbe 0x42a8d8
movss xmm1, dword [0x460a20]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm1
jmp 0x42aa06
movaps xmm1, xmm3
movaps xmm4, xmm5
mulss xmm1, xmm2
movss dword [esp + 4], xmm3
mulss xmm3, xmm0
divss xmm1, xmm7
divss xmm3, xmm7
movss dword [esp + 0x24], xmm1
addss xmm4, xmm1
movaps xmm1, xmm6
movss dword [esp + 8], xmm3
subss xmm1, xmm3
movss xmm3, dword [esp + 0x34]
movss dword [esp + 0xc], xmm5
subss xmm5, xmm4
subss xmm3, xmm1
mulss xmm5, xmm3
movss xmm3, dword [esp + 0x30]
movss dword [esp + 0x1c], xmm4
subss xmm3, xmm4
movaps xmm4, xmm6
movss dword [esp + 0x28], xmm1
subss xmm4, xmm1
mulss xmm3, xmm4
movss dword [esp + 0x18], xmm1
subss xmm5, xmm3
mulss xmm5, dword [0x460a24]
pxor xmm1, xmm1
movss dword [0x6df5ec], xmm5
movss xmm3, dword [esp + 4]
comiss xmm5, xmm1
movss xmm5, dword [esp + 0xc]
jb 0x42a9a5
movss xmm1, dword [esp + 0x24]
movss xmm4, dword [esp + 0x34]
addss xmm1, dword [esp + 0x30]
subss xmm4, dword [esp + 8]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x14], xmm4
jmp 0x42aa06
movss xmm1, dword [esp + 0x24]
movss dword [esp + 0xc], xmm5
subss xmm5, xmm1
movss xmm4, dword [esp + 8]
movss dword [esp + 0x1c], xmm5
movaps xmm5, xmm4
addss xmm5, xmm6
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x18], xmm5
movss xmm5, dword [esp + 0x30]
subss xmm5, xmm1
movss xmm1, dword [esp + 0x34]
addss xmm1, xmm4
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x10], xmm5
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x14], xmm1
movss xmm5, dword [esp + 0xc]
xorps xmm0, xmmword [0x460710]
xorps xmm2, xmmword [0x460710]
movaps xmm1, xmm0
movaps xmm4, xmm2
mulss xmm1, xmm0
mulss xmm4, xmm2
movss dword [0x6df5e0], xmm0
addss xmm1, xmm4
pxor xmm4, xmm4
movss dword [0x6df5e4], xmm2
addss xmm1, xmm4
sqrtss xmm1, xmm1
movss xmm4, dword [0x460a1c]
movss dword [0x6df5e8], xmm1
comiss xmm4, xmm1
jbe 0x42aa7f
movss xmm4, dword [0x460a20]
movss dword [esp + 0xc], xmm4
movaps xmm2, xmm4
movss dword [esp + 4], xmm4
movaps xmm5, xmm4
movss dword [esp + 0x2c], xmm4
movaps xmm6, xmm4
jmp 0x42ab4c
mulss xmm2, xmm3
mulss xmm3, xmm0
divss xmm2, xmm1
divss xmm3, xmm1
movss dword [esp + 8], xmm7
movss xmm7, dword [esp + 0x30]
movss xmm0, dword [esp + 0x34]
movaps xmm4, xmm7
movaps xmm1, xmm0
addss xmm4, xmm2
subss xmm1, xmm3
subss xmm7, xmm4
subss xmm0, xmm1
movss dword [esp + 4], xmm3
movaps xmm3, xmm6
movss dword [esp + 0x2c], xmm1
subss xmm3, xmm1
mulss xmm7, xmm3
movaps xmm3, xmm5
subss xmm3, xmm4
mulss xmm3, xmm0
movss dword [esp + 0xc], xmm1
subss xmm7, xmm3
mulss xmm7, dword [0x460a24]
pxor xmm1, xmm1
movss dword [0x6df5ec], xmm7
movss xmm3, dword [esp + 4]
comiss xmm7, xmm1
movss xmm7, dword [esp + 8]
jb 0x42ab1b
addss xmm5, xmm2
subss xmm6, xmm3
movss dword [esp + 4], xmm6
movaps xmm2, xmm5
jmp 0x42ab4c
movss xmm0, dword [esp + 0x34]
subss xmm5, xmm2
addss xmm0, xmm3
addss xmm6, xmm3
movss xmm4, dword [esp + 0x30]
movss dword [esp + 0x2c], xmm0
subss xmm4, xmm2
movss dword [esp + 0xc], xmm0
movaps xmm2, xmm5
movss dword [esp + 4], xmm6
mov edx, dword [esp + 0xb0]
movss xmm3, dword [esp + 0x24]
movss dword [0xfba244], xmm3
movss xmm3, dword [esp + 0x20]
mov dword [edx], 0x42c80000
mov edx, dword [ecx]
movss dword [0xfba26c], xmm3
dec edx
movss xmm0, dword [esp + 0x1c]
test edx, edx
movss xmm1, dword [esp + 0x28]
movss xmm3, dword [esp + 0x2c]
movss dword [0xfba240], xmm0
movss dword [0xfba268], xmm1
movss dword [0xfba248], xmm4
movss dword [0xfba270], xmm3
movss dword [0xfba24c], xmm5
movss dword [0xfba274], xmm6
movss dword [0xfba250], xmm0
movss dword [0xfba278], xmm1
jle 0x42b35e
movss xmm0, dword [esp + 4]
mov esi, 1
movss xmm1, dword [esp + 0xc]
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x68], xmm4
movss xmm2, dword [esp + 0x14]
movss xmm3, dword [esp + 0x10]
movss xmm4, dword [esp + 0x18]
movss xmm5, dword [esp + 0x1c]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x64], xmm1
mov dword [esp + 0x58], edi
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x70], xmm3
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x78], xmm5
movss xmm1, dword [0x460a2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebp
mov edi, dword [esp + 0x98]
movss xmm0, dword [edi + esi*4 - 4]
maxss xmm0, dword [edi + esi*4]
comiss xmm0, dword [0x460a2c]
ja 0x42b344
mov ebx, dword [esp + 0x9c]
lea eax, [edi + esi*4]
movss dword [esp + 0x40], xmm7
lea ebp, [eax - 4]
mov dword [esp + 0x4c], eax
lea edx, [ebx + esi*4]
mov dword [esp + 0x48], edx
add esp, 0xffffffd4
lea ebx, [edx - 4]
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x9c]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x70]
mov dword [esp + 0x20], ecx
mov ecx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov edx, ebp
mov eax, dword [esp + 0xa8]
call fcn.0042b3ac
mov eax, dword [esp + 0x7c]
cmp dword [eax], 0
jne 0x42b37d
add esp, 0xffffffd4
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x94]
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x88]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x20], edx
mov edx, ebp
mov dword [esp + 0x24], ecx
mov ecx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa8]
call fcn.0042b3ac
mov eax, dword [esp + 0x7c]
cmp dword [eax], 0
jne 0x42b37d
mov edx, dword [esp + 0x9c]
movss xmm0, dword [0x460a34]
movss xmm4, dword [0xfba240]
movaps xmm2, xmm0
movss xmm1, dword [edi + esi*4 - 4]
movss xmm6, dword [edx + esi*4 - 4]
movaps xmm5, xmm1
mov ecx, dword [edx + esi*4 - 4]
movss xmm3, dword [0x460a38]
mov dword [eax], 0
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm6
movaps xmm6, xmm3
mov dword [0x6df5b0], ecx
mov dword [0x6df5b4], 0x3a83126f
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x24], xmm4
comiss xmm4, dword [0x460a2c]
jbe 0x42adf0
movss xmm2, dword [0x460a34]
movss xmm3, dword [0x460a38]
movaps xmm4, xmm2
movaps xmm0, xmm3
jmp 0x42ae94
movss xmm0, dword [0xfba268]
movss xmm3, dword [0x460a38]
movss xmm4, dword [0x460a34]
maxss xmm3, xmm0
minss xmm4, xmm0
movss xmm0, dword [esp + 0x38]
movss xmm6, dword [esp + 0x24]
movss dword [esp + 8], xmm3
movss dword [esp + 0xc], xmm3
movaps xmm3, xmm0
movss xmm2, dword [0x460a34]
subss xmm3, xmm6
minss xmm2, xmm6
movss xmm7, dword [0x460a38]
andps xmm3, xmmword [0x460720]
maxss xmm7, xmm6
movss xmm6, dword [0x460a30]
comiss xmm6, xmm3
movss dword [esp + 4], xmm7
movss dword [esp + 0x34], xmm7
movaps xmm7, xmm6
movss dword [esp + 0x2c], xmm2
addss xmm7, xmm0
movss dword [esp + 0x30], xmm4
jbe 0x42ae7d
movaps xmm1, xmm7
jbe 0x42ae82
movaps xmm5, xmm7
movss xmm6, dword [esp + 0xc]
movss xmm0, dword [esp + 8]
movss xmm3, dword [esp + 4]
movss xmm7, dword [0xfba244]
movss dword [esp + 0x18], xmm7
comiss xmm7, dword [0x460a2c]
ja 0x42af1d
movss xmm7, dword [0xfba26c]
movss xmm6, dword [esp + 0x18]
maxss xmm0, xmm7
minss xmm2, xmm6
maxss xmm3, xmm6
minss xmm4, xmm7
movss dword [esp + 8], xmm0
movaps xmm7, xmm1
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x2c], xmm2
subss xmm0, xmm6
andps xmm0, xmmword [0x460720]
movss xmm6, dword [0x460a30]
comiss xmm6, xmm0
addss xmm7, xmm6
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x34], xmm3
jbe 0x42af0c
movaps xmm1, xmm7
jbe 0x42af11
movaps xmm5, xmm7
movss xmm6, dword [esp + 0xc]
movss xmm0, dword [esp + 8]
movss xmm7, dword [0xfba248]
movss dword [esp + 0x1c], xmm7
comiss xmm7, dword [0x460a2c]
ja 0x42afa6
movss xmm7, dword [0xfba270]
movss xmm6, dword [esp + 0x1c]
maxss xmm0, xmm7
minss xmm2, xmm6
maxss xmm3, xmm6
minss xmm4, xmm7
movss dword [esp + 8], xmm0
movaps xmm7, xmm1
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x2c], xmm2
subss xmm0, xmm6
andps xmm0, xmmword [0x460720]
movss xmm6, dword [0x460a30]
comiss xmm6, xmm0
addss xmm7, xmm6
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x34], xmm3
jbe 0x42af95
movaps xmm1, xmm7
jbe 0x42af9a
movaps xmm5, xmm7
movss xmm6, dword [esp + 0xc]
movss xmm0, dword [esp + 8]
movss xmm7, dword [0xfba24c]
movss dword [esp + 0x20], xmm7
comiss xmm7, dword [0x460a2c]
ja 0x42b02f
movss xmm7, dword [0xfba274]
movss xmm6, dword [esp + 0x20]
maxss xmm0, xmm7
minss xmm2, xmm6
maxss xmm3, xmm6
minss xmm4, xmm7
movss dword [esp + 8], xmm0
movaps xmm7, xmm1
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x2c], xmm2
subss xmm0, xmm6
andps xmm0, xmmword [0x460720]
movss xmm6, dword [0x460a30]
comiss xmm6, xmm0
addss xmm7, xmm6
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x34], xmm3
jbe 0x42b01e
movaps xmm1, xmm7
jbe 0x42b023
movaps xmm5, xmm7
movss xmm6, dword [esp + 0xc]
movss xmm0, dword [esp + 8]
movss xmm7, dword [0xfba250]
mov dword [0x6df5b8], 6
movss dword [esp + 0x28], xmm7
comiss xmm7, dword [0x460a2c]
jbe 0x42b08c
movss dword [0x6df5bc], xmm6
movss xmm6, dword [esp + 0x34]
movss dword [0x6df5c0], xmm6
movss xmm7, dword [esp + 0x30]
movss xmm6, dword [esp + 0x2c]
movss dword [0x6df5c4], xmm7
movss dword [0x6df5c8], xmm6
movss dword [0x6df5cc], xmm5
jmp 0x42b0ff
movss xmm6, dword [0xfba278]
movss xmm7, dword [esp + 0x28]
minss xmm4, xmm6
maxss xmm0, xmm6
minss xmm2, xmm7
maxss xmm3, xmm7
movaps xmm6, xmm1
movss dword [0x6df5c8], xmm2
subss xmm6, xmm7
andps xmm6, xmmword [0x460720]
movss xmm7, dword [0x460a30]
movss dword [0x6df5c4], xmm4
movss dword [0x6df5c0], xmm3
movss dword [0x6df5bc], xmm0
comiss xmm7, xmm6
jbe 0x42b0f7
addss xmm1, dword [0x460a30]
movss dword [0x6df5cc], xmm1
jmp 0x42b0ff
movss dword [0x6df5cc], xmm5
comiss xmm1, xmm3
jae 0x42b244
movss xmm3, dword [esp + 0x3c]
comiss xmm3, xmm0
jae 0x42b244
comiss xmm2, xmm1
jae 0x42b244
comiss xmm4, dword [esp + 0x3c]
jae 0x42b244
xor eax, eax
mov dword [0x6df5d4], eax
mov dword [0x6df5d8], eax
mov eax, 1
movss xmm3, dword [eax*4 + 0xfba23c]
movss xmm1, dword [eax*4 + 0xfba240]
movaps xmm0, xmm3
movss xmm2, dword [0x6df5cc]
minss xmm0, xmm1
comiss xmm0, xmm2
jae 0x42b1bd
maxss xmm3, xmm1
comiss xmm2, xmm3
jae 0x42b1bd
comiss xmm3, dword [0x460a2c]
ja 0x42b1bd
push 0x6df5dc
push 0x6df5b0
mov dword [0x6df5d0], eax
lea ebx, [eax*4 + 0xfba23c]
push 0x6df5cc
lea eax, [ebx + 0x2c]
push eax
lea edx, [ebx + 4]
push edx
lea ecx, [ebx + 0x28]
push ecx
push ebx
call fcn.0041f8d0
mov eax, dword [0x6df5dc]
cmp eax, 1
je 0x42b372
cmp eax, 0xffffffff
je 0x42b38b
mov eax, dword [0x6df5d0]
inc eax
cmp eax, 4
jle 0x42b13c
mov edx, dword [0x6df5d4]
mov dword [0x6df5d0], eax
mov eax, edx
shr eax, 0x1f
add eax, edx
and eax, 0xfffffffe
cmp edx, eax
je 0x42b217
test edx, edx
je 0x42b217
mov edx, dword [0x6df5d8]
mov eax, edx
shr eax, 0x1f
add eax, edx
and eax, 0xfffffffe
cmp edx, eax
je 0x42b217
test edx, edx
je 0x42b217
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov dword [eax], 1
jmp 0x42b35e
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
test eax, eax
jne 0x42b352
mov eax, dword [esp + 0x9c]
movss xmm0, dword [edi + esi*4 - 4]
movss dword [esp + 0x38], xmm0
movss xmm1, dword [eax + esi*4 - 4]
movss dword [esp + 0x3c], xmm1
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
pxor xmm3, xmm3
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
movss xmm5, dword [eax]
movss xmm4, dword [ecx]
mov ebp, dword [esp + 0x9c]
movss xmm2, dword [edi + esi*4]
subss xmm5, dword [edx]
subss xmm4, dword [ebx]
subss xmm2, dword [esp + 0x38]
movaps xmm0, xmm5
movaps xmm1, xmm4
mulss xmm0, xmm5
movaps xmm7, xmm2
mulss xmm1, xmm4
mulss xmm7, xmm2
addss xmm0, xmm1
movss xmm1, dword [ebp + esi*4]
addss xmm0, xmm3
subss xmm1, dword [esp + 0x3c]
sqrtss xmm0, xmm0
movaps xmm6, xmm1
mulss xmm6, xmm1
movss dword [0x6df5f0], xmm0
addss xmm7, xmm6
addss xmm7, xmm3
sqrtss xmm7, xmm7
mulss xmm0, xmm7
movss dword [0x6df5f4], xmm7
ucomiss xmm0, xmm3
jp 0x42b2e5
je 0x42b368
mulss xmm5, xmm2
mulss xmm4, xmm1
pxor xmm1, xmm1
addss xmm5, xmm4
addss xmm5, xmm1
divss xmm5, xmm0
andps xmm5, xmmword [0x460720]
movss xmm0, dword [0x460a3c]
minss xmm0, xmm5
movss dword [esp + 0x40], xmm0
movss dword [esp], xmm0
call sub.libmmd.dll_acosf
fstp dword [esp + 0x10]
movss xmm7, dword [esp + 0x10]
mov eax, dword [esp + 0xb0]
andps xmm7, xmmword [0x460720]
movss xmm0, dword [eax]
minss xmm0, xmm7
movss dword [eax], xmm0
inc esi
cmp esi, dword [esp + 0x80]
jle 0x42ac51
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
add esp, 0x84
pop esi
ret 0x28
movss xmm7, dword [0x460a20]
jmp 0x42b32a
inc dword [0x6df5d4]
jmp 0x42b1b8
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
jmp 0x42b35e
inc dword [0x6df5d8]
mov eax, dword [0x6df5d0]
jmp 0x42b1bd