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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x118
mov eax, dword [ebp + 0x1c]
xor ecx, ecx
vmovdqu ymm2, ymmword [0x10842d20]
mov dword [esp + 0x1c], eax
movsx eax, word [ebp + 0x2c]
vmovd xmm0, eax
vpbroadcastw ymm0, xmm0
push esi
mov esi, dword [ebp + 0x18]
vpsrlw ymm1, ymm2, 4
vmovdqu ymmword [esp + 0x9c], ymm0
vpaddw ymm0, ymm1, ymmword [0x10842d00]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x30], esi
mov dword [esp + 0x70], edi
vmovdqu ymmword [esp + 0xc0], ymm1
vmovdqu ymmword [esp + 0x80], ymm0
mov dword [esp + 0x34], ecx
cmp dword [ebp + 8], ecx
jle 0x101a5260
mov edx, dword [ebp + 0x28]
movzx eax, dx
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x14]
add eax, eax
neg edx
mov dword [esp + 0x78], eax
mov dword [ebp + 0x28], edx
mov dword [esp + 0x7c], edx
nop dword [eax + eax]
lea eax, [ecx + 1]
imul eax, dword [esp + 0x74]
cwde
vmovd xmm0, eax
xor eax, eax
vpbroadcastw ymm7, xmm0
vmovdqu ymmword [esp + 0xe0], ymm7
mov dword [esp + 0x68], eax
cmp dword [ebp + 0xc], eax
jle 0x101a5243
vpxor xmm6, xmm6, xmm6
mov dword [esp + 0x6c], edi
mov ecx, edx
mov dword [esp + 0x2c], edx
cwde
mov edi, ecx
vmovd xmm0, eax
sar edi, 6
xor edx, edx
mov eax, edi
not eax
vpbroadcastw ymm5, xmm0
cmp edi, 0xfffffffe
jge 0x101a4d85
lea edx, [eax - 1]
cmp eax, 0x10
jle 0x101a4d91
mov eax, 0x10
jmp 0x101a4da0
test eax, eax
mov dword [esp + 0x28], 0
cmovs eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
cmp edx, 8
jge 0x101a4dce
lea ecx, [edx + edi]
shl edx, 4
vmovdqu xmm0, xmmword [esi + ecx*2]
add edx, 0x10a72700
vpshufb xmm3, xmm0, xmmword [edx]
vmovdqu xmm0, xmmword [esi + ecx*2 + 2]
vpshufb xmm4, xmm0, xmmword [edx]
xor esi, esi
jmp 0x101a4de5
xor esi, esi
vmovdqu ymm3, ymm6
vmovdqu ymm4, ymm6
cmp edx, 8
jle 0x101a4de5
lea esi, [edx - 8]
cmp esi, 8
jge 0x101a4e1b
mov edx, dword [esp + 0x30]
lea ecx, [esi + edi]
shl esi, 4
add esi, 0x10a72700
vmovdqu xmm0, xmmword [edx + ecx*2 + 0x10]
vpshufb xmm0, xmm0, xmmword [esi]
vinserti128 ymm3, ymm3, xmm0, 1
vmovdqu xmm0, xmmword [edx + ecx*2 + 0x12]
vpshufb xmm0, xmm0, xmmword [esi]
mov ecx, dword [esp + 0x2c]
vinserti128 ymm4, ymm4, xmm0, 1
vpsllw ymm0, ymm3, 5
vpaddw ymm2, ymm0, ymm2
vpaddw ymm0, ymm5, ymmword [0x10842d00]
vpsllw ymm0, ymm0, 6
vpsubw ymm0, ymm0, ymm7
vpand ymm0, ymm0, ymmword [0x10842de0]
vpsubw ymm1, ymm4, ymm3
vpsrlw ymm0, ymm0, 1
vpmullw ymm0, ymm0, ymm1
vpaddw ymm0, ymm0, ymm2
vpsrlw ymm7, ymm0, 5
vmovdqu ymm1, ymm6
cmp edi, 0xffffffff
jge 0x101a51dc
vpaddw ymm0, ymm5, ymmword [esp + 0x80]
vpmullw ymm0, ymm0, ymmword [esp + 0xa0]
mov ecx, dword [esp + 0x34]
shl ecx, 6
movsx ecx, cx
vpcmpeqd ymm2, ymm2, ymm2
vpsrlw ymm1, ymm2, 1
vpminuw ymm1, ymm0, ymm1
vmovd xmm0, ecx
vpbroadcastw ymm0, xmm0
vpsubw ymm5, ymm0, ymm1
vpsraw ymm1, ymm5, 6
vpcmpgtw ymm0, ymm2, ymm1
vpandn ymm2, ymm0, ymm1
vextractf128 xmm0, ymm2, 1
vpextrw ecx, xmm0, 7
movsx ecx, cx
mov dword [esp + 0x64], ecx
vextractf128 xmm0, ymm2, 1
vpextrw ecx, xmm0, 6
movsx ecx, cx
mov dword [esp + 0x60], ecx
vextractf128 xmm0, ymm2, 1
vpextrw ecx, xmm0, 5
movsx ecx, cx
mov dword [esp + 0x5c], ecx
vextractf128 xmm0, ymm2, 1
vpextrw ecx, xmm0, 4
movsx ecx, cx
mov dword [esp + 0x58], ecx
vextractf128 xmm0, ymm2, 1
vpextrw ecx, xmm0, 3
movsx ecx, cx
mov dword [esp + 0x54], ecx
vextractf128 xmm0, ymm2, 1
vpextrw ecx, xmm0, 2
movsx ecx, cx
mov dword [esp + 0x50], ecx
vextractf128 xmm0, ymm2, 1
vpextrw ecx, xmm0, 1
movsx ecx, cx
mov dword [esp + 0x4c], ecx
vextractf128 xmm0, ymm2, 1
vmovd ecx, xmm0
movsx ecx, cx
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x24]
vpextrw ecx, xmm2, 7
movsx ecx, cx
mov dword [esp + 0x44], ecx
vpextrw ecx, xmm2, 6
movsx ecx, cx
mov dword [esp + 0x40], ecx
vpextrw ecx, xmm2, 5
movsx ecx, cx
mov dword [esp + 0x3c], ecx
vpextrw ecx, xmm2, 4
movsx ecx, cx
mov dword [esp + 0x38], ecx
vpextrw ecx, xmm2, 3
movsx edi, cx
vpextrw ecx, xmm2, 2
movsx esi, cx
vpextrw ecx, xmm2, 1
movsx edx, cx
vmovd ecx, xmm2
movsx ecx, cx
movzx ecx, word [eax + ecx*2]
vmovd xmm0, ecx
mov ecx, eax
vpinsrw xmm0, xmm0, word [ecx + edx*2], 1
mov ecx, dword [esp + 0x38]
mov edx, eax
vpinsrw xmm0, xmm0, word [edx + esi*2], 2
vpinsrw xmm0, xmm0, word [edx + edi*2], 3
vpinsrw xmm0, xmm0, word [edx + ecx*2], 4
mov ecx, dword [esp + 0x3c]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 5
mov ecx, dword [esp + 0x40]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 6
mov ecx, dword [esp + 0x44]
vpinsrw xmm1, xmm0, word [edx + ecx*2], 7
mov ecx, dword [esp + 0x48]
movzx ecx, word [edx + ecx*2]
vmovd xmm0, ecx
mov ecx, dword [esp + 0x4c]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 1
mov ecx, dword [esp + 0x50]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 2
mov ecx, dword [esp + 0x54]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 3
mov ecx, dword [esp + 0x58]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 4
mov ecx, dword [esp + 0x5c]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 5
mov ecx, dword [esp + 0x60]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 6
mov ecx, dword [esp + 0x64]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 7
vinsertf128 ymm4, ymm1, xmm0, 1
vpaddw ymm1, ymm2, ymmword [esp + 0xc0]
vpsllw ymm0, ymm4, 5
vpaddw ymm3, ymm0, ymmword [0x10842d20]
vpand ymm0, ymm5, ymmword [0x10842de0]
vpsrlw ymm2, ymm0, 1
vextractf128 xmm0, ymm1, 1
vpextrw ecx, xmm0, 7
movsx ecx, cx
mov dword [esp + 0x38], ecx
vextractf128 xmm0, ymm1, 1
vpextrw ecx, xmm0, 6
movsx ecx, cx
mov dword [esp + 0x3c], ecx
vextractf128 xmm0, ymm1, 1
vpextrw ecx, xmm0, 5
movsx ecx, cx
mov dword [esp + 0x40], ecx
vextractf128 xmm0, ymm1, 1
vpextrw ecx, xmm0, 4
movsx ecx, cx
mov dword [esp + 0x44], ecx
vextractf128 xmm0, ymm1, 1
vpextrw ecx, xmm0, 3
movsx ecx, cx
mov dword [esp + 0x48], ecx
vextractf128 xmm0, ymm1, 1
vpextrw ecx, xmm0, 2
movsx ecx, cx
mov dword [esp + 0x4c], ecx
vextractf128 xmm0, ymm1, 1
vpextrw ecx, xmm0, 1
movsx ecx, cx
mov dword [esp + 0x50], ecx
vextractf128 xmm0, ymm1, 1
vmovd ecx, xmm0
movsx ecx, cx
mov dword [esp + 0x54], ecx
vpextrw ecx, xmm1, 7
movsx ecx, cx
mov dword [esp + 0x58], ecx
vpextrw ecx, xmm1, 6
movsx ecx, cx
mov dword [esp + 0x5c], ecx
vpextrw ecx, xmm1, 5
movsx ecx, cx
mov dword [esp + 0x60], ecx
vpextrw ecx, xmm1, 4
movsx ecx, cx
mov dword [esp + 0x64], ecx
vpextrw ecx, xmm1, 3
movsx edi, cx
vpextrw ecx, xmm1, 2
movsx esi, cx
vpextrw ecx, xmm1, 1
movsx edx, cx
vmovd ecx, xmm1
movsx ecx, cx
movzx ecx, word [eax + ecx*2]
vmovd xmm0, ecx
mov ecx, eax
vpinsrw xmm0, xmm0, word [ecx + edx*2], 1
mov edx, eax
vpinsrw xmm0, xmm0, word [edx + esi*2], 2
vpinsrw xmm0, xmm0, word [edx + edi*2], 3
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x28]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 4
mov ecx, dword [esp + 0x60]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 5
mov ecx, dword [esp + 0x5c]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 6
mov ecx, dword [esp + 0x58]
vpinsrw xmm1, xmm0, word [edx + ecx*2], 7
mov ecx, dword [esp + 0x54]
movzx ecx, word [edx + ecx*2]
vmovd xmm0, ecx
mov ecx, dword [esp + 0x50]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 1
mov ecx, dword [esp + 0x4c]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 2
mov ecx, dword [esp + 0x48]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 3
mov ecx, dword [esp + 0x44]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 4
mov ecx, dword [esp + 0x40]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 5
mov ecx, dword [esp + 0x3c]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 6
mov ecx, dword [esp + 0x38]
vpinsrw xmm0, xmm0, word [edx + ecx*2], 7
mov ecx, dword [esp + 0x2c]
vinsertf128 ymm0, ymm1, xmm0, 1
vpsubw ymm0, ymm0, ymm4
vpmullw ymm0, ymm0, ymm2
vpaddw ymm0, ymm0, ymm3
vpsrlw ymm1, ymm0, 5
mov esi, dword [esp + 0x6c]
add ecx, 0x400
vmovdqu ymm2, ymmword [0x10842d20]
shl eax, 5
add eax, 0x10a728c0
mov dword [esp + 0x2c], ecx
vmovdqu ymm0, ymmword [eax]
mov eax, dword [esp + 0x68]
vpblendvb ymm0, ymm7, ymm1, ymm0
vmovdqu ymm7, ymmword [esp + 0xe0]
vmovdqu ymmword [esi], ymm0
add esi, 0x20
add eax, 0x10
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x68], eax
cmp eax, dword [ebp + 0xc]
jl 0x101a4d68
vmovdqu ymm2, ymmword [0x10842d20]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 0x28]
mov edi, dword [esp + 0x70]
add edi, dword [esp + 0x78]
inc ecx
add edx, dword [esp + 0x7c]
mov dword [esp + 0x70], edi
mov dword [esp + 0x34], ecx
mov dword [ebp + 0x28], edx
cmp ecx, dword [ebp + 8]
jl 0x101a4d30
vzeroupper
pop edi
pop esi
mov esp, ebp
pop ebp
ret