Function at 0x101a84a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
mov eax, esi
and eax, 0xf
mov dword [esp + 8], eax
push edi
mov edi, dword [esp + 0x1c]
mov eax, edi
and eax, 0xf
mov dword [esp + 8], eax
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 4
test dl, 0xf
jne 0x101a869f
cmp dword [esp + 0xc], 0
jne 0x101a857f
cmp dword [esp + 8], 0
jne 0x101a869f
test eax, eax
jle 0x101a8547
mov edx, esi
mov dword [esp + 0xc], eax
sub edx, edi
mov dword [esp + 8], edx
mov edx, dword [esp + 0x14]
mov ecx, edx
mov esi, dword [esp + 8]
nop dword [eax + eax]
sub dword [esp + 0xc], 1
lea edi, [edi + 0x10]
movaps xmm2, xmmword [esi + edi - 0x10]
lea ecx, [ecx + 0x20]
movaps xmm1, xmmword [edi - 0x10]
movaps xmm0, xmm2
punpcklbw xmm0, xmm1
movntdq xmmword [ecx - 0x20], xmm0
punpckhbw xmm2, xmm1
movntdq xmmword [ecx - 0x10], xmm2
jne 0x101a8510
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
shl eax, 4
cmp eax, ecx
jge 0x101a871b
add edi, eax
sub esi, dword [esp + 0x1c]
nop dword [eax + eax]
movzx ecx, byte [edi + esi]
lea edi, [edi + 1]
mov byte [edx + eax*2], cl
movzx ecx, byte [edi - 1]
mov byte [edx + eax*2 + 1], cl
inc eax
cmp eax, dword [esp + 0x20]
jl 0x101a8560
pop edi
pop esi
add esp, 8
ret
cmp dword [esp + 0xc], 8
jne 0x101a869f
cmp dword [esp + 8], 8
jne 0x101a869f
movzx eax, byte [esi]
mov byte [edx], al
movzx eax, byte [edi]
mov byte [edx + 1], al
movzx eax, byte [esi + 1]
mov byte [edx + 2], al
movzx eax, byte [edi + 1]
mov byte [edx + 3], al
movzx eax, byte [esi + 2]
mov byte [edx + 4], al
movzx eax, byte [edi + 2]
mov byte [edx + 5], al
movzx eax, byte [esi + 3]
mov byte [edx + 6], al
movzx eax, byte [edi + 3]
mov byte [edx + 7], al
movzx eax, byte [esi + 4]
mov byte [edx + 8], al
movzx eax, byte [edi + 4]
mov byte [edx + 9], al
movzx eax, byte [esi + 5]
mov byte [edx + 0xa], al
movzx eax, byte [edi + 5]
mov byte [edx + 0xb], al
movzx eax, byte [esi + 6]
mov byte [edx + 0xc], al
movzx eax, byte [edi + 6]
mov byte [edx + 0xd], al
movzx eax, byte [esi + 7]
mov byte [edx + 0xe], al
movzx eax, byte [edi + 7]
add edi, 8
mov byte [edx + 0xf], al
lea eax, [esi + 8]
mov dword [esp + 0xc], eax
lea eax, [ecx - 8]
cdq
and edx, 0xf
add edx, eax
sar edx, 4
test edx, edx
jle 0x101a865a
mov eax, dword [esp + 0x14]
add eax, 0x10
mov dword [esp + 8], edx
sub dword [esp + 0xc], edi
mov ecx, dword [esp + 0xc]
nop
sub dword [esp + 8], 1
lea eax, [eax + 0x20]
movaps xmm0, xmmword [ecx + edi]
lea edi, [edi + 0x10]
punpcklbw xmm0, xmmword [edi - 0x10]
movntdq xmmword [eax - 0x20], xmm0
movaps xmm0, xmmword [ecx + edi - 0x10]
punpckhbw xmm0, xmmword [edi - 0x10]
movntdq xmmword [eax - 0x10], xmm0
jne 0x101a8630
mov ecx, dword [esp + 0x14]
shl edx, 4
add edx, 8
cmp edx, dword [esp + 0x20]
jge 0x101a871b
mov eax, dword [esp + 0x1c]
sub esi, eax
lea edi, [edx + eax]
nop word [eax + eax]
movzx eax, byte [edi + esi]
lea edi, [edi + 1]
mov byte [ecx + edx*2], al
movzx eax, byte [edi - 1]
mov byte [ecx + edx*2 + 1], al
inc edx
cmp edx, dword [esp + 0x20]
jl 0x101a8680
pop edi
pop esi
add esp, 8
ret
test eax, eax
jle 0x101a86f5
mov edx, esi
mov dword [esp + 0x18], eax
sub edx, edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
nop word [eax + eax]
sub dword [esp + 0x18], 1
lea edi, [edi + 0x10]
movups xmm2, xmmword [edi + ecx - 0x10]
lea edx, [edx + 0x20]
movups xmm1, xmmword [edi - 0x10]
movaps xmm0, xmm2
punpcklbw xmm0, xmm1
movups xmmword [edx - 0x20], xmm0
punpckhbw xmm2, xmm1
movups xmmword [edx - 0x10], xmm2
jne 0x101a86c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
shl eax, 4
cmp eax, ecx
jge 0x101a871b
add edi, eax
sub esi, dword [esp + 0x1c]
movzx ecx, byte [edi + esi]
lea edi, [edi + 1]
mov byte [edx + eax*2], cl
movzx ecx, byte [edi - 1]
mov byte [edx + eax*2 + 1], cl
inc eax
cmp eax, dword [esp + 0x20]
jl 0x101a8702
pop edi
pop esi
add esp, 8
ret