Function at 0x42add0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f566b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x228
mov eax, dword [0x907074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1802d70]
lea eax, [ebp - 0x220]
push 0x208
push 0
push eax
call fcn.006b6700
movups xmm0, xmmword [0x8ceb84]
add esp, 0xc
cmp word [0x8ceb9a], 0
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [0x8ceb94]
movq qword [ebp - 0x228], xmm0
je 0x42af9b
xor ecx, ecx
cmp dword [0x17f8f7c], 2
jl 0x42af70
movaps xmm2, xmmword [0x8d06a0]
mov eax, 5
movaps xmm4, xmmword [0x8d0750]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x8ceb84
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d06d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d06b0]
paddd xmm2, xmmword [0x8d06a0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x8d0700]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x238], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d06d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x230]
paddw xmm1, xmmword [0x8d0700]
pxor xmm1, xmm0
movq qword [ebp - 0x230], xmm1
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x3a
sub edx, eax
add edx, 0x39
xor word [ebp + ecx*2 - 0x238], dx
inc ecx
cmp ecx, 0xc
jl 0x42af70
push 0x103
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x238]
push eax
call dword [0x80e33c]
lea eax, [ebp - 0x220]
push eax
call dword [0x80e35c]
cmp dword [edi + 0x700], 8
lea esi, [edi + 0x6ec]
mov eax, esi
jb 0x42afd4
mov eax, dword [esi]
push eax
call dword [0x80e6b8]
test eax, eax
je 0x42b081
test byte [edi + 4], 1
jne 0x42b081
cmp dword [esi + 0x14], 8
jb 0x42aff5
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b017
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x238]
call fcn.0040daf0
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.0040fb10
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x42b081
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b077
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b0a4
push edx
push ecx
call fcn.00478f62
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00478d26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006b9a29
int3