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

Disassembly:
sub esp, 0x58
lea eax, [esp + 8]
push ebp
push esi
push edi
mov edi, dword [0x6815a8]
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push dword [esp + 0x88]
push eax
call fcn.00469880
mov ebp, dword [esp + 0xa0]
add esp, 0x14
test ebp, ebp
je 0x4a263b
mov byte [ebp], 0
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4a2649
mov byte [ecx], 0
mov esi, dword [esp + 0x6c]
movss xmm3, dword [0x672010]
movss xmm2, dword [esi + 8]
movss xmm1, dword [esi]
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm3, xmm0
jae 0x4a2984
movss xmm0, dword [esp + 0x78]
movss xmm3, dword [esp + 0x74]
subss xmm2, xmm3
addss xmm1, xmm3
addss xmm0, dword [esi + 4]
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x30], xmm0
test ecx, ecx
je 0x4a26bf
addss xmm1, dword [esp + 0x14]
comiss xmm1, xmm2
seta al
mov byte [ecx], al
mulss xmm3, dword [0x672020]
xor cl, cl
mov edx, dword [esp + 0x84]
movss xmm5, dword [esi + 8]
movss xmm4, dword [edi + 0x3c98]
movaps xmm0, xmm5
movss xmm6, dword [esi]
subss xmm0, xmm3
movss xmm7, dword [esi + 4]
movaps xmm3, xmm6
push ebx
xor bl, bl
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x14], xmm7
subss xmm0, xmm4
maxss xmm3, xmm0
movss dword [esp + 0x10], xmm3
test edx, edx
je 0x4a275a
cmp byte [esp + 0x8c], bl
jne 0x4a2731
movaps xmm1, xmm5
movaps xmm0, xmm4
maxss xmm0, dword [edi + 0x38e4]
subss xmm1, xmm6
comiss xmm1, xmm0
jb 0x4a275a
mov eax, dword [edi + 0x3f2c]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
je 0x4a2754
cmp eax, edx
je 0x4a2754
mov eax, dword [edi + 0x3f40]
cmp eax, ecx
je 0x4a2754
cmp eax, edx
jne 0x4a2758
mov cl, 1
jmp 0x4a275a
mov cl, bl
test byte [esp + 0x74], 1
je 0x4a2771
movaps xmm0, xmm3
addss xmm0, xmm4
comiss xmm5, xmm0
jb 0x4a2771
mov al, 1
jmp 0x4a2773
xor al, al
mov byte [esp + 0x90], al
test cl, cl
je 0x4a287f
movups xmm0, xmmword [edi + 0x3fb4]
mov esi, dword [edi + 0x3fec]
lea eax, [esp + 0x78]
push eax
movups xmmword [esp + 0x3c], xmm0
push 0xb
movups xmm0, xmmword [edi + 0x3fc4]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [edi + 0x3fd4]
movups xmmword [esp + 0x60], xmm0
movq xmm0, qword [edi + 0x3fe4]
movq qword [esp + 0x28], xmm0
call fcn.0047ca10
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x94]
call fcn.0049aa90
mov ecx, 1
movzx ebx, bl
test al, al
push ecx
cmovne ebx, ecx
call fcn.0047c500
movups xmm0, xmmword [esp + 0x4c]
add esp, 0x14
test byte [esp + 0x74], 4
movups xmmword [edi + 0x3fb4], xmm0
movups xmm0, xmmword [esp + 0x48]
movups xmmword [edi + 0x3fc4], xmm0
movups xmm0, xmmword [esp + 0x58]
movups xmmword [edi + 0x3fd4], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [edi + 0x3fe4], xmm0
mov dword [edi + 0x3fec], esi
jne 0x4a2845
push 0
push 2
call fcn.004768d0
add esp, 8
movzx ebx, bl
test al, al
mov eax, 1
cmovne ebx, eax
cmp byte [esp + 0x90], 0
movss xmm2, dword [esp + 0x94]
subss xmm2, dword [esp + 0x70]
movss xmm1, dword [esp + 0x70]
mulss xmm1, dword [0x547184]
mov edi, dword [esp + 0x6c]
movaps xmm3, xmm2
jne 0x4a293d
xorps xmm1, xmm1
jmp 0x4a293d
test al, al
je 0x4a2916
movss xmm1, dword [edi + 0x3890]
movaps xmm0, xmm3
movss xmm2, dword [edi + 0x3894]
addss xmm1, xmm1
addss xmm0, xmm4
addss xmm2, xmm2
push ecx
mov dword [esp], 0x3f800000
push 0
addss xmm1, xmm0
movaps xmm0, xmm7
addss xmm0, xmm4
addss xmm1, xmm3
addss xmm2, xmm0
mulss xmm1, dword [0x672008]
addss xmm2, xmm7
movss dword [esp + 0x18], xmm1
mulss xmm2, dword [0x672008]
movss dword [esp + 0x1c], xmm2
call fcn.00474aa0
mov edi, dword [esp + 0x74]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push edi
call fcn.0048d4f0
movss xmm2, dword [esp + 0xac]
add esp, 0x18
movss xmm4, dword [esp + 0x70]
mov al, byte [esp + 0x90]
jmp 0x4a291a
mov edi, dword [esp + 0x6c]
movss xmm3, dword [esi + 8]
subss xmm3, dword [0x672010]
test al, al
je 0x4a294d
movaps xmm1, xmm4
mulss xmm1, dword [0x547184]
subss xmm2, xmm1
movaps xmm3, xmm2
movss xmm0, dword [esp + 0x30]
subss xmm0, xmm1
movss dword [esp + 0x30], xmm0
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x88]
lea eax, [esp + 0x3c]
sub esp, 8
movss dword [esp + 4], xmm3
movss dword [esp], xmm2
push eax
lea eax, [esp + 0x40]
push eax
push edi
call fcn.0047e3d0
add esp, 0x20
test ebp, ebp
je 0x4a2983
mov byte [ebp], bl
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x58
ret