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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xac4
push ebx
push esi
mov esi, dword [ebp + 8]
movsx eax, byte [esi + 0x1a]
mov ebx, dword [eax*4 + 0xa6fa04]
push edi
mov edi, dword [esi + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
call fcn.00673100
mov ecx, dword [0xa6fa00]
mov eax, dword [esi + 8]
mov edx, ebx
imul edx, edx, 0x88
add edx, edi
cmp edx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebx
jb 0x4eb147
mov edx, ecx
sub edx, edi
mov eax, 0x78787879
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [0xa6f958], 0
mov dword [esp + 0x34], eax
je 0x4eb147
mov eax, dword [0xa6f96c]
mov eax, dword [eax + 0x78]
movzx edx, word [eax + 0xc]
mov ecx, dword [ecx + 0x78]
add edx, 0x10
push edx
movsx edx, word [eax + 8]
add edx, eax
movsx eax, word [ecx + 8]
push edx
add eax, ecx
push eax
call fcn.004ad5c0
add esp, 0xc
mov ecx, dword [0xb2f2c0]
test cl, 1
mov eax, 0xf0
jne 0x4eb196
or ecx, 1
mov word [esp + 0x2e], ax
mov word [esp + 0x2c], ax
mov word [esp + 0x2a], ax
mov word [esp + 0x28], ax
mov word [esp + 0x26], ax
mov word [esp + 0x24], ax
mov word [esp + 0x22], ax
mov word [esp + 0x20], ax
movdqa xmm0, xmmword [esp + 0x20]
mov dword [0xb2f2c0], ecx
movdqa xmmword [0xb2f2b0], xmm0
test cl, 2
jne 0x4eb1dc
or ecx, 2
mov word [esp + 0x2e], 0
mov word [esp + 0x2c], ax
mov word [esp + 0x2a], ax
mov word [esp + 0x28], ax
mov word [esp + 0x26], ax
mov word [esp + 0x24], ax
mov word [esp + 0x22], ax
mov word [esp + 0x20], ax
movdqa xmm0, xmmword [esp + 0x20]
mov dword [0xb2f2c0], ecx
movdqa xmmword [0xb2f2a0], xmm0
cmp dword [esp + 0x34], 0
movss xmm3, dword [0x6b02a8]
mov edi, dword [edi + 0x78]
shufps xmm3, xmm3, 0
movaps xmmword [esp + 0x70], xmm3
mov dword [esp + 0x3c], 0
jle 0x4eb5a1
jmp 0x4eb215
movaps xmm3, xmmword [esp + 0x70]
movzx eax, word [edi]
fld qword [0x6f9b80]
movzx edx, word [edi + 6]
movss xmm4, dword [0x6e5b14]
shl eax, 6
add eax, 0xb0
shr eax, 7
add edx, edi
lea ecx, [esp + 0x80]
add eax, 1
prefetcht2 byte [edx]
add edx, 0x80
sub eax, 1
jne 0x4eb241
movzx ebx, byte [edi + 0x13]
movzx edx, word [edi + 0xa]
lea esi, [ebx + ebx*2]
lea eax, [edi + 0x30]
add edx, eax
shl esi, 4
add esi, edx
mov edx, dword [edi + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [edi + 0x24]
mov dword [esp + 0x24], edx
mov edx, dword [edi + 0x28]
mov dword [esp + 0x28], edx
movsx edx, word [edi + 8]
fld dword [esp + 0x28]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
shl ebx, 4
sub edx, ebx
movzx ebx, byte [edi + 0x11]
add edx, edi
test ebx, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], ebx
jle 0x4eb3b4
movss xmm0, xmm4
movaps xmm2, xmm0
add eax, 0xc
fld dword [eax - 0xc]
movzx ebx, byte [edx]
fsub st(1)
movzx esi, byte [eax + 8]
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
fld dword [eax]
mov dword [esp + 0x18], ebx
fstp dword [esp + 0x14]
shr esi, 2
fld dword [esp + 0x14]
mov dword [esp + 0x10], esi
fld st(0)
mov esi, dword [esi*4 + 0x70f680]
fdiv st(5)
shr ebx, 3
mov ebx, dword [esi + ebx*4]
mov esi, dword [esp + 0x10]
cmp ebx, dword [esi*4 + 0x6f97bc]
mov dword [esp + 0x10], 0xb2f2b0
fimul dword [esp + 0x18]
fld dword [eax - 8]
fsubrp st(2)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fsub st(2)
fstp dword [esp + 0x14]
fld dword [eax - 4]
movss xmm1, dword [esp + 0x14]
fsub st(3)
unpcklps xmm0, xmm1
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
unpcklps xmm1, xmm2
shufps xmm0, xmm1, 0x44
mulps xmm0, xmm3
cvtps2dq xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
jb 0x4eb34b
mov dword [esp + 0x10], 0xb2f2a0
mov esi, dword [eax + 4]
movaps xmm0, xmmword [eax + 0x14]
or esi, ebx
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x10]
psrlw xmm0, 8
movdqa xmm1, xmm0
movaps xmm0, xmmword [esi]
movzx esi, word [esp + 0x50]
andps xmm0, xmm1
packuswb xmm0, xmm0
movlps qword [ecx + 0xc], xmm0
mov word [ecx], si
movzx esi, word [esp + 0x54]
mov word [ecx + 2], si
movzx esi, word [esp + 0x58]
mov word [ecx + 4], si
movzx esi, word [eax + 0xe]
mov word [ecx + 6], si
mov esi, dword [esp + 0x1c]
sub esi, 1
add edx, 0x10
add ecx, 0x14
add eax, 0x30
test esi, esi
mov dword [esp + 0x1c], esi
jg 0x4eb2ae
mov esi, dword [esp + 0xc]
movsx eax, word [edi + 8]
lea edx, [eax + edi]
mov eax, dword [esp + 0x3c]
mov ebx, eax
and ebx, 3
cmp bl, 3
je 0x4eb3d8
mov ebx, dword [esp + 0x34]
add ebx, 0xffffffff
cmp eax, ebx
jne 0x4eb53a
movzx eax, word [edi + 0xc]
fld dword [edi + 0x14]
fadd dword [0xa6fb38]
mov ebx, eax
shl ebx, 4
sub ebx, eax
fmul qword [0x6f9d20]
mov eax, ebx
movzx ebx, word [edi + 4]
fstp dword [esp + 0xc]
add eax, edx
add ebx, eax
mov dword [esp + 0x14], ebx
cvttss2si eax, dword [esp + 0xc]
movzx eax, al
shl eax, 0x18
mov dword [esp + 0x4c], eax
movzx eax, word [edi]
test eax, eax
mov dword [esp + 0x1c], eax
jl 0x4eb53a
movss xmm0, xmm4
movaps xmm1, xmm0
lea eax, [esi + 0xc]
lea edx, [edi + 0x50]
fld dword [eax - 0xc]
movzx ebx, byte [ebx]
fsub st(1)
movzx esi, byte [edx - 0xc]
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
fld dword [eax]
mov dword [esp + 0x18], ebx
fstp dword [esp + 0xc]
shr esi, 2
fld dword [esp + 0xc]
mov dword [esp + 0x10], esi
fld st(0)
mov esi, dword [esi*4 + 0x70f680]
fdiv st(5)
shr ebx, 3
mov ebx, dword [esi + ebx*4]
mov esi, dword [esp + 0x10]
cmp ebx, dword [esi*4 + 0x6f97bc]
mov dword [esp + 0x10], 0xb2f2b0
fimul dword [esp + 0x18]
fld dword [eax - 8]
fsubrp st(2)
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fsub st(2)
fstp dword [esp + 0xc]
movss xmm2, dword [esp + 0xc]
fld dword [eax - 4]
unpcklps xmm0, xmm2
fsub st(3)
fstp dword [esp + 0x18]
movss xmm2, dword [esp + 0x18]
unpcklps xmm2, xmm1
shufps xmm0, xmm2, 0x44
mulps xmm0, xmm3
cvtps2dq xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
jb 0x4eb4cd
mov dword [esp + 0x10], 0xb2f2a0
mov esi, dword [eax + 4]
movaps xmm0, xmmword [edx]
and esi, 0xffffff
or esi, ebx
or esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x10]
movaps xmm2, xmmword [esi]
movzx esi, word [esp + 0x60]
psrlw xmm0, 4
andps xmm0, xmm2
packuswb xmm0, xmm0
movlps qword [ecx + 0xc], xmm0
mov word [ecx], si
movzx esi, word [esp + 0x64]
mov word [ecx + 2], si
movzx esi, word [esp + 0x68]
mov word [ecx + 4], si
movzx esi, word [edx - 6]
add ebx, 0x10
mov word [ecx + 6], si
add ecx, 0x14
add eax, 0x30
add edx, 0x30
sub dword [esp + 0x1c], 1
mov dword [esp + 0x14], ebx
jns 0x4eb430
lea eax, [esp + 0x80]
fstp st(2)
sub ecx, eax
fstp st(0)
mov esi, dword [esp + 0x40]
fstp st(0)
mov eax, 0x66666667
fstp st(0)
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebx, [eax + eax*4]
add ebx, ebx
add ebx, ebx
push ebx
lea ecx, [esp + 0x84]
push ecx
push esi
call fcn.004ad5c0
movzx edx, word [edi + 6]
mov eax, dword [esp + 0x48]
add eax, 1
add esi, ebx
add esp, 0xc
add edi, edx
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], eax
jl 0x4eb210
mov ebx, dword [esp + 0x44]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esi + 8]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0xc], eax
movzx eax, word [esi + 0x12]
cdq
idiv ebx
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx*4 + 0xa6fa48]
mov cx, word [edx + eax*8 + 4]
mov word [esi + 0x10], cx
pop edi
lea eax, [edx + eax*8]
mov edx, dword [eax]
mov dword [esi], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret