Function at 0x4365a0
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 0x4367e9
sub ecx, 1
je 0x4366f2
sub ecx, 1
jne 0x43689c
xor edx, edx
lea ecx, [esi + 8]
lea esp, [esp]
movzx ebx, byte [eax + 0xc]
movzx esi, dl
movzx edi, byte [esi + 0x473fe0]
xor edi, ebx
movzx edi, byte [edi + 0x473fe0]
movzx ebx, byte [eax + 8]
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
movzx ebx, byte [eax + 4]
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
movzx ebx, byte [eax]
xor edi, ebx
mov edi, dword [edi*4 + 0x472ee0]
mov dword [ecx - 8], edi
mov ebx, dword [eax + 0xc]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [esi + 0x473ee0]
xor edi, ebx
movzx edi, byte [edi + 0x473fe0]
mov ebx, dword [eax + 8]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
movzx edi, byte [edi + 0x473fe0]
mov ebx, dword [eax + 4]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
mov ebx, dword [eax]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
mov edi, dword [edi*4 + 0x4732e0]
mov dword [ecx - 4], edi
movzx ebx, byte [esi + 0x473ee0]
movzx edi, byte [eax + 0xe]
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
movzx ebx, byte [eax + 0xa]
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
movzx ebx, byte [eax + 6]
xor edi, ebx
movzx edi, byte [edi + 0x473fe0]
movzx ebx, byte [eax + 2]
xor edi, ebx
mov edi, dword [edi*4 + 0x4736e0]
mov dword [ecx], edi
movzx esi, byte [esi + 0x473fe0]
movzx edi, byte [eax + 0xf]
xor edi, esi
movzx esi, byte [edi + 0x473ee0]
movzx edi, byte [eax + 0xb]
xor esi, edi
movzx esi, byte [esi + 0x473fe0]
movzx edi, byte [eax + 7]
xor esi, edi
movzx esi, byte [esi + 0x473fe0]
movzx edi, byte [eax + 3]
xor esi, edi
mov esi, dword [esi*4 + 0x473ae0]
mov dword [ecx + 4], esi
add edx, 1
add ecx, 0x10
cmp edx, 0x100
jb 0x4365d0
pop edi
pop esi
pop ebx
ret
xor edx, edx
lea ecx, [esi + 8]
jmp 0x436700
movzx ebx, byte [eax + 8]
movzx esi, dl
movzx edi, byte [esi + 0x473fe0]
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
movzx ebx, byte [eax + 4]
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
movzx ebx, byte [eax]
xor edi, ebx
mov edi, dword [edi*4 + 0x472ee0]
mov dword [ecx - 8], edi
mov ebx, dword [eax + 8]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [esi + 0x473fe0]
xor edi, ebx
movzx edi, byte [edi + 0x473fe0]
mov ebx, dword [eax + 4]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
mov ebx, dword [eax]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
mov edi, dword [edi*4 + 0x4732e0]
mov dword [ecx - 4], edi
movzx ebx, byte [esi + 0x473ee0]
movzx edi, byte [eax + 0xa]
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
movzx ebx, byte [eax + 6]
xor edi, ebx
movzx edi, byte [edi + 0x473fe0]
movzx ebx, byte [eax + 2]
xor edi, ebx
mov edi, dword [edi*4 + 0x4736e0]
mov dword [ecx], edi
movzx esi, byte [esi + 0x473ee0]
movzx edi, byte [eax + 0xb]
xor edi, esi
movzx esi, byte [edi + 0x473fe0]
movzx edi, byte [eax + 7]
xor esi, edi
movzx esi, byte [esi + 0x473fe0]
movzx edi, byte [eax + 3]
xor esi, edi
mov esi, dword [esi*4 + 0x473ae0]
mov dword [ecx + 4], esi
add edx, 1
add ecx, 0x10
cmp edx, 0x100
jb 0x436700
pop edi
pop esi
pop ebx
ret
xor edx, edx
lea ecx, [esi + 8]
mov edi, edi
movzx ebx, byte [eax + 4]
movzx esi, dl
movzx edi, byte [esi + 0x473ee0]
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
movzx ebx, byte [eax]
xor edi, ebx
mov edi, dword [edi*4 + 0x472ee0]
mov dword [ecx - 8], edi
mov ebx, dword [eax + 4]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [esi + 0x473fe0]
xor edi, ebx
movzx edi, byte [edi + 0x473ee0]
mov ebx, dword [eax]
shr ebx, 8
movzx ebx, bl
xor edi, ebx
mov edi, dword [edi*4 + 0x4732e0]
mov dword [ecx - 4], edi
movzx ebx, byte [esi + 0x473ee0]
movzx edi, byte [eax + 6]
xor edi, ebx
movzx edi, byte [edi + 0x473fe0]
movzx ebx, byte [eax + 2]
xor edi, ebx
mov edi, dword [edi*4 + 0x4736e0]
mov dword [ecx], edi
movzx esi, byte [esi + 0x473fe0]
movzx edi, byte [eax + 7]
xor edi, esi
movzx esi, byte [edi + 0x473fe0]
movzx edi, byte [eax + 3]
xor esi, edi
mov esi, dword [esi*4 + 0x473ae0]
mov dword [ecx + 4], esi
add edx, 1
add ecx, 0x10
cmp edx, 0x100
jb 0x4367f0
pop edi
pop esi
pop ebx
ret