Function at 0x42b330
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 0x7f618b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x228
mov eax, dword [0x908074]
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 [0x1803d70]
lea eax, [ebp - 0x220]
push 0x208
push 0
push eax
call fcn.006b7220
movups xmm0, xmmword [0x8cfb84]
add esp, 0xc
cmp word [0x8cfb9a], 0
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [0x8cfb94]
movq qword [ebp - 0x228], xmm0
je 0x42b504
xor ecx, ecx
cmp dword [0x17f9f7c], 2
jl 0x42b4d0
movaps xmm2, xmmword [0x8d1650]
mov eax, 5
movaps xmm4, xmmword [0x8d1710]
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, 0x8cfb84
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d1680]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d1660]
paddd xmm2, xmmword [0x8d1650]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x8d16b0]
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 [0x8d1680]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x230]
paddw xmm1, xmmword [0x8d16b0]
pxor xmm1, xmm0
movq qword [ebp - 0x230], xmm1
nop dword [eax + eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 1
sub edx, eax
lea eax, [edx*8]
sub eax, edx
lea eax, [ecx + eax*8]
xor word [ebp + ecx*2 - 0x238], ax
inc ecx
cmp ecx, 0xc
jl 0x42b4d0
push 0x103
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x238]
push eax
call dword [0x80f33c]
lea eax, [ebp - 0x220]
push eax
call dword [0x80f35c]
cmp dword [edi + 0x700], 8
lea esi, [edi + 0x6ec]
mov eax, esi
jb 0x42b53d
mov eax, dword [esi]
push eax
call dword [0x80f6b8]
test eax, eax
je 0x42b5ea
test byte [edi + 4], 1
jne 0x42b5ea
cmp dword [esi + 0x14], 8
jb 0x42b55e
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 0x42b580
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x238]
call fcn.0040db70
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.0040fb90
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x42b5ea
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b5e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b60d
push edx
push ecx
call fcn.00479a82
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.00479846
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006ba549
int3