Function at 0x552a1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x552c56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x63ec50]
mov dword [ebp - 0xc], eax
xor ecx, ecx
push ebp
push 0x552c36
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x14]
add eax, edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0x10]
lea edx, [ebp - 4]
xor ecx, ecx
xchg edx, eax
call fcn.004080c8
lea eax, [ebp - 4]
call fcn.00407a94
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x552aa2
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
xchg ecx, eax
call fcn.004046e0
lea eax, [ebp - 4]
call fcn.00407a94
mov edx, 0x552a0c
sub edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
inc edx
lea eax, [eax + edx + 7]
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0xa0]
add edi, dword [ebp - 0xc]
jmp 0x552b57
mov eax, edi
add eax, 8
mov dword [ebp - 0x18], eax
mov esi, dword [edi + 4]
sub esi, 8
shr esi, 1
test esi, esi
jle 0x552b54
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x552afd
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [edi]
sub eax, dword [ebp - 0x10]
cmp ebx, eax
jl 0x552b4d
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
and ax, 0xfff
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
and ax, 0xf000
cmp ax, 0x3000
jne 0x552b4d
lea eax, [ebp - 4]
call fcn.00407a94
mov edx, dword [edi]
sub edx, dword [ebp - 0x10]
inc edx
movzx ecx, word [ebp - 0x1a]
add edx, ecx
lea eax, [eax + edx - 1]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x20]
sub dword [eax], edx
add dword [ebp - 0x18], 2
dec esi
jne 0x552af1
mov edi, dword [ebp - 0x18]
mov eax, dword [edi]
add eax, dword [edi + 4]
test eax, eax
jne 0x552add
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x552b75
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jns 0x552b7e
add esi, 0xf
sar esi, 4
dec esi
test esi, esi
jl 0x552bf4
inc esi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 4]
call fcn.00407a94
mov ebx, dword [ebp - 0x14]
shl ebx, 4
inc ebx
lea eax, [eax + ebx - 1]
mov edi, dword [eax]
lea eax, [ebp - 4]
call fcn.00407a94
lea eax, [eax + ebx + 3]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 4]
call fcn.00407a94
lea eax, [eax + ebx + 7]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 4]
call fcn.00407a94
lea eax, [eax + ebx + 0xb]
mov eax, dword [eax]
mov edx, edi
add edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
xor edx, ecx
sub edi, eax
xor edx, edi
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x30]
xor edx, eax
add dword [ebp - 0x28], edx
inc dword [ebp - 0x14]
dec esi
jne 0x552b8e
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
je 0x552c06
mov dword [0x625ffc], 0xffffffff
lea eax, [ebp - 4]
call fcn.00407a94
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x552c1c
sub eax, 4
mov eax, dword [eax]
xor ecx, ecx
xchg edx, eax
call fcn.00404c94
lea eax, [ebp - 4]
call fcn.004074f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x552c40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x552c5d
lea eax, [ebp - 4]
call fcn.004074f8
ret