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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0047
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x623ec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x9c25b0]
cmp dword [eax + 0x24], 0x7534
jne 0x5afdcf
mov dword [edi + 0x1c], 0
mov ecx, dword [0x9c25b4]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [edi]
mov ebx, eax
mov ecx, edi
mov dword [ebp - 0x24], ebx
call dword [edx + 0x38]
test eax, eax
jne 0x5afdfe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
sub eax, dword [edi + 0x98]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
mov eax, dword [edi + 0x9c]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
divss xmm3, xmm0
movss xmm0, dword [0x604d2c]
comiss xmm3, xmm0
jbe 0x5afe5a
cmp dword [edi + 0x1c], 0
je 0x5afe5a
mov dword [edi + 0x1c], 0
movss xmm4, dword [0x604dc4]
comiss xmm4, xmm3
jb 0x5b011f
mov eax, ebx
sub eax, dword [edi + 0xa0]
cmp eax, 0x1f4
jbe 0x5b0153
mov eax, dword [edi + 0x1c]
lea ebx, [edi + 0x74]
test eax, eax
je 0x5afea4
movss xmm2, dword [eax + 0x28]
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x2c], xmm0
unpcklps xmm2, xmm1
jmp 0x5aff24
comiss xmm3, xmm0
jb 0x5afebd
movq xmm0, qword [edi + 0x8c]
mov eax, dword [edi + 0x94]
movq qword [ebx], xmm0
jmp 0x5aff2b
movaps xmm0, xmm3
movaps xmm2, xmm3
mulss xmm2, dword [edi + 0x8c]
addss xmm0, xmm3
movaps xmm1, xmm3
mulss xmm3, dword [edi + 0x94]
mulss xmm1, dword [edi + 0x90]
addss xmm2, xmm2
subss xmm4, xmm0
addss xmm3, xmm3
addss xmm1, xmm1
movaps xmm0, xmm4
mulss xmm0, dword [edi + 0x80]
addss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [edi + 0x84]
mulss xmm4, dword [edi + 0x88]
addss xmm0, xmm1
addss xmm4, xmm3
unpcklps xmm2, xmm0
movss dword [ebp - 0x2c], xmm4
mov eax, dword [ebp - 0x2c]
movq qword [ebx], xmm2
cmp dword [0x1ff1f34], 0
mov dword [ebx + 8], eax
jne 0x5b0114
call fcn.0046c00b
mov ecx, dword [edi + 0xa4]
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x1c], xmm0
test ecx, ecx
je 0x5affcc
cmp ecx, 1
jne 0x5aff9a
movss xmm1, dword [0x604d48]
lea ebx, [edi + 0x74]
movss xmm0, dword [0x604cb8]
mov dword [ebp - 0x18], 0xaa5599aa
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x10], xmm0
mov dword [ebp - 0x14], 5
jmp 0x5afff4
cmp ecx, 2
jne 0x5affc7
movss xmm0, dword [0x604ddc]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [0x604ca4]
mov dword [ebp - 0x18], 0xffffeeff
movss dword [ebp - 0x10], xmm0
mov dword [ebp - 0x14], 5
lea ebx, [edi + 0x74]
jmp 0x5afff4
movss xmm0, dword [0x604ce8]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [0x604cb8]
mov dword [ebp - 0x18], 0xaaaaaa00
mov dword [ebp - 0x14], 5
movss dword [ebp - 0x10], xmm0
push 0x184
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
push 0x184
push 0
push esi
call fcn.00468b40
movss xmm0, dword [ebp - 0x10]
add esp, 0x10
movaps xmm3, xmm0
mov ecx, esi
push 0x50
push 1
sub esp, 0xc
mov dword [esp + 8], 0x38d1b717
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push 0x7d0
push dword [edi + 0xa8]
call fcn.004eb060
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5b0153
mov eax, dword [ebp - 0x20]
mov ecx, esi
cdq
idiv dword [ebp - 0x14]
push dword [ebp - 0x18]
mov dword [esi + 0x6c], 1
movss xmm2, dword [edi + 0x78]
lea eax, [edx + 1]
movd xmm0, edx
movd xmm3, eax
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm0, xmm0
mulss xmm3, dword [0x604ccc]
mulss xmm0, dword [0x604ccc]
addss xmm3, dword [ebx]
addss xmm0, dword [edi + 0x7c]
unpcklps xmm3, xmm2
movq qword [esi + 0x14c], xmm3
movss dword [ebp - 0x2c], xmm0
mov eax, dword [ebp - 0x2c]
movq qword [esi + 0x74], xmm3
mov dword [esi + 0x154], eax
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x20]
mov eax, 0x55555556
imul ecx
movss xmm0, dword [ebp - 0x1c]
movss dword [esi + 0x13c], xmm0
mov dword [esi + 0x140], 0x3fc00000
mov eax, edx
mov dword [esi + 0x144], 0x40400000
shr eax, 0x1f
add eax, edx
push esi
lea eax, [eax + eax*2]
sub ecx, eax
inc ecx
mov dword [esi + 0x148], ecx
mov ecx, dword [0x9c25b0]
mov ecx, dword [ecx + 0x2c]
call fcn.005bcdc0
mov eax, dword [ebp - 0x24]
mov dword [edi + 0xa0], eax
jmp 0x5b0153
mov eax, dword [0x9c25ac]
mov byte [edi + 0x14], 1
mov dword [eax + 0x21a7c], 1
mov eax, dword [0x9c25b0]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5b0153
nop
cmp dword [eax + 0x1c], edi
jne 0x5b014c
mov dword [eax + 0x1c], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5b0140
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4