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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [ebp + 8]
mov al, byte [esi + ecx + 0x38]
dec al
and al, 0xf
mov byte [esi + ecx + 0x38], al
push edi
push dword [ebp + 0x10]
movzx edi, al
mov eax, edi
and eax, 1
mov edx, eax
lea esi, [esi + esi*8]
xor edx, 1
lea ebx, [edi + edx]
shl esi, 7
add esi, dword [ecx + 0x50]
add edi, eax
lea ecx, [edx + edx*8]
shl ecx, 6
lea eax, [eax + eax*8]
add ecx, esi
shl eax, 5
mov dword [ebp - 4], ecx
and edi, 0xf
lea ecx, [ecx + ebx*2]
add edi, eax
push ecx
lea eax, [esi + edi*2]
push eax
mov dword [ebp - 8], ebx
call fcn.007be3d1
lea eax, [ebp - 0x48]
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
lea ebx, [0x895400]
add eax, eax
mov ecx, dword [ebp - 4]
sub ebx, eax
mov edx, dword [ebp + 8]
movq mm0, qword [ecx]
pmaddwd mm0, qword [ebx]
movq mm2, qword [ebx + 8]
pmaddwd mm2, qword [ecx + 8]
movq mm4, qword [ebx + 0x10]
pmaddwd mm4, qword [ecx + 0x10]
movq mm6, qword [ebx + 0x18]
pmaddwd mm6, qword [ecx + 0x18]
paddd mm0, mm2
movq mm1, qword [ebx + 0x40]
paddd mm0, mm4
movq mm3, qword [ebx + 0x48]
paddd mm0, mm6
movq mm5, qword [ebx + 0x50]
movq mm2, mm0
movq mm7, qword [ebx + 0x58]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x20]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x28]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x30]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x38]
movd eax, mm2
mov word [edx], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x80]
paddd mm1, mm5
movq mm2, qword [ebx + 0x88]
paddd mm1, mm7
movq mm4, qword [ebx + 0x90]
movq mm3, mm1
movq mm6, qword [ebx + 0x98]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x40]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x48]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x50]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x58]
movd eax, mm3
mov word [edx + 2], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0xc0]
paddd mm0, mm4
movq mm3, qword [ebx + 0xc8]
paddd mm0, mm6
movq mm5, qword [ebx + 0xd0]
movq mm2, mm0
movq mm7, qword [ebx + 0xd8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x60]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x68]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x70]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x78]
movd eax, mm2
mov word [edx + 4], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x100]
paddd mm1, mm5
movq mm2, qword [ebx + 0x108]
paddd mm1, mm7
movq mm4, qword [ebx + 0x110]
movq mm3, mm1
movq mm6, qword [ebx + 0x118]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x80]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x88]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x90]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x98]
movd eax, mm3
mov word [edx + 6], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x140]
paddd mm0, mm4
movq mm3, qword [ebx + 0x148]
paddd mm0, mm6
movq mm5, qword [ebx + 0x150]
movq mm2, mm0
movq mm7, qword [ebx + 0x158]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0xa0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0xa8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0xb0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0xb8]
movd eax, mm2
mov word [edx + 8], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x180]
paddd mm1, mm5
movq mm2, qword [ebx + 0x188]
paddd mm1, mm7
movq mm4, qword [ebx + 0x190]
movq mm3, mm1
movq mm6, qword [ebx + 0x198]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0xc0]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0xc8]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0xd0]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0xd8]
movd eax, mm3
mov word [edx + 0xa], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x1c0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x1c8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x1d0]
movq mm2, mm0
movq mm7, qword [ebx + 0x1d8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0xe0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0xe8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0xf0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0xf8]
movd eax, mm2
mov word [edx + 0xc], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x200]
paddd mm1, mm5
movq mm2, qword [ebx + 0x208]
paddd mm1, mm7
movq mm4, qword [ebx + 0x210]
movq mm3, mm1
movq mm6, qword [ebx + 0x218]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x100]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x108]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x110]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x118]
movd eax, mm3
mov word [edx + 0xe], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x240]
paddd mm0, mm4
movq mm3, qword [ebx + 0x248]
paddd mm0, mm6
movq mm5, qword [ebx + 0x250]
movq mm2, mm0
movq mm7, qword [ebx + 0x258]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x120]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x128]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x130]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x138]
movd eax, mm2
mov word [edx + 0x10], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x280]
paddd mm1, mm5
movq mm2, qword [ebx + 0x288]
paddd mm1, mm7
movq mm4, qword [ebx + 0x290]
movq mm3, mm1
movq mm6, qword [ebx + 0x298]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x140]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x148]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x150]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x158]
movd eax, mm3
mov word [edx + 0x12], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x2c0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x2c8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x2d0]
movq mm2, mm0
movq mm7, qword [ebx + 0x2d8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x160]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x168]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x170]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x178]
movd eax, mm2
mov word [edx + 0x14], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x300]
paddd mm1, mm5
movq mm2, qword [ebx + 0x308]
paddd mm1, mm7
movq mm4, qword [ebx + 0x310]
movq mm3, mm1
movq mm6, qword [ebx + 0x318]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x180]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x188]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x190]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x198]
movd eax, mm3
mov word [edx + 0x16], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x340]
paddd mm0, mm4
movq mm3, qword [ebx + 0x348]
paddd mm0, mm6
movq mm5, qword [ebx + 0x350]
movq mm2, mm0
movq mm7, qword [ebx + 0x358]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x1a0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x1a8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x1b0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x1b8]
movd eax, mm2
mov word [edx + 0x18], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x380]
paddd mm1, mm5
movq mm2, qword [ebx + 0x388]
paddd mm1, mm7
movq mm4, qword [ebx + 0x390]
movq mm3, mm1
movq mm6, qword [ebx + 0x398]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x1c0]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x1c8]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x1d0]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x1d8]
movd eax, mm3
mov word [edx + 0x1a], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x3c0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x3c8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x3d0]
movq mm2, mm0
movq mm7, qword [ebx + 0x3d8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x1e0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x1e8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x1f0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x1f8]
movd eax, mm2
mov word [edx + 0x1c], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x400]
paddd mm1, mm5
movq mm2, qword [ebx + 0x408]
paddd mm1, mm7
movq mm4, qword [ebx + 0x410]
movq mm3, mm1
movq mm6, qword [ebx + 0x418]
psrlq mm1, 0x20
pmulhw mm0, qword [ecx + 0x200]
paddd mm3, mm1
pmulhw mm2, qword [ecx + 0x208]
psrad mm3, 0xd
pmulhw mm4, qword [ecx + 0x210]
packssdw mm3, mm3
pmulhw mm6, qword [ecx + 0x218]
pslld mm0, 0x10
pslld mm2, 0x10
mov ebx, dword [ebp - 8]
pslld mm4, 0x10
neg ebx
pslld mm6, 0x10
movd eax, mm3
mov word [edx + 0x1e], ax
lea ebx, [ebx*2 + 0x895000]
movq mm1, qword [ebx]
paddd mm0, mm2
movq mm3, qword [ebx + 8]
paddd mm0, mm4
movq mm5, qword [ebx + 0x10]
paddd mm0, mm6
movq mm7, qword [ebx + 0x18]
movq mm2, mm0
pmaddwd mm1, qword [ecx + 0x1e0]
psrlq mm2, 0x20
pmaddwd mm3, qword [ecx + 0x1e8]
paddd mm0, mm2
pmaddwd mm5, qword [ecx + 0x1f0]
psrad mm0, 0xd
pmaddwd mm7, qword [ecx + 0x1f8]
packssdw mm0, mm0
movd eax, mm0
mov word [edx + 0x20], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x40]
paddd mm1, mm5
movq mm2, qword [ebx + 0x48]
paddd mm1, mm7
movq mm4, qword [ebx + 0x50]
movq mm3, mm1
movq mm6, qword [ebx + 0x58]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x1c0]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x1c8]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x1d0]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x1d8]
movd eax, mm1
mov word [edx + 0x22], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x80]
paddd mm0, mm4
movq mm3, qword [ebx + 0x88]
paddd mm0, mm6
movq mm5, qword [ebx + 0x90]
movq mm2, mm0
movq mm7, qword [ebx + 0x98]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x1a0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x1a8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x1b0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x1b8]
movd eax, mm0
mov word [edx + 0x24], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0xc0]
paddd mm1, mm5
movq mm2, qword [ebx + 0xc8]
paddd mm1, mm7
movq mm4, qword [ebx + 0xd0]
movq mm3, mm1
movq mm6, qword [ebx + 0xd8]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x180]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x188]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x190]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x198]
movd eax, mm1
mov word [edx + 0x26], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x100]
paddd mm0, mm4
movq mm3, qword [ebx + 0x108]
paddd mm0, mm6
movq mm5, qword [ebx + 0x110]
movq mm2, mm0
movq mm7, qword [ebx + 0x118]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x160]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x168]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x170]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x178]
movd eax, mm0
mov word [edx + 0x28], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x140]
paddd mm1, mm5
movq mm2, qword [ebx + 0x148]
paddd mm1, mm7
movq mm4, qword [ebx + 0x150]
movq mm3, mm1
movq mm6, qword [ebx + 0x158]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x140]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x148]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x150]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x158]
movd eax, mm1
mov word [edx + 0x2a], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x180]
paddd mm0, mm4
movq mm3, qword [ebx + 0x188]
paddd mm0, mm6
movq mm5, qword [ebx + 0x190]
movq mm2, mm0
movq mm7, qword [ebx + 0x198]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x120]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x128]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x130]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x138]
movd eax, mm0
mov word [edx + 0x2c], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x1c0]
paddd mm1, mm5
movq mm2, qword [ebx + 0x1c8]
paddd mm1, mm7
movq mm4, qword [ebx + 0x1d0]
movq mm3, mm1
movq mm6, qword [ebx + 0x1d8]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x100]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x108]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x110]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x118]
movd eax, mm1
mov word [edx + 0x2e], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x200]
paddd mm0, mm4
movq mm3, qword [ebx + 0x208]
paddd mm0, mm6
movq mm5, qword [ebx + 0x210]
movq mm2, mm0
movq mm7, qword [ebx + 0x218]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0xe0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0xe8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0xf0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0xf8]
movd eax, mm0
mov word [edx + 0x30], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x240]
paddd mm1, mm5
movq mm2, qword [ebx + 0x248]
paddd mm1, mm7
movq mm4, qword [ebx + 0x250]
movq mm3, mm1
movq mm6, qword [ebx + 0x258]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0xc0]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0xc8]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0xd0]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0xd8]
movd eax, mm1
mov word [edx + 0x32], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x280]
paddd mm0, mm4
movq mm3, qword [ebx + 0x288]
paddd mm0, mm6
movq mm5, qword [ebx + 0x290]
movq mm2, mm0
movq mm7, qword [ebx + 0x298]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0xa0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0xa8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0xb0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0xb8]
movd eax, mm0
mov word [edx + 0x34], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x2c0]
paddd mm1, mm5
movq mm2, qword [ebx + 0x2c8]
paddd mm1, mm7
movq mm4, qword [ebx + 0x2d0]
movq mm3, mm1
movq mm6, qword [ebx + 0x2d8]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x80]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x88]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x90]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x98]
movd eax, mm1
mov word [edx + 0x36], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x300]
paddd mm0, mm4
movq mm3, qword [ebx + 0x308]
paddd mm0, mm6
movq mm5, qword [ebx + 0x310]
movq mm2, mm0
movq mm7, qword [ebx + 0x318]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x60]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x68]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x70]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x78]
movd eax, mm0
mov word [edx + 0x38], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x340]
paddd mm1, mm5
movq mm2, qword [ebx + 0x348]
paddd mm1, mm7
movq mm4, qword [ebx + 0x350]
movq mm3, mm1
movq mm6, qword [ebx + 0x358]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x40]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x48]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x50]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x58]
movd eax, mm1
mov word [edx + 0x3a], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x380]
paddd mm0, mm4
movq mm3, qword [ebx + 0x388]
paddd mm0, mm6
movq mm5, qword [ebx + 0x390]
movq mm2, mm0
movq mm7, qword [ebx + 0x398]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x20]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x28]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x30]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x38]
movd eax, mm0
paddd mm1, mm3
mov word [edx + 0x3c], ax
paddd mm1, mm5
paddd mm1, mm7
movq mm3, mm1
psrlq mm3, 0x20
paddd mm1, mm3
psrad mm1, 0xd
packssdw mm1, mm1
movd eax, mm1
mov word [edx + 0x3e], ax
emms
pop edi
pop esi
xor eax, eax
pop ebx
movsx ecx, word [ebp + eax*2 - 0x48]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0xc]
fild dword [ebp + 8]
fstp dword [ecx + eax*4]
inc eax
cmp eax, 0x20
jl 0x7bf88d
leave
ret 0xc