Function at 0x435a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [0x4b507c]
mov ebx, ecx
mov ecx, 0x10
mov esi, ebx
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, esp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xfffffffe
movdqu xmm0, xmmword [eax + 0x10]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 0xc]
pshufd xmm3, xmm0, 0x93
movdqu xmm0, xmmword [eax + 0x30]
pshufd xmm5, xmm0, 0x39
movdqu xmm0, xmmword [eax + 0x20]
pshufd xmm0, xmm0, 0x39
movd xmm2, ebp
movd xmm4, edi
pshufd xmm1, xmm3, 0xe5
add ecx, 2
punpckldq xmm4, xmm2
movd xmm2, esi
cmp ecx, 0x12
punpckldq xmm2, xmm1
movd xmm1, edx
shufps xmm1, xmm3, 0
punpcklqdq xmm2, xmm4
shufps xmm1, xmm3, 0xe2
paddd xmm1, xmm2
pshufd xmm2, xmm1, 0x4e
pxor xmm2, xmm5
movdqa xmm4, xmm2
pslld xmm2, 0x10
psrld xmm4, 0x10
por xmm2, xmm4
paddd xmm0, xmm2
pshufd xmm2, xmm2, 0x39
pshufd xmm4, xmm0, 0x4e
pxor xmm4, xmm3
movdqa xmm3, xmm4
pslld xmm4, 0xc
psrld xmm3, 0x14
por xmm4, xmm3
paddd xmm1, xmm4
pshufd xmm3, xmm1, 0x93
pxor xmm2, xmm3
movdqa xmm3, xmm2
pslld xmm2, 8
psrld xmm3, 0x18
por xmm2, xmm3
pshufd xmm3, xmm2, 0x93
paddd xmm3, xmm0
pshufd xmm0, xmm4, 0x39
pshufd xmm4, xmm3, 0x93
pxor xmm4, xmm0
movdqa xmm0, xmm4
pslld xmm4, 7
psrld xmm0, 0x19
por xmm4, xmm0
paddd xmm1, xmm4
pxor xmm2, xmm1
movdqa xmm0, xmm2
pslld xmm2, 0x10
psrld xmm0, 0x10
por xmm2, xmm0
paddd xmm3, xmm2
pxor xmm4, xmm3
movdqa xmm0, xmm4
pslld xmm4, 0xc
psrld xmm0, 0x14
por xmm4, xmm0
paddd xmm1, xmm4
pxor xmm2, xmm1
pshufd xmm6, xmm1, 0xe5
movd esi, xmm1
movdqa xmm0, xmm2
pslld xmm2, 8
movd edx, xmm6
pshufd xmm6, xmm1, 0x4e
pshufd xmm1, xmm1, 0xe7
psrld xmm0, 0x18
movd edi, xmm6
movd ebp, xmm1
por xmm2, xmm0
movdqa xmm0, xmm3
paddd xmm0, xmm2
pshufd xmm5, xmm2, 0x93
pxor xmm4, xmm0
movdqa xmm3, xmm4
pslld xmm4, 7
psrld xmm3, 0x19
por xmm4, xmm3
pshufd xmm3, xmm4, 0x93
jb 0x435a5f
pshufd xmm1, xmm2, 0x4e
pshufd xmm0, xmm0, 0x93
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
movdqu xmmword [esp + 0x10], xmm4
mov dword [esp + 0xc], esi
mov ecx, 0xfffffff1
movdqu xmmword [esp + 0x30], xmm1
movdqu xmmword [esp + 0x20], xmm0
add edx, dword [ebx]
mov dword [esp], edx
mov edx, dword [ebx + ecx*4 + 0x40]
add dword [esp + ecx*4 + 0x40], edx
inc ecx
jne 0x435be9
movdqa xmm0, xmmword [0x4935b0]
movdqa xmm2, xmmword [0x492370]
mov ecx, 0xffffffc0
pxor xmm1, xmm1
movdqu xmm4, xmmword [esp + ecx + 0x40]
movdqa xmm5, xmm4
movdqa xmm3, xmm4
movdqa xmm6, xmm4
pand xmm4, xmm0
psrld xmm5, 8
psrld xmm3, 0x10
psrld xmm6, 0x18
pand xmm5, xmm0
pand xmm3, xmm0
packuswb xmm4, xmm5
packuswb xmm3, xmm6
movdqa xmm6, xmm2
packuswb xmm4, xmm0
packuswb xmm3, xmm0
punpcklbw xmm4, xmm1
punpcklbw xmm3, xmm1
pshufd xmm5, xmm4, 0xd7
pshufd xmm4, xmm4, 0x28
pshuflw xmm5, xmm5, 0xe2
pshuflw xmm4, xmm4, 0xe8
pshufhw xmm5, xmm5, 0xed
pshufhw xmm4, xmm4, 0xe7
packuswb xmm4, xmm5
pshufd xmm5, xmm3, 0xd7
pshufd xmm3, xmm3, 0x28
pshuflw xmm5, xmm5, 0x24
pshuflw xmm3, xmm3, 0x84
pand xmm4, xmm2
pshufhw xmm5, xmm5, 0xd4
pshufhw xmm3, xmm3, 0x74
packuswb xmm3, xmm5
pandn xmm6, xmm3
por xmm6, xmm4
movdqu xmmword [ebx + ecx + 0x80], xmm6
add ecx, 0x10
jne 0x435c0d
mov dword [ebx + 0x80], 0
push 0x40
push eax
call fcn.00467374
add esp, 8
inc dword [ebx + 0x30]
jne 0x435cd5
inc dword [ebx + 0x34]
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0046f0c8
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret