Function at 0x521ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706f32
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp + 8]
push 0x10
mov dword [ebx], vtable.TagLib::ByteVector.0
call fcn.006b6815
add esp, 4
test eax, eax
jne 0x521f23
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x11]
push 0x7da8d8
push eax
call fcn.006b4394
mov dword [ebp - 0x20], eax
push 0
push 0
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004c2870
mov dword [ebx + 4], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
mov ecx, dword [edi + 4]
push eax
add ecx, 8
mov dword [ebp - 0x18], 1
call fcn.00513f50
push eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.004c33a0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x521f7f
push ecx
call fcn.004c2ee0
mov esi, dword [edi + 4]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0xc], 0
jne 0x52201b
mov ecx, dword [esi]
push 0
test ecx, ecx
je 0x521fec
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
add edx, dword [eax + 0x20]
mov eax, dword [ecx + 4]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx]
push dword [eax + 0x24]
lea eax, [ebp - 0x38]
push eax
call fcn.004c8d10
push eax
mov ecx, ebx
mov dword [ebp - 4], 3
call fcn.004c33a0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], vtable.TagLib::ByteVector.0
test ecx, ecx
je 0x522063
push ecx
call fcn.004c2ee0
jmp 0x522063
push str.Ogg::Page::render______this_page_is_empty_
lea ecx, [ebp - 0x54]
call fcn.004c5540
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x522063
mov ecx, dword [ebp - 0x50]
push 1
mov eax, dword [ecx]
call dword [eax]
jmp 0x522063
lea ecx, [esi + 0x14]
call fcn.004e9c20
mov esi, dword [esi + 0x18]
mov edi, dword [edi + 4]
mov esi, dword [esi + 8]
lea ecx, [edi + 0x14]
mov esi, dword [esi]
call fcn.004e9c20
mov eax, dword [edi + 0x18]
cmp esi, dword [eax + 8]
je 0x522063
mov edi, edi
lea eax, [esi + 8]
mov ecx, ebx
push eax
call fcn.004c33a0
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, dword [eax + 4]
lea ecx, [edi + 0x14]
call fcn.004e9c20
mov eax, dword [edi + 0x18]
cmp esi, dword [eax + 8]
jne 0x522040
mov esi, dword [ebx + 4]
xor edx, edx
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x1c], ecx
mov eax, dword [edi]
add ecx, eax
add eax, dword [esi + 8]
add eax, ebx
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 8]
cmp ecx, eax
je 0x5220a9
mov eax, dword [edi]
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
nop
movzx esi, byte [ecx]
mov edi, edx
shr edi, 0x18
inc ecx
xor edi, esi
shl edx, 8
xor edx, dword [edi*4 + 0x78c040]
cmp ecx, eax
jne 0x522090
push 0
lea ecx, [ebp - 0x28]
call fcn.004c2ab0
add esp, 4
mov dword [ebp - 4], 4
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax], 1
jle 0x52217d
mov ecx, dword [ebx + 4]
push 0x10
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x522129
mov eax, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov dword [ebp - 0x40], vtable.TagLib::ByteVector.0
add esi, dword [eax]
call fcn.006b6815
add esp, 4
test eax, eax
jne 0x522106
mov byte [ebp - 0x12], al
lea eax, [ebp - 0x12]
push 0x7da8d8
push eax
call fcn.006b4394
mov dword [ebp - 0x20], eax
push edi
push esi
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004c2970
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], vtable.TagLib::ByteVector.0
jmp 0x522170
mov dword [ebp - 0x48], vtable.TagLib::ByteVector.0
call fcn.006b6815
add esp, 4
test eax, eax
jne 0x52214d
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x13]
push 0x7da8d8
push eax
call fcn.006b4394
mov dword [ebp - 0x20], eax
push 0
push 0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004c2870
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], vtable.TagLib::ByteVector.0
mov dword [ebx + 4], eax
test ecx, ecx
je 0x52217d
push ecx
call fcn.004c2ee0
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
mov eax, dword [ecx + 4]
mov edi, dword [edx + 4]
mov ecx, dword [ecx + 8]
mov esi, dword [edx + 8]
mov eax, dword [eax]
mov edx, dword [edx + 0xc]
add eax, ecx
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 0x16]
mov eax, dword [edi]
add eax, esi
add edx, eax
mov eax, dword [edi]
add eax, esi
sub edx, eax
push edx
push eax
push ecx
call fcn.006b3d50
mov byte [ebp - 4], 0
add esp, 0xc
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], vtable.TagLib::ByteVector.0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov edi, dword [ebp - 0x24]
mov dword [eax], ecx
jne 0x522215
mov ecx, dword [edi]
test ecx, ecx
je 0x5221e2
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [esi + 4]
test esi, esi
je 0x522215
mov eax, dword [esi]
test eax, eax
je 0x52220c
push eax
call fcn.006b31f8
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
call fcn.006b31f8
add esp, 4
push edi
call fcn.006b31f8
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4