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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x61d00c]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, ecx
mov ecx, dword [0x625898]
push edi
mov edi, edx
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x199c]
cmp byte [edx + 0x7b], 0
jne 0x46f37a
test edi, edi
jne 0x46ee45
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ee33
sub ecx, edi
lea edi, [esi + ecx]
mov ecx, dword [0x625898]
movss xmm1, dword [edx + 0x16c]
xorps xmm3, xmm3
movss xmm6, dword [edx + 0xec]
mov eax, edi
addss xmm6, dword [edx + 0xc8]
movss xmm5, dword [edx + 0xc4]
comiss xmm1, xmm3
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x2c], xmm6
setae byte [esp + 0x13]
sub eax, esi
cmp eax, 0x7d0
jle 0x46f1c4
cmp byte [esp + 0x13], 0
jne 0x46f1cf
movups xmm0, xmmword [edx + 0x1c8]
movss xmm4, dword [ecx + 0x18bc]
xorps xmm2, xmm2
movaps xmmword [esp + 0x40], xmm0
xorps xmm1, xmm1
shufps xmm0, xmm0, 0xff
comiss xmm0, xmm6
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x18], xmm2
jb 0x46f163
cmp byte [ecx + 0x2c54], 0
movaps xmm1, xmm6
movss dword [esp + 0x5c], xmm5
movss dword [esp + 0x60], xmm1
jne 0x46ef6d
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm6
divss xmm0, xmm4
cvttss2si edx, xmm0
mov dword [esp + 0x14], edx
test edx, edx
jle 0x46ef6d
xor eax, eax
mov dword [esp + 0x1c], eax
cmp esi, edi
jae 0x46ef58
nop dword [eax]
cmp eax, edx
jge 0x46ef3d
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.005665b0
mov edx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp esi, edi
jb 0x46ef10
movss xmm4, dword [esp + 0x28]
xorps xmm3, xmm3
movss xmm5, dword [esp + 0x24]
movss xmm6, dword [esp + 0x2c]
mov ecx, dword [0x625898]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm6
movss dword [esp + 0x60], xmm1
cmp esi, edi
jae 0x46f14f
movaps xmm6, xmm5
movss dword [esp + 0x30], xmm1
addss xmm6, dword [0x615198]
movaps xmm2, xmm1
movaps xmm3, xmm1
addss xmm2, xmm4
movss dword [esp + 0x20], xmm6
movss dword [esp + 0x14], xmm2
nop dword [eax]
mov eax, dword [ecx + 0x199c]
comiss xmm2, dword [eax + 0x1cc]
jbe 0x46efd2
movss xmm0, dword [eax + 0x1d4]
comiss xmm0, xmm3
jbe 0x46efd2
comiss xmm6, dword [eax + 0x1c8]
jbe 0x46efd2
movss xmm0, dword [eax + 0x1d0]
comiss xmm0, xmm5
ja 0x46efdf
cmp byte [ecx + 0x2c54], 0
je 0x46f0fc
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.005665b0
mov ecx, dword [0x625898]
add esp, 0xc
test eax, eax
cmove eax, edi
movss xmm0, dword [ecx + 0x18bc]
mov edx, dword [ecx + 0x18b8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], edx
movss dword [esp + 0x3c], xmm0
cmp esi, eax
jne 0x46f01f
xorps xmm1, xmm1
jmp 0x46f07f
movss xmm3, dword [0x615198]
movaps xmm2, xmm0
push ecx
push eax
push esi
push ecx
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push eax
mov ecx, edx
call fcn.0046cd70
movss xmm0, dword [esp + 0x40]
comiss xmm0, dword [0x614ff8]
jbe 0x46f062
mov eax, dword [esp + 0x34]
movss xmm1, dword [esp + 0x3c]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x6150c0]
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x40], xmm1
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm1
jae 0x46f090
movss dword [esp + 0x18], xmm1
push dword [esp + 0x60]
mov edx, eax
mov ecx, esi
push dword [esp + 0x60]
push 0
call fcn.0044f4b0
movss xmm4, dword [esp + 0x34]
add esp, 0xc
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x14]
addss xmm3, xmm4
movss xmm1, dword [esp + 0x60]
addss xmm2, xmm4
mov esi, dword [esp + 0x1c]
addss xmm1, xmm4
inc esi
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x60], xmm1
cmp esi, edi
jae 0x46f0fc
movss xmm5, dword [esp + 0x24]
movss xmm6, dword [esp + 0x20]
mov ecx, dword [0x625898]
jmp 0x46efa0
xor eax, eax
mov dword [esp + 0x14], eax
cmp esi, edi
jae 0x46f137
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.005665b0
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp esi, edi
jb 0x46f106
movss xmm1, dword [esp + 0x60]
movss xmm4, dword [esp + 0x28]
movss xmm6, dword [esp + 0x2c]
xorps xmm3, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm2, dword [esp + 0x18]
subss xmm1, xmm6
movss xmm5, dword [esp + 0x24]
addss xmm1, xmm3
addss xmm1, xmm6
movss dword [esp + 0x5c], xmm5
addss xmm2, xmm5
movss dword [esp + 0x60], xmm6
lea ecx, [esp + 0x40]
movss dword [esp + 0x68], xmm1
subss xmm1, xmm6
movss dword [esp + 0x64], xmm2
subss xmm2, xmm5
movss dword [esp + 0x44], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x40], xmm2
call fcn.00451600
push 0
xor edx, edx
lea ecx, [esp + 0x60]
call fcn.00451770
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004acfb6
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
je 0x46f282
comiss xmm3, xmm1
ja 0x46f282
mov edx, dword [ecx + 0x199c]
ucomiss xmm1, xmm3
mov dword [esp + 0x20], edx
lahf
test ah, 0x44
jp 0x46f261
mov eax, dword [edx + 0x1b8]
movss xmm1, dword [edx + 0xc]
movss xmm2, dword [edx + 0x210]
mov dword [esp + 0x14], eax
subss xmm2, xmm1
test eax, eax
je 0x46f24f
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [edx + 1]
movss xmm0, dword [ecx + 0x14]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x14]
movss xmm2, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm2, xmm0
mulss xmm2, dword [eax + ecx*4]
mov eax, dword [esp + 0x20]
mov ecx, dword [0x625898]
addss xmm2, xmm0
subss xmm2, dword [eax + 0x3c]
addss xmm1, xmm2
subss xmm1, xmm5
maxss xmm1, dword [0x6150c8]
jmp 0x46f285
comiss xmm1, xmm3
jbe 0x46f274
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [edx + 0x54]
addss xmm1, xmm0
subss xmm1, xmm5
maxss xmm1, dword [0x6150c8]
jmp 0x46f285
xorps xmm1, xmm1
movss xmm2, dword [ecx + 0x18bc]
mov eax, dword [ecx + 0x18b8]
movss dword [esp + 0x18], xmm1
mov dword [esp + 0x34], eax
movss dword [esp + 0x20], xmm2
cmp esi, edi
jne 0x46f2ac
xorps xmm0, xmm0
jmp 0x46f30e
movss xmm3, dword [0x615198]
push ecx
push edi
push esi
push ecx
lea ecx, [esp + 0x50]
movss dword [esp], xmm1
push ecx
mov ecx, eax
call fcn.0046cd70
movss xmm0, dword [esp + 0x40]
xorps xmm3, xmm3
comiss xmm0, xmm3
jbe 0x46f2e9
mov eax, dword [esp + 0x34]
movss xmm1, dword [esp + 0x20]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x6150c0]
movss xmm2, dword [esp + 0x44]
movss xmm5, dword [esp + 0x24]
movss xmm6, dword [esp + 0x2c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm5
movss dword [esp + 0x5c], xmm0
addss xmm1, xmm0
movss dword [esp + 0x60], xmm2
movaps xmm0, xmm6
movss dword [esp + 0x40], xmm5
addss xmm0, xmm2
movss dword [esp + 0x44], xmm6
lea ecx, [esp + 0x5c]
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.00451600
push 0
xor edx, edx
lea ecx, [esp + 0x44]
call fcn.00451770
add esp, 4
test al, al
je 0x46f37a
push dword [esp + 0x44]
movss xmm2, dword [esp + 0x1c]
mov edx, edi
push dword [esp + 0x44]
mov ecx, esi
call fcn.0044f6e0
add esp, 8
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.004acfb6
mov esp, ebp
pop ebp
ret