Function at 0x42276b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
sub ecx, 2
push edi
je 0x4229b2
dec ecx
je 0x4228bb
dec ecx
jne 0x422a65
xor edx, edx
lea ecx, [esi + 8]
jmp 0x42279b
movzx ebx, byte [eax + 0xc]
movzx esi, dl
movzx edi, byte [esi + 0x5a52ec]
xor edi, ebx
movzx edi, byte [edi + 0x5a52ec]
movzx ebx, byte [eax + 8]
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
movzx ebx, byte [eax + 4]
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
movzx ebx, byte [eax]
xor edi, ebx
mov edi, dword [edi*4 + 0x5a41ec]
mov dword [ecx - 8], edi
mov ebx, dword [eax + 0xc]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [esi + 0x5a51ec]
xor edi, ebx
movzx edi, byte [edi + 0x5a52ec]
mov ebx, dword [eax + 8]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
movzx edi, byte [edi + 0x5a52ec]
mov ebx, dword [eax + 4]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
mov ebx, dword [eax]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
mov edi, dword [edi*4 + 0x5a45ec]
mov dword [ecx - 4], edi
movzx ebx, byte [esi + 0x5a51ec]
movzx edi, byte [eax + 0xe]
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
movzx ebx, byte [eax + 0xa]
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
movzx ebx, byte [eax + 6]
xor edi, ebx
movzx edi, byte [edi + 0x5a52ec]
movzx ebx, byte [eax + 2]
xor edi, ebx
mov edi, dword [edi*4 + 0x5a49ec]
mov dword [ecx], edi
movzx esi, byte [esi + 0x5a52ec]
movzx edi, byte [eax + 0xf]
xor edi, esi
movzx esi, byte [edi + 0x5a51ec]
movzx edi, byte [eax + 0xb]
xor esi, edi
movzx esi, byte [esi + 0x5a52ec]
movzx edi, byte [eax + 7]
xor esi, edi
movzx esi, byte [esi + 0x5a52ec]
movzx edi, byte [eax + 3]
xor esi, edi
mov esi, dword [esi*4 + 0x5a4dec]
mov dword [ecx + 4], esi
inc edx
add ecx, 0x10
cmp edx, 0x100
jb 0x42279b
pop edi
pop esi
pop ebx
ret
xor edx, edx
lea ecx, [esi + 8]
jmp 0x4228cb
movzx ebx, byte [eax + 8]
movzx esi, dl
movzx edi, byte [esi + 0x5a52ec]
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
movzx ebx, byte [eax + 4]
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
movzx ebx, byte [eax]
xor edi, ebx
mov edi, dword [edi*4 + 0x5a41ec]
mov dword [ecx - 8], edi
mov ebx, dword [eax + 8]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [esi + 0x5a52ec]
xor edi, ebx
movzx edi, byte [edi + 0x5a52ec]
mov ebx, dword [eax + 4]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
mov ebx, dword [eax]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
mov edi, dword [edi*4 + 0x5a45ec]
mov dword [ecx - 4], edi
movzx ebx, byte [esi + 0x5a51ec]
movzx edi, byte [eax + 0xa]
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
movzx ebx, byte [eax + 6]
xor edi, ebx
movzx edi, byte [edi + 0x5a52ec]
movzx ebx, byte [eax + 2]
xor edi, ebx
mov edi, dword [edi*4 + 0x5a49ec]
mov dword [ecx], edi
movzx esi, byte [esi + 0x5a51ec]
movzx edi, byte [eax + 0xb]
xor edi, esi
movzx esi, byte [edi + 0x5a52ec]
movzx edi, byte [eax + 7]
xor esi, edi
movzx esi, byte [esi + 0x5a52ec]
movzx edi, byte [eax + 3]
xor esi, edi
mov esi, dword [esi*4 + 0x5a4dec]
mov dword [ecx + 4], esi
inc edx
add ecx, 0x10
cmp edx, 0x100
jb 0x4228cb
pop edi
pop esi
pop ebx
ret
xor edx, edx
lea ecx, [esi + 8]
lea esp, [esp]
movzx ebx, byte [eax + 4]
movzx esi, dl
movzx edi, byte [esi + 0x5a51ec]
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
movzx ebx, byte [eax]
xor edi, ebx
mov edi, dword [edi*4 + 0x5a41ec]
mov dword [ecx - 8], edi
mov ebx, dword [eax + 4]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [esi + 0x5a52ec]
xor edi, ebx
movzx edi, byte [edi + 0x5a51ec]
mov ebx, dword [eax]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
mov edi, dword [edi*4 + 0x5a45ec]
mov dword [ecx - 4], edi
movzx ebx, byte [esi + 0x5a51ec]
movzx edi, byte [eax + 6]
xor edi, ebx
movzx edi, byte [edi + 0x5a52ec]
movzx ebx, byte [eax + 2]
xor edi, ebx
mov edi, dword [edi*4 + 0x5a49ec]
mov dword [ecx], edi
movzx esi, byte [esi + 0x5a52ec]
movzx edi, byte [eax + 7]
xor edi, esi
movzx esi, byte [edi + 0x5a52ec]
movzx edi, byte [eax + 3]
xor esi, edi
mov esi, dword [esi*4 + 0x5a4dec]
mov dword [ecx + 4], esi
inc edx
add ecx, 0x10
cmp edx, 0x100
jb 0x4229bb
pop edi
pop esi
pop ebx
ret