Function at 0x4fbc60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
movdqu xmm7, xmmword [ecx + 0x2c]
movdqu xmm6, xmmword [ecx + 0x3c]
movdqu xmm4, xmmword [ecx + 0x4c]
movdqu xmm1, xmmword [ecx + 0x5c]
cmp ebx, 0xf
jg 0x4fbc9e
test ebx, ebx
jne 0x4fc010
jmp 0x4fc117
mov eax, esi
neg eax
and eax, 0xf
je 0x4fbe0b
movups xmm0, xmmword [esi]
add esi, eax
sub ebx, eax
movdqa xmm3, xmmword [0x537dd0]
movdqa xmm5, xmm4
movdqa xmm4, xmm6
movups xmmword [edi], xmm0
add edi, eax
shl eax, 4
movaps xmmword [esp], xmm0
movdqa xmm0, xmm1
movdqa xmm1, xmm7
movdqa xmm2, xmmword [eax + 0x537e50]
pxor xmm3, xmm2
pshufb xmm4, xmm2
pshufb xmm1, xmm2
pshufb xmm7, xmm3
pshufb xmm6, xmm3
por xmm7, xmm4
movdqa xmm4, xmm5
pshufb xmm5, xmm3
pshufb xmm4, xmm2
por xmm6, xmm4
movdqa xmm4, xmm0
pshufb xmm0, xmm3
movdqa xmm3, xmmword [esp]
pshufb xmm4, xmm2
por xmm5, xmm4
movdqa xmm4, xmm5
pshufb xmm3, xmm2
movdqa xmmword [esp], xmm3
por xmm0, xmm3
movdqa xmm3, xmmword [0x537de0]
pclmulqdq xmm3, xmm1, 1
pclmulqdq xmm1, xmmword [0x537df0], 1
pxor xmm1, xmm0
pxor xmm1, xmm3
cmp ebx, 0x40
jge 0x4fbe1e
cmp ebx, 0x30
jl 0x4fbf11
movdqa xmm0, xmm4
movdqa xmmword [esp + 0x10], xmm1
movdqa xmm4, xmmword [esi + 0x20]
movdqa xmm3, xmmword [0x537df0]
movdqa xmm5, xmm6
movdqa xmm2, xmmword [esi]
add ebx, 0xffffffd0
movdqa xmm1, xmm0
pclmulqdq xmm1, xmmword [0x537de0], 0x10
pclmulqdq xmm0, xmm3, 1
pclmulqdq xmm5, xmm3, 1
pclmulqdq xmm3, xmm7, 0x10
pxor xmm1, xmm4
pxor xmm1, xmm0
movdqa xmm0, xmm6
movdqa xmm6, xmmword [0x537de0]
pclmulqdq xmm7, xmm6, 0x10
pclmulqdq xmm0, xmm6, 0x10
movdqa xmm6, xmmword [esi + 0x10]
movdqu xmmword [edi], xmm2
pxor xmm7, xmm2
movdqu xmmword [edi + 0x10], xmm6
movdqu xmmword [edi + 0x20], xmm4
movdqa xmm4, xmm0
pxor xmm4, xmm6
movdqa xmm6, xmm7
pxor xmm4, xmm5
pxor xmm6, xmm3
je 0x4fbff3
movdqa xmm7, xmmword [esp + 0x10]
add edi, 0x30
add esi, 0x30
jmp 0x4fc010
movdqu xmm0, xmmword [ecx + 0x6c]
movdqa xmmword [esp], xmm0
cmp ebx, 0x40
jl 0x4fbd5e
movdqa xmm0, xmm4
movdqa xmm4, xmm1
nop word cs:[eax + eax]
movaps xmm2, xmmword [esi + 0x20]
movdqa xmm1, xmmword [esi]
movdqa xmm5, xmm7
movdqa xmmword [esp + 0x30], xmm6
movdqa xmm3, xmmword [esi + 0x10]
movdqa xmm6, xmmword [esp + 0x30]
movaps xmmword [esp + 0x20], xmm2
movaps xmm2, xmmword [esi + 0x30]
movdqu xmmword [edi], xmm1
movdqu xmmword [edi + 0x10], xmm3
add esi, 0x40
movaps xmmword [esp + 0x10], xmm2
movdqa xmm2, xmmword [0x537de0]
pclmulqdq xmm7, xmm2, 0x10
movdqa xmm2, xmmword [0x537df0]
pxor xmm7, xmm1
movdqa xmm1, xmm6
pclmulqdq xmm5, xmm2, 1
pclmulqdq xmm1, xmm2, 1
pxor xmm7, xmm5
movdqa xmm5, xmmword [0x537de0]
pclmulqdq xmm6, xmm5, 0x10
pxor xmm6, xmm3
movdqa xmm3, xmmword [esp + 0x20]
pxor xmm6, xmm1
movdqa xmm1, xmm0
pclmulqdq xmm0, xmm5, 0x10
pclmulqdq xmm1, xmm2, 1
pxor xmm0, xmm3
movdqu xmmword [edi + 0x20], xmm3
pxor xmm0, xmm1
movdqa xmm1, xmm4
pclmulqdq xmm4, xmm5, 0x10
movdqa xmm5, xmmword [esp + 0x10]
pclmulqdq xmm1, xmm2, 1
pxor xmm4, xmm5
movdqu xmmword [edi + 0x30], xmm5
add edi, 0x40
cmp ebx, 0x7f
lea ebx, [ebx - 0x40]
pxor xmm4, xmm1
jg 0x4fbe30
movdqa xmm1, xmm4
movdqa xmm4, xmm0
cmp ebx, 0x30
jge 0x4fbd67
cmp ebx, 0x20
jl 0x4fbfa1
movdqa xmm3, xmmword [0x537df0]
movdqa xmm0, xmmword [0x537de0]
movdqa xmmword [esp + 0x10], xmm1
movdqa xmm1, xmmword [esi]
movdqa xmm2, xmmword [esi + 0x10]
movdqa xmmword [esp + 0x20], xmm4
movdqa xmm4, xmm6
add ebx, 0xffffffe0
pclmulqdq xmm6, xmm0, 0x10
pclmulqdq xmm4, xmm3, 1
pclmulqdq xmm3, xmm7, 0x10
pclmulqdq xmm7, xmm0, 0x10
movdqu xmmword [edi], xmm1
movdqu xmmword [edi + 0x10], xmm2
pxor xmm7, xmm1
pxor xmm6, xmm2
movdqa xmm1, xmm7
movdqa xmm2, xmm6
pxor xmm1, xmm3
pxor xmm2, xmm4
je 0x4fc11f
movdqa xmm7, xmmword [esp + 0x20]
movdqa xmm6, xmmword [esp + 0x10]
movdqa xmm4, xmm1
add edi, 0x20
add esi, 0x20
movdqa xmm1, xmm2
jmp 0x4fc010
cmp ebx, 0x10
jl 0x4fc003
movdqa xmm2, xmmword [0x537df0]
movdqa xmm0, xmm1
movdqa xmm1, xmmword [esi]
add ebx, 0xfffffff0
pclmulqdq xmm2, xmm7, 0x10
pclmulqdq xmm7, xmmword [0x537de0], 0x10
movdqu xmmword [edi], xmm1
pxor xmm7, xmm1
movdqa xmm1, xmm7
pxor xmm1, xmm2
je 0x4fc13a
movdqa xmm7, xmm6
movdqa xmm6, xmm4
add edi, 0x10
add esi, 0x10
movdqa xmm4, xmm0
jmp 0x4fc010
movdqa xmm7, xmmword [esp + 0x10]
movdqa xmm0, xmmword [esp]
jmp 0x4fc0fe
movdqa xmm0, xmmword [esp]
test ebx, ebx
je 0x4fc0fe
mov eax, 0x10
xor ecx, ecx
movdqa xmmword [esp + 0x10], xmm1
movdqa xmmword [esp + 0x20], xmm4
movdqa xmmword [esp], xmm7
movdqa xmmword [esp + 0x30], xmm6
sub eax, ebx
cmp ebx, 0xf
cmovbe ecx, eax
lea eax, [esp + ebx + 0x48]
push ecx
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
lea eax, [esp + 0x48]
push ebx
push esi
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movdqa xmm4, xmmword [esp + 0x2c]
movdqa xmm7, xmmword [esp + 0xc]
movdqa xmm6, xmmword [esp + 0x3c]
mov ecx, dword [ebp + 8]
add esp, 0xc
shl ebx, 4
movdqa xmm0, xmmword [0x537dd0]
movdqa xmm3, xmm6
movdqa xmm5, xmmword [esp + 0x10]
movdqa xmm1, xmm7
movdqa xmm2, xmmword [ebx + 0x537e50]
pxor xmm0, xmm2
pshufb xmm3, xmm2
pshufb xmm1, xmm2
pshufb xmm7, xmm0
pshufb xmm6, xmm0
por xmm7, xmm3
movdqa xmm3, xmm4
pshufb xmm4, xmm0
pshufb xmm3, xmm2
por xmm6, xmm3
movdqa xmm3, xmm5
pshufb xmm5, xmm0
movdqu xmm0, xmmword [esp + 0x48]
pshufb xmm3, xmm2
por xmm4, xmm3
movdqa xmm3, xmmword [0x537de0]
movdqu xmmword [edi], xmm0
pshufb xmm0, xmm2
por xmm5, xmm0
pclmulqdq xmm3, xmm1, 1
pclmulqdq xmm1, xmmword [0x537df0], 1
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqu xmmword [ecx + 0x2c], xmm7
movdqu xmmword [ecx + 0x3c], xmm6
movdqu xmmword [ecx + 0x4c], xmm4
movdqu xmmword [ecx + 0x5c], xmm1
movdqu xmmword [ecx + 0x6c], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movdqa xmm7, xmmword [esp + 0x20]
movdqa xmm6, xmmword [esp + 0x10]
movdqa xmm0, xmmword [esp]
movdqa xmm4, xmm1
movdqa xmm1, xmm2
jmp 0x4fc0fe
movdqa xmm7, xmm6
movdqa xmm6, xmm4
movdqa xmm4, xmm0
movdqa xmm0, xmmword [esp]
jmp 0x4fc0fe