Function at 0x5523a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x10148050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x40
mov edi, edx
lea edx, [ebp - 0x84]
push 0
push edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
call fcn.005778d3
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.005778d3
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*2]
add esp, 0x18
xor eax, eax
add ecx, ecx
lea ecx, [edx + ecx*8 + 1]
jmp 0x552403
mov edx, dword [eax*4 + 0x1013e8c0]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 1]
add eax, 6
mov byte [ebp + eax - 0x4a], dl
mov edx, dword [eax*4 + 0x1013e8ac]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 6]
mov byte [ebp + eax - 0x49], dl
mov edx, dword [eax*4 + 0x1013e8b0]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 5]
mov byte [ebp + eax - 0x48], dl
mov edx, dword [eax*4 + 0x1013e8b4]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 4]
mov byte [ebp + eax - 0x47], dl
mov edx, dword [eax*4 + 0x1013e8b8]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 3]
mov byte [ebp + eax - 0x46], dl
mov edx, dword [eax*4 + 0x1013e8bc]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 2]
mov byte [ebp + eax - 0x45], dl
cmp eax, 0x30
jl 0x552403
xor ecx, ecx
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x3f]
jmp 0x552493
movsx esi, byte [eax - 5]
movsx ebx, byte [eax]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 4]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 3]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 2]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 1]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x1013ea00]
mov esi, dword [esi*4 + 0x1013fa00]
movsx ebx, byte [eax + 6]
mov dword [edx - 4], esi
movsx esi, byte [eax + 1]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 2]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 3]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 4]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 5]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x1013eb00]
mov esi, dword [esi*4 + 0x1013fa00]
movsx ebx, byte [eax + 0xc]
mov dword [edx], esi
movsx esi, byte [eax + 7]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 8]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 9]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xa]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xb]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x1013ec00]
mov esi, dword [esi*4 + 0x1013fa00]
movsx ebx, byte [eax + 0x12]
mov dword [edx + 4], esi
movsx esi, byte [eax + 0xd]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xe]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xf]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0x10]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0x11]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x1013ed00]
mov esi, dword [esi*4 + 0x1013fa00]
mov dword [edx + 8], esi
add ecx, 8
add edx, 0x10
add eax, 0x18
cmp ecx, 0x10
jl 0x552493
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
lea esi, [edx + 2]
mov ecx, 0x1013e984
sub edx, eax
mov dword [ebp - 0x88], 8
jmp 0x5525b3
mov ebx, dword [ecx - 4]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [edx + eax]
add eax, 4
mov byte [eax - 4], bl
mov ebx, dword [ecx]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [esi - 1]
add esi, 4
mov byte [eax - 3], bl
mov ebx, dword [ecx + 4]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [esi - 4]
add ecx, 0x10
mov byte [eax - 2], bl
mov ebx, dword [ecx - 8]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [esi - 3]
dec dword [ebp - 0x88]
mov byte [eax - 1], bl
jne 0x5525b3
mov esi, edi
mov edi, dword [ebp - 0x8c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057371d
mov esp, ebp
pop ebp
ret