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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc4
push ebx
push esi
push edi
mov esi, ecx
call fcn.00488d40
mov eax, dword [0x6f2234]
cmp dword [eax + 0x380], 0x35
jne 0x48fe70
mov eax, dword [esi + 0x138]
test eax, eax
je 0x48fe70
mov eax, dword [esi + 0xb8]
cmp word [eax + 0xc], 0xff92
jne 0x48fe70
mov cl, byte [esi + 0x9d]
test cl, cl
jne 0x48fe08
mov ecx, dword [0x6f2258]
call fcn.004198b0
test al, al
jne 0x48fe70
mov eax, dword [0x6dddc8]
test eax, eax
jne 0x48fe70
push 8
mov ecx, 0x6ddda8
call fcn.00486f40
mov byte [esi + 0x9d], 1
mov ecx, dword [0x725b2c]
add ecx, 0x708
mov dword [esi + 0xa0], ecx
jmp 0x48fe70
mov edx, dword [0x725b2c]
cmp edx, dword [esi + 0xa0]
jle 0x48fe70
fld dword [eax + 0x1e0]
fdiv dword [eax + 0x1dc]
fcomp dword [0x68b6d0]
fnstsw ax
test ah, 0x41
jne 0x48fe70
mov ecx, dword [0x6f2258]
call fcn.004198b0
test al, al
jne 0x48fe70
mov eax, dword [0x6dddc8]
test eax, eax
jne 0x48fe70
push 9
mov ecx, 0x6ddda8
call fcn.00486f40
push 0xa
call fcn.00401930
mov ecx, dword [0x725b2c]
lea edx, [eax + ecx + 0x258]
add esp, 4
mov dword [esi + 0xa0], edx
mov eax, dword [esi + 0x138]
cmp eax, dword [esi + 0x94]
jge 0x48feab
mov edi, edi
mov eax, dword [esi + 0x1bc]
test eax, eax
je 0x48feab
mov ecx, esi
call fcn.00487890
test eax, eax
jl 0x48feab
push eax
mov ecx, esi
call fcn.00487a10
mov ecx, dword [esi + 0x138]
cmp ecx, dword [esi + 0x94]
jl 0x48fe80
mov eax, dword [esi + 0x138]
test eax, eax
jne 0x48fec3
mov eax, dword [esi + 0x1bc]
test eax, eax
je 0x49038c
mov ecx, dword [0x6f2258]
test ecx, ecx
je 0x49038c
lea edx, [esp + 0x90]
push edx
call fcn.005efd90
movaps xmm0, xmmword [esp + 0xc0]
movaps xmm1, xmmword [esp + 0xb0]
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
movss xmm0, dword [eax]
mov eax, dword [esi + 0x138]
unpcklps xmm0, xmm1
shufps xmm0, xmm1, 0xe1
movaps xmm1, xmmword [esp + 0x90]
movaps xmmword [esp + 0x50], xmm0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
movss xmm0, dword [ecx]
unpcklps xmm0, xmm1
xor ecx, ecx
test eax, eax
shufps xmm0, xmm1, 0xe1
movaps xmmword [esp + 0x70], xmm0
mov edx, 0xf0000000
jle 0x48ff7a
lea eax, [esi + 0xb8]
lea ecx, [ecx]
mov edi, dword [eax]
test dword [edi + 4], edx
je 0x48ff6c
mov edi, dword [esi + 0x138]
mov edi, dword [esi + edi*4 + 0xb4]
mov dword [eax], edi
dec dword [esi + 0x138]
mov edi, dword [esi + 0x138]
inc ecx
add eax, 4
cmp ecx, edi
jl 0x48ff50
mov eax, dword [esi + 0x1bc]
xor ecx, ecx
test eax, eax
jle 0x48ffba
lea eax, [esi + 0x13c]
lea esp, [esp]
mov edi, dword [eax]
test dword [edi + 4], edx
je 0x48ffac
mov edi, dword [esi + 0x1bc]
mov edi, dword [esi + edi*4 + 0x138]
mov dword [eax], edi
dec dword [esi + 0x1bc]
mov edi, dword [esi + 0x1bc]
inc ecx
add eax, 4
cmp ecx, edi
jl 0x48ff90
mov edx, dword [0x6f2258]
cmp byte [edx + 9], 3
jne 0x490092
mov eax, dword [esi + 0x80]
mov ecx, dword [0x725b2c]
add eax, 0x3c
cmp eax, ecx
jge 0x490092
cmp dword [edx + 0xb68], 0x3c
jbe 0x490092
mov eax, dword [esi + 0x138]
test eax, eax
je 0x490092
xor ebx, ebx
xor ecx, ecx
test eax, eax
mov dword [esp + 0xc], 0x7e967699
jle 0x49006c
movaps xmm3, xmmword [edx + 0x40]
mov edi, eax
lea edx, [esi + 0xb8]
jmp 0x490020
mov eax, dword [edx]
movaps xmm0, xmmword [eax + 0x40]
subps xmm0, xmm3
mulps xmm0, xmm0
movaps xmm1, xmm0
movaps xmm2, xmm0
shufps xmm1, xmm0, 0xaa
shufps xmm2, xmm0, 0x55
addss xmm0, xmm2
addss xmm0, xmm1
movaps xmmword [esp + 0x20], xmm0
fld dword [esp + 0x20]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 5
jnp 0x49005a
test ecx, ecx
jne 0x490064
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov ebx, ecx
inc ecx
add edx, 4
cmp ecx, edi
jl 0x490020
mov ecx, dword [esi + ebx*4 + 0xb8]
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xb8], ecx
mov dword [esi + ebx*4 + 0xb8], eax
mov edx, dword [0x725b2c]
mov dword [esi + 0x80], edx
mov eax, dword [esi + 0x138]
test eax, eax
je 0x490167
mov ecx, dword [esi + 0xb8]
lea eax, [esp + 0x40]
push eax
call fcn.005efd30
movaps xmm1, xmmword [eax]
subps xmm1, xmmword [esp + 0x80]
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 + 0x20], xmm4
fld dword [esp + 0x20]
fcomp dword [0x68b4fc]
movaps xmmword [esp + 0x30], xmm1
fnstsw ax
test ah, 0x41
jne 0x490134
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 + 0x20], xmm1
lea eax, [esp + 0x20]
jmp 0x490138
lea eax, [esp + 0x30]
movaps xmm1, xmmword [eax]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
movss xmm0, dword [ecx]
unpcklps xmm0, xmm1
shufps xmm0, xmm1, 0xe1
movaps xmm1, xmmword [esp + 0xa0]
mulps xmm1, xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x70], xmm1
mov eax, dword [esi + 0x138]
mov ebx, 1
cmp eax, ebx
jle 0x490278
lea edi, [esi + 0xbc]
test bl, 1
fld dword [esi + 0xa8]
je 0x49018d
fchs
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
lea eax, [esp + 0x30]
lea edx, [esp + 0xc]
push eax
fmul st(1)
lea ecx, [esp + 0x24]
push ecx
fstp dword [esp + 0x14]
movss xmm0, dword [edx]
movaps xmmword [esp + 0x38], xmm0
fstp st(0)
call fcn.00602470
movaps xmm0, xmmword [esp + 0x28]
mov edx, dword [esi + 0xa4]
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x55
movaps xmmword [esp + 0x68], xmm1
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x24], edx
lea eax, [esp + 0x24]
movss xmm1, dword [eax]
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x20]
movss xmm2, dword [edx]
movaps xmm4, xmm2
shufps xmm4, xmm2, 0
movaps xmmword [esp + 0x48], xmm0
mov edx, dword [esp + 0x48]
movaps xmm2, xmm1
shufps xmm2, xmm1, 0
movaps xmm1, xmmword [esp + 0x78]
mov dword [esp + 0x1c], eax
mulps xmm1, xmm2
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
movss xmm0, dword [ecx]
mov ecx, dword [edi]
mov dword [esp + 0x18], edx
movss xmm3, dword [eax]
movaps xmm2, xmm3
shufps xmm2, xmm3, 0
movaps xmm3, xmm0
shufps xmm3, xmm0, 0
movaps xmm0, xmmword [esp + 0x58]
mulps xmm0, xmm3
mulps xmm0, xmm2
movaps xmm2, xmmword [esp + 0x88]
mulps xmm1, xmm4
subps xmm2, xmm0
add esp, 8
addps xmm2, xmm1
movaps xmmword [ecx + 0xf50], xmm2
mov eax, dword [esi + 0x138]
inc ebx
add edi, 4
cmp ebx, eax
jl 0x490180
mov eax, dword [esi + 0x1bc]
test eax, eax
jle 0x49038c
mov ebx, 1
lea edi, [esi + 0x13c]
test bl, 1
fld dword [esi + 0xa8]
jne 0x49029e
fchs
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
lea eax, [esp + 0x40]
lea edx, [esp + 0x10]
push eax
fmul st(1)
lea ecx, [esp + 0x64]
push ecx
fstp dword [esp + 0x18]
movss xmm0, dword [edx]
movaps xmmword [esp + 0x48], xmm0
fstp st(0)
call fcn.00602470
movaps xmm0, xmmword [esp + 0x68]
mov edx, dword [esi + 0xac]
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x55
movaps xmmword [esp + 0x38], xmm1
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
movss xmm1, dword [eax]
mov eax, dword [esi + 0xac]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x20]
movss xmm2, dword [edx]
movaps xmm4, xmm2
shufps xmm4, xmm2, 0
movaps xmmword [esp + 0x28], xmm0
mov edx, dword [esp + 0x28]
movaps xmm2, xmm1
shufps xmm2, xmm1, 0
movaps xmm1, xmmword [esp + 0x78]
mov dword [esp + 0x24], eax
mulps xmm1, xmm2
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
movss xmm3, dword [eax]
lea ecx, [esp + 0x24]
movss xmm0, dword [ecx]
mov ecx, dword [edi]
movaps xmm2, xmm3
shufps xmm2, xmm3, 0
movaps xmm3, xmm0
shufps xmm3, xmm0, 0
movaps xmm0, xmmword [esp + 0x58]
mulps xmm0, xmm3
mulps xmm0, xmm2
movaps xmm2, xmmword [esp + 0x88]
add esp, 8
add edi, 4
mulps xmm1, xmm4
addps xmm2, xmm0
inc ebx
addps xmm2, xmm1
movaps xmmword [ecx + 0xf50], xmm2
mov eax, dword [esi + 0x1bc]
lea edx, [ebx - 1]
cmp edx, eax
jl 0x490291
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret