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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
call fcn.00501060
mov eax, dword [ebp + 0x20]
lea edx, [ebp - 4]
movq xmm0, qword [ebp + 0x18]
push 0
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 8]
push edx
push 0
push 0
mov ecx, dword [eax]
push eax
movq qword [ebp - 0x24], xmm0
call dword [ecx + 0x2c]
movss xmm0, dword [0x5e5734]
lea ecx, [edi + 0x18]
ucomiss xmm0, dword [edi + 0x1c]
lahf
test ah, 0x44
jnp 0x531bae
movss xmm5, dword [ecx]
mov esi, ecx
movss xmm4, dword [ebp + 0x18]
movss xmm3, dword [ebp + 0x20]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jp 0x531b23
movss xmm0, dword [ecx + 4]
ucomiss xmm0, dword [ebp + 0x1c]
lahf
test ah, 0x44
jp 0x531b23
movss xmm0, dword [ecx + 8]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x531b23
mov dword [edi + 0x14], 0
jmp 0x532008
movaps xmm1, xmm4
movaps xmm2, xmm3
subss xmm1, xmm5
sub esp, 0x10
mulss xmm1, dword [0x5dc418]
addss xmm1, dword [ebp - 0x24]
movss dword [ebp - 0x10], xmm1
movss xmm1, dword [edi + 0x20]
subss xmm2, xmm1
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
mulss xmm2, dword [0x5dc418]
addss xmm2, dword [ebp - 0x1c]
movss dword [ebp - 0x14], xmm2
call fcn.0044d380
fstp dword [ebp - 8]
movss xmm2, dword [ebp - 8]
xor eax, eax
addss xmm2, dword [edi + 0x14]
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ecx, esi
comiss xmm2, dword [0x5ec474]
movss dword [edi + 0x14], xmm2
jbe 0x531bdd
movq xmm0, qword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
movss xmm1, dword [ebp - 0x1c]
mov eax, 0x55555556
imul dword [edi]
movss xmm0, dword [0x5dc408]
movss dword [ebp - 0x14], xmm1
movss xmm1, dword [ebp - 0x24]
movss dword [ebp - 0x10], xmm1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xc], eax
jmp 0x531c38
movd xmm0, dword [0x6184d4]
movss xmm3, dword [0x5dc354]
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm3
movss xmm4, dword [0x5d8ff8]
divss xmm1, xmm0
mulss xmm1, xmm4
comiss xmm2, xmm1
jbe 0x531c30
subss xmm2, xmm1
inc eax
movaps xmm1, xmm3
movss dword [edi + 0x14], xmm2
movd xmm0, dword [0x6184d4]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm4
comiss xmm2, xmm1
ja 0x531c08
mov dword [ebp - 0xc], eax
movss xmm0, dword [0x5d85c8]
mov esi, ecx
test eax, eax
jle 0x532008
movaps xmm1, xmm0
xorps xmm1, xmmword [0x5d8e50]
subss xmm0, xmm1
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x28], xmm0
nop word [eax + eax]
mov eax, dword [edi + 4]
lea esi, [eax + eax*2]
add esi, esi
call fcn.0056e528
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x28]
divss xmm0, dword [0x5d85d0]
addss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x18], xmm0
call fcn.0056e528
mov ecx, dword [ebp - 0x30]
sub esp, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x28]
divss xmm0, dword [0x5d85d0]
addss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call fcn.005007f0
test eax, eax
je 0x531ffb
movss xmm0, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
push 0
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call fcn.00500880
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
movss xmm4, dword [ebp - 0x18]
xorps xmm7, xmm7
movss xmm5, dword [ebp - 8]
movaps xmm0, xmm4
subss xmm0, dword [edi + 0x10]
fstp dword [ebp - 0x34]
movss xmm2, dword [ebp - 0x34]
movaps xmm1, xmm5
movaps xmm3, xmm2
addss xmm1, xmm7
addss xmm3, xmm7
movss dword [eax + ecx*8], xmm0
movaps xmm0, xmm4
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 4], xmm3
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 8], xmm1
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0xc], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x14], 0x3f800000
subss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x18], xmm0
movss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
mulss xmm0, dword [0x5d8ff8]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x1c], xmm0
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x20], xmm1
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x24], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x28], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x2c], 0
lea ecx, [esi + esi*2]
movss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
addss xmm0, xmm0
addss xmm0, xmm4
addss xmm4, xmm7
movss dword [eax + ecx*8 + 0x30], xmm0
movaps xmm0, xmm5
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x34], xmm3
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x38], xmm1
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x3c], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x40], 0x3f800000
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x44], 0x3f800000
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x48], xmm4
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x4c], xmm3
subss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x50], xmm0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x54], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x58], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x5c], 0x3f800000
lea ecx, [esi + esi*2]
mov eax, dword [ebp - 4]
mov edx, 0x3f000000
mov dword [ebp - 8], 4
movss dword [eax + ecx*8 + 0x60], xmm4
movss xmm0, dword [edi + 0x10]
mulss xmm0, dword [0x5d8ff8]
mov eax, dword [ebp - 4]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x64], xmm0
movaps xmm0, xmm5
subss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x68], xmm0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x6c], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x70], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x74], 0
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x78], xmm4
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x7c], xmm3
movss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
addss xmm0, xmm0
addss xmm0, xmm5
movss dword [eax + ecx*8 + 0x80], xmm0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x84], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x88], 0x3f800000
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x8c], 0x3f800000
sub esi, 1
jns 0x531f19
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x531f3c
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x531f5f
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x531f82
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x531fa5
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x531fc8
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
add edx, 0x3f000000
sub dword [ebp - 8], 1
jne 0x531f08
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jl 0x531ffb
mov dword [edi + 4], 0
sub dword [ebp - 0xc], 1
jne 0x531c60
lea esi, [edi + 0x18]
mov eax, dword [edi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
movq qword [esi], xmm0
mov dword [esi + 8], eax
call fcn.004fd4a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c