Function at 0x52a1b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0xb4
call fcn.00626ba0
mov eax, dword [0x70a514]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], ebx
push esi
mov esi, edx
push edi
test eax, eax
je 0x52a456
mov cl, byte [ebx + 0xc]
lea edx, [ebx + 0xc]
dec eax
mov byte [esp + 0xf], cl
shr eax, 3
lea edi, [ebx + 0x14]
inc eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
nop
movzx eax, byte [esi + 1]
lea esi, [esi + 8]
movzx ecx, byte [esi - 8]
shl eax, 8
or ecx, eax
movzx eax, byte [esi - 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi - 5]
shl eax, 0x18
or ecx, eax
movzx eax, byte [esi - 3]
shl eax, 8
mov dword [esp + 0x10], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], ecx
movzx ecx, byte [esi - 4]
or ecx, eax
movzx eax, byte [esi - 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi - 1]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edi]
and al, 0xbf
mov dword [esp + 0x14], ecx
or al, 0x20
mov dword [esp + 0xb0], ecx
mov byte [edi], al
movzx eax, byte [esp + 0xf]
and eax, 0x9f
mov dword [esp + 0xb8], ecx
or eax, 0x40
movzx eax, byte [eax + 0x6937e0]
mov byte [edx], al
movzx eax, byte [edx + 1]
movzx eax, byte [eax + 0x6937e0]
mov byte [edx + 1], al
movzx eax, byte [edx + 2]
movzx eax, byte [eax + 0x6937e0]
mov byte [edx + 2], al
movzx eax, byte [edx + 3]
movzx eax, byte [eax + 0x6937e0]
mov byte [edx + 3], al
movzx eax, byte [edx + 4]
movzx eax, byte [eax + 0x6937e0]
mov byte [edx + 4], al
movzx eax, byte [edx + 5]
movzx eax, byte [eax + 0x6937e0]
mov byte [edx + 5], al
movzx eax, byte [edx + 6]
movzx eax, byte [eax + 0x6937e0]
mov byte [edx + 6], al
movzx eax, byte [edx + 7]
movzx eax, byte [eax + 0x6937e0]
mov byte [ebx + 0x13], al
lea eax, [esp + 0x28]
push eax
push edx
call fcn.00481410
push 1
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.00402b00
movzx eax, byte [edi]
movzx eax, byte [eax + 0x6937e0]
mov byte [edi], al
movzx eax, byte [edi + 1]
movzx eax, byte [eax + 0x6937e0]
mov byte [edi + 1], al
movzx eax, byte [edi + 2]
movzx eax, byte [eax + 0x6937e0]
mov byte [edi + 2], al
movzx eax, byte [edi + 3]
movzx eax, byte [eax + 0x6937e0]
mov byte [edi + 3], al
movzx eax, byte [edi + 4]
movzx eax, byte [eax + 0x6937e0]
mov byte [edi + 4], al
movzx eax, byte [edi + 5]
movzx eax, byte [eax + 0x6937e0]
mov byte [edi + 5], al
movzx eax, byte [edi + 6]
movzx eax, byte [eax + 0x6937e0]
mov byte [edi + 6], al
movzx eax, byte [edi + 7]
movzx eax, byte [eax + 0x6937e0]
mov byte [edi + 7], al
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.00481410
push 1
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.00402b00
mov ecx, dword [esp + 0x3c]
add esp, 0x28
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x10]
xor edx, ecx
xor ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xac]
xor ebx, eax
mov dword [esp + 0x14], ecx
xor eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
mov bl, al
shr eax, 8
mov byte [ecx + 1], al
mov eax, dword [esp + 0x10]
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [esp + 0x10]
shr eax, 0x18
mov byte [ecx + 3], al
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 6], al
mov byte [ecx + 4], dl
shr edx, 0x18
mov byte [ecx], bl
mov byte [ecx + 7], dl
mov ecx, edi
mov edx, dword [esp + 0x14]
mov byte [esp + 0xf], bl
mov ebx, dword [esp + 0x20]
mov eax, ebx
shr eax, 8
mov byte [ecx + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
mov byte [ecx], bl
shr ebx, 0x18
mov byte [ecx + 4], dl
shr edx, 0x18
shr eax, 0x10
sub dword [esp + 0x18], 1
mov byte [ecx + 3], bl
mov ebx, dword [esp + 0x24]
mov byte [ecx + 7], dl
mov edx, dword [esp + 0x1c]
mov byte [ecx + 6], al
jne 0x52a200
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret