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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x114
fld dword [ebp + 0xc]
mov eax, dword [0x725c34]
fmul dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [eax]
fstp dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
je 0x47c8e0
lea ebx, [ebx]
mov esi, dword [eax + 8]
mov eax, dword [esi + 4]
test eax, eax
js 0x47c8d4
cmp dword [esi + 0x58], ebx
jne 0x47c8d4
lea eax, [esp + 0xf0]
push eax
mov ecx, esi
call fcn.005efd30
mov ecx, dword [ebp + 8]
movaps xmm0, xmmword [ecx]
movaps xmm1, xmmword [eax]
subps xmm1, xmm0
movaps xmm0, xmm1
mulps xmm0, xmm1
movaps xmm2, xmm0
shufps xmm2, xmm0, 0xaa
movaps xmm3, xmm0
addss xmm3, xmm2
movaps xmmword [esp + 0x100], xmm3
fld dword [esp + 0x100]
fcomp dword [esp + 0x14]
movaps xmmword [esp + 0xc0], xmm1
fnstsw ax
test ah, 5
jp 0x47c8d4
movaps xmm2, xmm1
shufps xmm2, xmm1, 0x55
movaps xmmword [esp + 0x110], xmm2
fld dword [esp + 0x110]
fsub dword [0x68b7fc]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 5
jp 0x47c8d4
movaps xmm3, xmm0
movaps xmm2, xmm0
shufps xmm3, xmm0, 0x55
movaps xmm4, xmm0
shufps xmm2, xmm0, 0xaa
addss xmm4, xmm3
addss xmm4, xmm2
movaps xmmword [esp + 0x90], xmm4
fld dword [esp + 0x90]
fcomp dword [0x68b4fc]
fnstsw ax
test ah, 0x41
jne 0x47c7a0
movaps xmm2, xmm0
shufps xmm2, xmm0, 0xaa
movaps xmm3, xmm0
shufps xmm3, xmm0, 0x55
addss xmm0, xmm3
addss xmm0, xmm2
movaps xmmword [esp + 0x20], xmm0
rsqrtss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x20]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0
mulps xmm1, xmm2
movaps xmmword [esp + 0xd0], xmm1
lea eax, [esp + 0xd0]
jmp 0x47c7a7
lea eax, [esp + 0xc0]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x3ce4e26d
movss xmm0, dword [edx]
movaps xmm1, xmm0
shufps xmm1, xmm0, 0
movaps xmm0, xmmword [eax]
mulps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm1, xmm0, 0xaa
movaps xmmword [esp + 0xe0], xmm1
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xc], eax
movaps xmmword [esp + 0xa0], xmm0
mov edx, dword [esp + 0xa0]
mov eax, edx
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x55
movaps xmmword [esp + 0xb0], xmm1
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x58], eax
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], 0x50
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
je 0x47c848
lea ecx, [esp + 0x50]
push ecx
push 0xb
push esi
call eax
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov eax, edx
mov dword [esp + 0x78], eax
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x70], 0x1b
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], 3
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
je 0x47c898
lea ecx, [esp + 0x70]
push ecx
push 0xb
push esi
call eax
add esp, 0xc
cmp byte [ebp + 0x14], bl
je 0x47c8d4
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0x30], 0x27
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
je 0x47c8d4
lea edx, [esp + 0x30]
push edx
push 0xb
push esi
call eax
add esp, 0xc
mov eax, edi
mov edi, dword [edi]
cmp edi, ebx
jne 0x47c690
mov eax, dword [0x725c44]
mov edi, dword [eax]
cmp edi, ebx
je 0x47caef
nop
mov esi, dword [eax + 8]
mov eax, dword [esi + 4]
test eax, eax
js 0x47cae3
cmp byte [esi + 8], 2
jne 0x47cae3
mov ecx, dword [0x76ba40]
cmp ecx, ebx
je 0x47c932
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x47cae3
movsx eax, byte [eax + 0xc]
cmp eax, dword [ecx + 0xb18]
sete al
cmp al, bl
je 0x47cae3
lea ecx, [esp + 0xf0]
push ecx
mov ecx, esi
call fcn.005efd30
fld dword [ebp + 0xc]
mov edx, dword [ebp + 8]
fadd dword [esi + 0x60]
movaps xmm0, xmmword [edx]
movaps xmm2, xmmword [eax]
subps xmm2, xmm0
movaps xmm0, xmm2
mulps xmm0, xmm2
movaps xmm1, xmm0
shufps xmm1, xmm0, 0xaa
addss xmm0, xmm1
movaps xmmword [esp + 0xa0], xmm0
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x47cae3
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
movaps xmmword [esp + 0xb0], xmm0
fld dword [esp + 0xb0]
fsub dword [0x68b7fc]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 5
jp 0x47cae3
xorps xmm1, xmm1
subps xmm1, xmm2
movaps xmm0, xmm1
mulps xmm0, xmm1
movaps xmm3, xmm0
movaps xmm2, xmm0
shufps xmm3, xmm0, 0x55
movaps xmm4, xmm0
shufps xmm2, xmm0, 0xaa
addss xmm4, xmm3
addss xmm4, xmm2
movaps xmmword [esp + 0xe0], xmm4
fld dword [esp + 0xe0]
fcomp dword [0x68b4fc]
movaps xmmword [esp + 0xd0], xmm1
fnstsw ax
test ah, 0x41
jne 0x47ca36
movaps xmm2, xmm0
shufps xmm2, xmm0, 0xaa
movaps xmm3, xmm0
shufps xmm3, xmm0, 0x55
addss xmm0, xmm3
addss xmm0, xmm2
movaps xmmword [esp + 0x20], xmm0
rsqrtss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x20]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0
mulps xmm1, xmm2
movaps xmmword [esp + 0xc0], xmm1
lea eax, [esp + 0xc0]
jmp 0x47ca3d
lea eax, [esp + 0xd0]
fld dword [esi + 0x60]
movaps xmm6, xmmword [esi + 0x40]
fmul dword [0x68b6d8]
movaps xmm3, xmmword [esi + 0x10]
movaps xmm4, xmmword [esi + 0x30]
movaps xmm7, xmmword [esi + 0x20]
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0xc]
fstp dword [esp + 0xc]
movss xmm0, dword [ecx]
movaps xmm1, xmm0
shufps xmm1, xmm0, 0
movaps xmm0, xmmword [eax]
mulps xmm0, xmm1
movaps xmm1, xmmword [esi + 0x40]
addps xmm1, xmm0
movaps xmm0, xmm1
movaps xmm1, xmm3
movaps xmm5, xmm4
subps xmm0, xmm6
shufps xmm4, xmm6, 0xee
shufps xmm3, xmm7, 0xee
shufps xmm3, xmm4, 0x88
shufps xmm1, xmm7, 0x44
movaps xmm2, xmm1
movaps xmm4, xmm0
shufps xmm4, xmm0, 0xaa
mulps xmm3, xmm4
shufps xmm5, xmm6, 0x44
push 1
shufps xmm1, xmm5, 0xdd
movaps xmm4, xmm0
shufps xmm4, xmm0, 0x55
mulps xmm1, xmm4
addps xmm1, xmm3
push ebx
shufps xmm2, xmm5, 0x88
movaps xmm3, xmm0
shufps xmm3, xmm0, 0
push edx
lea eax, [esp + 0x9c]
mulps xmm2, xmm3
addps xmm2, xmm1
push eax
mov ecx, esi
movaps xmmword [esp + 0xa0], xmm2
call fcn.005a6630
mov eax, edi
mov edi, dword [edi]
cmp edi, ebx
jne 0x47c8f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret