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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x18]
add ecx, 7
and ecx, 0xfffffff8
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ecx + edx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
lea eax, [edx + ecx*2]
mov dword [esp + 0x24], eax
lea eax, [edx + ecx*2]
add eax, ecx
mov dword [esp + 0x28], eax
lea eax, [edx + ecx*4]
mov dword [esp + 0x2c], eax
lea eax, [edx + ecx*4]
add eax, ecx
mov dword [esp + 0x30], eax
lea eax, [ecx + ecx*2]
lea eax, [edx + eax*2]
mov dword [esp + 0x34], eax
lea eax, [ecx*8]
sub eax, ecx
add eax, edx
lea edx, [edi + edi*2]
mov edi, dword [ebp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], edx
movups xmm5, xmmword [eax]
mov eax, dword [ebp + 8]
movaps xmm4, xmm5
pshufb xmm4, xmmword [str._b_n_b_n_b_n_b_n_b_n_b_n_b_n_b_n_f]
sub eax, edx
mov edx, ecx
mov dword [esp + 0x1c], eax
add eax, 0xfffffffd
sub edi, eax
movaps xmm6, xmm5
mov dword [esp + 0xc], edi
pshufb xmm6, xmmword [0x1082a010]
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
movaps xmm7, xmm5
movaps xmmword [esp + 0x80], xmm4
pshufb xmm7, xmmword [0x108395c0]
pshufb xmm5, xmmword [0x108395e0]
movq xmm0, qword [eax + 5]
lea eax, [eax + 8]
movq xmm3, qword [eax - 4]
movq xmm1, qword [eax - 8]
movq xmm2, qword [eax - 2]
punpcklbw xmm3, xmm0
movq xmm0, qword [eax - 7]
punpcklbw xmm1, xmm0
movq xmm0, qword [eax - 1]
pmaddubsw xmm3, xmm4
pmaddubsw xmm1, xmm6
punpcklbw xmm2, xmm0
movq xmm0, qword [eax - 5]
pmaddubsw xmm2, xmm5
paddw xmm3, xmm1
movq xmm1, qword [eax - 6]
paddw xmm3, xmmword [0x10829ff0]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm7
paddw xmm2, xmm1
paddsw xmm3, xmm2
psraw xmm3, 7
packuswb xmm3, xmm3
movq qword [esi + eax - 8], xmm3
sub edx, 8
jne 0x10304021
mov esi, dword [ebp + 8]
lea edx, [edi + edi]
mov edi, dword [esp + 0x20]
mov eax, esi
sub eax, edx
mov dword [esp + 0x50], edx
add eax, 0xfffffffd
mov edx, ecx
sub edi, eax
mov dword [esp + 0xc], edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
nop dword [eax]
movq xmm0, qword [eax + 5]
lea eax, [eax + 8]
movq xmm3, qword [eax - 4]
movq xmm1, qword [eax - 8]
movq xmm2, qword [eax - 2]
punpcklbw xmm3, xmm0
movq xmm0, qword [eax - 7]
punpcklbw xmm1, xmm0
movq xmm0, qword [eax - 1]
pmaddubsw xmm3, xmm4
pmaddubsw xmm1, xmm6
punpcklbw xmm2, xmm0
movq xmm0, qword [eax - 5]
pmaddubsw xmm2, xmm5
paddw xmm3, xmm1
movq xmm1, qword [eax - 6]
paddw xmm3, xmmword [0x10829ff0]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm7
paddw xmm2, xmm1
paddsw xmm3, xmm2
psraw xmm3, 7
packuswb xmm3, xmm3
movq qword [ecx + eax - 8], xmm3
sub edx, 8
jne 0x103040c0
mov edx, dword [esp + 0x10]
mov eax, esi
mov esi, dword [esp + 0x24]
sub eax, edi
mov dword [esp + 0x4c], eax
add eax, 0xfffffffd
sub esi, eax
mov dword [esp + 0xc], esi
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
nop word [eax + eax]
movq xmm0, qword [eax + 5]
lea eax, [eax + 8]
movq xmm3, qword [eax - 4]
movq xmm1, qword [eax - 8]
movq xmm2, qword [eax - 2]
punpcklbw xmm3, xmm0
movq xmm0, qword [eax - 7]
punpcklbw xmm1, xmm0
movq xmm0, qword [eax - 1]
pmaddubsw xmm3, xmm4
pmaddubsw xmm1, xmm6
punpcklbw xmm2, xmm0
movq xmm0, qword [eax - 5]
pmaddubsw xmm2, xmm5
paddw xmm3, xmm1
movq xmm1, qword [eax - 6]
paddw xmm3, xmmword [0x10829ff0]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm7
paddw xmm2, xmm1
paddsw xmm3, xmm2
psraw xmm3, 7
packuswb xmm3, xmm3
movq qword [ecx + eax - 8], xmm3
sub edx, 8
jne 0x10304160
mov edi, dword [esp + 0x28]
lea eax, [esi - 3]
mov edx, dword [esp + 0x10]
sub edi, eax
mov dword [esp + 0xc], edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
nop
movq xmm0, qword [eax + 5]
lea eax, [eax + 8]
movq xmm3, qword [eax - 4]
movq xmm1, qword [eax - 8]
movq xmm2, qword [eax - 2]
punpcklbw xmm3, xmm0
movq xmm0, qword [eax - 7]
punpcklbw xmm1, xmm0
movq xmm0, qword [eax - 1]
pmaddubsw xmm3, xmm4
pmaddubsw xmm1, xmm6
punpcklbw xmm2, xmm0
movq xmm0, qword [eax - 5]
pmaddubsw xmm2, xmm5
paddw xmm3, xmm1
movq xmm1, qword [eax - 6]
paddw xmm3, xmmword [0x10829ff0]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm7
paddw xmm2, xmm1
paddsw xmm3, xmm2
psraw xmm3, 7
packuswb xmm3, xmm3
movq qword [eax + ecx - 8], xmm3
sub edx, 8
jne 0x103041f0
mov ecx, dword [esp + 0x2c]
lea eax, [esi - 3]
mov edx, dword [esp + 0x10]
add eax, edi
sub ecx, eax
mov dword [esp + 0xc], ecx
mov ecx, edx
mov esi, dword [esp + 0xc]
movq xmm0, qword [eax + 5]
lea eax, [eax + 8]
movq xmm3, qword [eax - 4]
movq xmm1, qword [eax - 8]
movq xmm2, qword [eax - 2]
punpcklbw xmm3, xmm0
movq xmm0, qword [eax - 7]
punpcklbw xmm1, xmm0
movq xmm0, qword [eax - 1]
pmaddubsw xmm3, xmm4
pmaddubsw xmm1, xmm6
punpcklbw xmm2, xmm0
movq xmm0, qword [eax - 5]
pmaddubsw xmm2, xmm5
paddw xmm3, xmm1
movq xmm1, qword [eax - 6]
paddw xmm3, xmmword [0x10829ff0]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm7
paddw xmm2, xmm1
paddsw xmm3, xmm2
psraw xmm3, 7
packuswb xmm3, xmm3
movq qword [esi + eax - 8], xmm3
sub edx, 8
jne 0x10304280
mov eax, dword [esp + 0x50]
mov edx, ecx
mov esi, dword [ebp + 8]
add eax, 0xfffffffd
mov edi, dword [esp + 0x30]
add eax, esi
sub edi, eax
mov ecx, edi
nop dword [eax]
movq xmm0, qword [eax + 5]
lea eax, [eax + 8]
movq xmm3, qword [eax - 4]
movq xmm1, qword [eax - 8]
movq xmm2, qword [eax - 2]
punpcklbw xmm3, xmm0
movq xmm0, qword [eax - 7]
punpcklbw xmm1, xmm0
movq xmm0, qword [eax - 1]
pmaddubsw xmm3, xmm4
pmaddubsw xmm1, xmm6
punpcklbw xmm2, xmm0
movq xmm0, qword [eax - 5]
pmaddubsw xmm2, xmm5
paddw xmm3, xmm1
movq xmm1, qword [eax - 6]
paddw xmm3, xmmword [0x10829ff0]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm7
paddw xmm2, xmm1
paddsw xmm3, xmm2
psraw xmm3, 7
packuswb xmm3, xmm3
movq qword [ecx + eax - 8], xmm3
sub edx, 8
jne 0x10304310
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
add eax, 0xfffffffd
mov edx, dword [esp + 0x10]
add eax, esi
sub edi, eax
mov dword [esp + 0xc], edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
nop word [eax + eax]
movq xmm0, qword [eax + 5]
lea eax, [eax + 8]
movq xmm3, qword [eax - 4]
movq xmm1, qword [eax - 8]
movq xmm2, qword [eax - 2]
punpcklbw xmm3, xmm0
movq xmm0, qword [eax - 7]
punpcklbw xmm1, xmm0
movq xmm0, qword [eax - 1]
pmaddubsw xmm3, xmm4
pmaddubsw xmm1, xmm6
punpcklbw xmm2, xmm0
movq xmm0, qword [eax - 5]
pmaddubsw xmm2, xmm5
paddw xmm3, xmm1
movq xmm1, qword [eax - 6]
paddw xmm3, xmmword [0x10829ff0]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm7
paddw xmm2, xmm1
paddsw xmm3, xmm2
psraw xmm3, 7
packuswb xmm3, xmm3
movq qword [eax + ecx - 8], xmm3
sub edx, 8
jne 0x103043b0
mov eax, dword [ebp + 0x14]
lea edx, [edi*4 - 3]
mov ecx, dword [esp + 0x10]
add eax, eax
mov dword [esp + 0x7c], eax
add edx, esi
mov eax, 3
mov dword [esp + 0x14], edx
sub eax, edi
mov dword [esp + 0x54], eax
nop dword [eax]
mov eax, edx
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x14]
nop word [eax + eax]
movq xmm0, qword [eax + 5]
lea eax, [eax + 8]
movq xmm3, qword [eax - 4]
movq xmm1, qword [eax - 8]
movq xmm2, qword [eax - 2]
punpcklbw xmm3, xmm0
movq xmm0, qword [eax - 7]
punpcklbw xmm1, xmm0
movq xmm0, qword [eax - 1]
pmaddubsw xmm3, xmm4
pmaddubsw xmm1, xmm6
punpcklbw xmm2, xmm0
movq xmm0, qword [eax - 5]
pmaddubsw xmm2, xmm5
paddw xmm3, xmm1
movq xmm1, qword [eax - 6]
paddw xmm3, xmmword [0x10829ff0]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm7
paddw xmm2, xmm1
paddsw xmm3, xmm2
psraw xmm3, 7
packuswb xmm3, xmm3
movq qword [eax + edx - 8], xmm3
sub ecx, 8
jne 0x10304460
mov edx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x103046e8
lea edi, [edx + 3]
mov eax, esi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x54]
add edi, edx
mov edx, dword [esp + 0x50]
add edx, esi
mov dword [esp + 0x48], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
add edx, edi
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0x24]
sub edx, esi
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x20]
sub edx, esi
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x24]
sub edx, esi
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x28]
sub edx, esi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x2c]
sub edx, esi
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x30]
sub edx, esi
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x34]
sub edx, esi
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
sub edx, esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
lea esi, [esi + 0x10]
movq xmm1, qword [eax]
lea eax, [eax + 8]
movq xmm0, qword [ecx + eax - 8]
mov ecx, dword [esp + 0x44]
punpcklbw xmm1, xmm0
movups xmmword [esi - 0x10], xmm1
add dword [esp + 0x44], 8
movq xmm0, qword [ecx]
mov ecx, dword [esp + 0x3c]
movq xmm4, qword [eax + edi - 8]
punpcklbw xmm4, xmm0
pmaddubsw xmm4, xmmword [esp + 0x80]
movq xmm1, qword [ecx]
mov ecx, dword [esp + 0x40]
add dword [esp + 0x3c], 8
add dword [esp + 0x40], 8
movq xmm0, qword [ecx]
mov ecx, dword [esp + 0x4c]
punpcklbw xmm1, xmm0
movq xmm0, qword [eax - 8]
pmaddubsw xmm1, xmm6
movq xmm2, qword [ecx + edx]
add edx, 8
mov ecx, dword [esp + 0x48]
punpcklbw xmm2, xmm0
pmaddubsw xmm2, xmm7
paddw xmm4, xmm1
add dword [esp + 0x48], 8
movq xmm1, qword [ecx]
mov ecx, dword [esp + 0x18]
paddw xmm4, xmmword [0x10829ff0]
add dword [esp + 0x18], 8
movq xmm0, qword [ecx]
mov ecx, dword [esp + 0x60]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm5
movq xmm3, qword [ecx + eax - 8]
mov ecx, dword [esp + 0x64]
paddw xmm2, xmm1
paddsw xmm4, xmm2
movq xmm0, qword [ecx + eax - 8]
mov ecx, dword [esp + 0x68]
punpcklbw xmm3, xmm0
pmaddubsw xmm3, xmmword [esp + 0x80]
psraw xmm4, 7
movq xmm1, qword [ecx + eax - 8]
mov ecx, dword [esp + 0x6c]
packuswb xmm4, xmm4
movq xmm0, qword [ecx + eax - 8]
mov ecx, dword [esp + 0x70]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm6
movq xmm2, qword [ecx + eax - 8]
mov ecx, dword [esp + 0x74]
paddw xmm3, xmm1
paddw xmm3, xmmword [0x10829ff0]
movq xmm0, qword [ecx + eax - 8]
mov ecx, dword [esp + 0x78]
punpcklbw xmm2, xmm0
pmaddubsw xmm2, xmm5
movq xmm1, qword [ecx + eax - 8]
mov ecx, dword [esp + 0xc]
movq xmm0, qword [ecx + eax - 8]
mov ecx, dword [ebp + 0x14]
punpcklbw xmm1, xmm0
pmaddubsw xmm1, xmm7
paddw xmm2, xmm1
paddsw xmm3, xmm2
psraw xmm3, 7
packuswb xmm3, xmm3
punpcklbw xmm4, xmm3
movups xmmword [esi + ecx - 0x10], xmm4
cmp edx, dword [esp + 0x10]
jl 0x10304573
movaps xmm4, xmmword [esp + 0x80]
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
add esi, edi
add dword [ebp + 0x10], eax
add edx, edi
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x24]
add dword [esp + 0x1c], edi
add dword [esp + 0x4c], edi
sub dword [ebp + 0x1c], 1
mov dword [ebp + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebp + 8], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
jne 0x10304450
pop edi
pop esi
mov esp, ebp
pop ebp
ret