Function at 0x452b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x58f080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
imul eax, ecx
mov dword [ebp - 0x20], ecx
cdq
mov esi, eax
mov edi, edx
mov ecx, esi
or ecx, edi
je 0x452be0
push edi
push esi
push 0x100
push 0
call fcn.004f64a0
test edx, edx
jb 0x452d9b
ja 0x452bd0
cmp eax, 1
jb 0x452d9b
cmp esi, esi
jne 0x452d9b
test edi, edi
jne 0x452d9b
push esi
call fcn.00497d2b
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x452d9b
mov ecx, dword [ebx + 0x2c]
dec ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 1
jle 0x452d20
mov edx, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x34], eax
lea ecx, [edx - 1]
shl edx, 3
mov dword [ebp - 0x28], edx
lea esi, [edx + 8]
mov dword [ebp - 0x3c], esi
mov edi, esi
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x1c]
dec esi
mov dword [ebp - 0x18], esi
jmp 0x452c30
mov esi, 1
cmp ecx, esi
jle 0x452d02
lea eax, [edx - 8]
mov dword [ebp - 0x38], eax
mov edx, dword [ebx + 0x5558]
xorps xmm0, xmm0
add edx, edi
mov ecx, edx
sub ecx, dword [ebp - 0x28]
movdqu xmmword [ebp - 0x14], xmm0
mov ebx, dword [edx]
shr ebx, 5
mov eax, dword [ecx - 8]
and ebx, 3
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ecx + 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [edx - 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [edx + 8]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + edx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + edx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + edx]
shr eax, 5
and eax, 3
inc dword [ebp + eax*4 - 0x14]
xor eax, eax
cmp dword [ebp + eax*4 - 0x14], 5
jge 0x452ce1
inc eax
cmp eax, 4
jl 0x452cd2
jmp 0x452ce3
mov ebx, eax
mov eax, dword [ebp - 0x34]
add edi, 8
mov ecx, dword [ebp - 0x20]
dec ecx
mov byte [eax + esi], bl
inc esi
mov ebx, dword [ebp - 0x24]
cmp esi, ecx
jl 0x452c43
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
add edi, edx
add eax, esi
mov dword [ebp - 0x30], edi
dec dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
jne 0x452c30
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
jmp 0x452d23
mov esi, dword [ebp - 0x20]
cmp ecx, 1
jle 0x452d90
lea edi, [eax + esi]
lea eax, [esi*8]
add eax, 8
lea ebx, [esi - 1]
dec ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
nop
mov edx, 1
cmp ebx, edx
jle 0x452d7c
mov esi, eax
jmp 0x452d50
mov eax, dword [ebp - 0x24]
lea esi, [esi + 8]
mov ecx, dword [eax + 0x5558]
movzx eax, byte [edi + edx]
inc edx
shl eax, 5
xor eax, dword [ecx + esi - 8]
and eax, 0x60
xor dword [ecx + esi - 8], eax
cmp edx, ebx
jl 0x452d50
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
lea edx, [esi*8]
add edi, esi
add eax, edx
dec ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
jne 0x452d40
push dword [ebp - 0x2c]
call fcn.00497724
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049493f
mov esp, ebp
pop ebp
ret