Function at 0x4526f0
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 0x7fa0eb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x90df34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
mov eax, dword [0x1808d24]
cmp dword [eax + 0x5ec], 4
jne 0x452e96
mov eax, dword [0x8d2b78]
mov ecx, 5
movq xmm0, qword [0x8d2b70]
mov dword [ebp - 0x5c], eax
mov ax, word [0x8d2b7c]
mov word [ebp - 0x58], ax
lea esi, [ecx + 0x1a]
test ah, ah
movq qword [ebp - 0x64], xmm0
mov eax, dword [0x18021f4]
je 0x4528da
xor edx, edx
mov dword [ebp - 0x88], edx
cmp eax, 2
jl 0x4528a0
movaps xmm2, xmmword [0x8d6c60]
mov edx, 8
movaps xmm4, xmmword [0x8d6d00]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm4
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, ecx
psrad xmm1, xmm5
movd xmm6, esi
movaps xmm0, xmm1
mov dword [ebp - 0x88], edx
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d6c90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d6c70]
paddd xmm2, xmmword [0x8d6c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d6cc0]
movd xmm0, dword [0x8d2b70]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x8d6ce0]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x64], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm4
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d6c90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d6cc0]
movd xmm0, dword [ebp - 0x60]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x8d6ce0]
pxor xmm1, xmm0
movd dword [ebp - 0x60], xmm1
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x88]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x88]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x64], cl
inc edx
mov dword [ebp - 0x88], edx
cmp edx, 0xe
jl 0x4528a0
movq xmm0, qword [0x8d2b4c]
xor edx, edx
mov al, byte [0x8d2b54]
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x18], al
mov dword [ebp - 0x88], edx
nop word [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x88]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x88]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x88], edx
cmp edx, 9
jl 0x452900
push ecx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00445360
mov dword [ebp - 4], 0
lea edi, [ebp - 0x54]
cmp dword [ebp - 0x40], 8
mov eax, dword [0x1808d24]
cmovae edi, dword [ebp - 0x54]
cmp dword [eax + 0x7b8], 0
jne 0x452b56
push edi
call dword [0x8116b8]
test eax, eax
jne 0x452b51
movq xmm0, qword [0x8d5258]
xor esi, esi
mov ax, word [0x8d5260]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x18], ax
nop dword [eax + eax]
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 5
jl 0x4529a0
cmp word [0x8d527e], 0
movups xmm0, xmmword [0x8d5264]
mov eax, dword [0x8d527c]
mov dword [ebp - 0x24], eax
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [0x8d5274]
movq qword [ebp - 0x2c], xmm0
je 0x452b28
xor esi, esi
cmp dword [0x18021f4], 2
jl 0x452b00
movaps xmm2, xmmword [0x8d6c60]
mov eax, 5
movaps xmm4, xmmword [0x8d6d00]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 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, 0x8d5264
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d6c90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d6c70]
paddd xmm2, xmmword [0x8d6c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x8d6cb0]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x3c], 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 [0x8d6c90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x34]
paddw xmm1, xmmword [0x8d6cb0]
pxor xmm1, xmm0
movq qword [ebp - 0x34], xmm1
nop
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x3c], cx
inc esi
cmp esi, 0xe
jl 0x452b00
push 0x30
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x8c]
push dword [eax]
call dword [0x811a88]
mov ecx, dword [0x1808d24]
push 0x10
call fcn.00442590
xor esi, esi
jmp 0x452b77
mov eax, dword [0x1808d24]
cmp dword [ebx + 8], 0
jne 0x452e60
cmp dword [eax + 0x854], 0
jne 0x452bb8
cmp dword [eax + 0x654], 0
jne 0x452bb8
mov esi, 1
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x452bb1
mov ecx, dword [ebp - 0x54]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452ba7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452ebb
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov eax, esi
jmp 0x452e9b
push edi
call dword [0x8116e0]
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov byte [ebp - 4], 1
xor esi, esi
movq xmm0, qword [0x8d524c]
mov cx, word [0x8d5254]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x18], cx
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 5
jl 0x452bf7
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x8c]
call dword [0x8116f8]
test eax, eax
jne 0x452c63
mov eax, dword [0x1808d24]
cmp dword [eax + 0x660], 0
je 0x452e60
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x452e60
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call ecx
jmp 0x452e60
mov ecx, dword [0x1808d24]
cmp dword [ecx + 0x7b8], 0
je 0x452c92
mov ecx, dword [ecx + 0x3c]
test ecx, ecx
je 0x452e60
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
push 1
cmovae eax, dword [ebp - 0x54]
push eax
call ecx
jmp 0x452e60
movups xmm0, xmmword [0x8d5230]
mov ax, word [0x8d5248]
xor esi, esi
cmp dword [0x18021f4], 2
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x24], ax
movq xmm0, qword [0x8d5240]
movq qword [ebp - 0x2c], xmm0
jl 0x452dc5
movaps xmm2, xmmword [0x8d6c60]
mov eax, 5
movaps xmm4, xmmword [0x8d6d00]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 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, 0x8d5230
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d6c90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d6c70]
paddd xmm2, xmmword [0x8d6c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x3c], 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 [0x8d6c90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp - 0x34]
pxor xmm1, xmm0
movq qword [ebp - 0x34], xmm1
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x3c], cx
inc esi
cmp esi, 0xd
jl 0x452dc5
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00413dc0
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [0x1808d24]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x452e27
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push 0
cmovae eax, dword [ebp - 0x84]
push eax
call ecx
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x452e60
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452e56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452ec0
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x452e96
mov ecx, dword [ebp - 0x54]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452e8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452ec5
push edx
push ecx
call fcn.0059a5db
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.0059a3cf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
int3