Function at 0x438360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 2
push ebx
push esi
push edi
je 0x4385e3
dec ecx
je 0x4384cf
dec ecx
jne 0x4386b2
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp + 8], edx
lea esi, [eax + 0x16bc]
movzx edi, dl
movzx edx, byte [edi + eax + 0x1b8]
movzx ebx, byte [ecx + 0xc]
xor edx, ebx
movzx edx, byte [edx + eax + 0x1b8]
movzx ebx, byte [ecx + 8]
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
movzx ebx, byte [ecx + 4]
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
movzx ebx, byte [ecx]
xor edx, ebx
mov edx, dword [eax + edx*4 + 0x2bc]
mov dword [esi - 0x400], edx
add edi, eax
movzx ebx, byte [edi + 0xb8]
mov edx, dword [ecx + 0xc]
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx edx, byte [edx + eax + 0x1b8]
mov ebx, dword [ecx + 8]
shr ebx, 8
movzx ebx, bl
xor edx, ebx
movzx edx, byte [edx + eax + 0x1b8]
mov ebx, dword [ecx + 4]
shr ebx, 8
movzx ebx, bl
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
mov ebx, dword [ecx]
shr ebx, 8
movzx ebx, bl
xor edx, ebx
mov edx, dword [eax + edx*4 + 0x6bc]
mov dword [esi], edx
movzx ebx, byte [edi + 0xb8]
movzx edx, byte [ecx + 0xe]
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
movzx ebx, byte [ecx + 0xa]
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
movzx ebx, byte [ecx + 6]
xor edx, ebx
movzx edx, byte [edx + eax + 0x1b8]
movzx ebx, byte [ecx + 2]
xor edx, ebx
mov edx, dword [eax + edx*4 + 0xabc]
mov dword [esi + 0x400], edx
movzx edi, byte [edi + 0x1b8]
movzx edx, byte [ecx + 0xf]
xor edx, edi
movzx edx, byte [edx + eax + 0xb8]
movzx edi, byte [ecx + 0xb]
xor edx, edi
movzx edx, byte [edx + eax + 0x1b8]
movzx edi, byte [ecx + 7]
xor edx, edi
movzx edx, byte [edx + eax + 0x1b8]
movzx edi, byte [ecx + 3]
xor edx, edi
mov edx, dword [eax + edx*4 + 0xebc]
mov dword [esi + 0x800], edx
mov edx, dword [ebp + 8]
inc edx
add esi, 4
mov dword [ebp + 8], edx
cmp edx, 0x100
jb 0x438390
pop edi
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp + 8], edx
lea esi, [eax + 0x16bc]
lea ecx, [ecx]
movzx edi, dl
movzx ebx, byte [edi + eax + 0x1b8]
movzx edx, byte [ecx + 8]
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
movzx ebx, byte [ecx + 4]
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
movzx ebx, byte [ecx]
xor edx, ebx
mov edx, dword [eax + edx*4 + 0x2bc]
mov dword [esi - 0x400], edx
mov edx, dword [ecx + 8]
movzx ebx, byte [edi + eax + 0x1b8]
add edi, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx edx, byte [edx + eax + 0x1b8]
mov ebx, dword [ecx + 4]
shr ebx, 8
movzx ebx, bl
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
mov ebx, dword [ecx]
shr ebx, 8
movzx ebx, bl
xor edx, ebx
mov edx, dword [eax + edx*4 + 0x6bc]
mov dword [esi], edx
movzx ebx, byte [edi + 0xb8]
movzx edx, byte [ecx + 0xa]
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
movzx ebx, byte [ecx + 6]
xor edx, ebx
movzx edx, byte [edx + eax + 0x1b8]
movzx ebx, byte [ecx + 2]
xor edx, ebx
mov edx, dword [eax + edx*4 + 0xabc]
mov dword [esi + 0x400], edx
movzx edi, byte [edi + 0xb8]
movzx edx, byte [ecx + 0xb]
xor edx, edi
movzx edx, byte [edx + eax + 0x1b8]
movzx edi, byte [ecx + 7]
xor edx, edi
movzx edx, byte [edx + eax + 0x1b8]
movzx edi, byte [ecx + 3]
xor edx, edi
mov edx, dword [eax + edx*4 + 0xebc]
mov dword [esi + 0x800], edx
mov edx, dword [ebp + 8]
inc edx
add esi, 4
mov dword [ebp + 8], edx
cmp edx, 0x100
jb 0x4384e0
pop edi
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp + 8], edx
lea esi, [eax + 0x16bc]
movzx ebx, byte [ecx + 4]
movzx edi, dl
movzx edx, byte [edi + eax + 0xb8]
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
movzx ebx, byte [ecx]
xor edx, ebx
mov edx, dword [eax + edx*4 + 0x2bc]
mov dword [esi - 0x400], edx
mov edx, dword [ecx + 4]
movzx ebx, byte [edi + eax + 0x1b8]
add edi, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx edx, byte [edx + eax + 0xb8]
mov ebx, dword [ecx]
shr ebx, 8
movzx ebx, bl
xor edx, ebx
mov edx, dword [eax + edx*4 + 0x6bc]
mov dword [esi], edx
movzx ebx, byte [edi + 0xb8]
movzx edx, byte [ecx + 6]
xor edx, ebx
movzx edx, byte [edx + eax + 0x1b8]
movzx ebx, byte [ecx + 2]
xor edx, ebx
mov edx, dword [eax + edx*4 + 0xabc]
mov dword [esi + 0x400], edx
movzx edi, byte [edi + 0x1b8]
movzx edx, byte [ecx + 7]
xor edx, edi
movzx edx, byte [edx + eax + 0x1b8]
movzx edi, byte [ecx + 3]
xor edx, edi
mov edx, dword [eax + edx*4 + 0xebc]
mov dword [esi + 0x800], edx
mov edx, dword [ebp + 8]
inc edx
add esi, 4
mov dword [ebp + 8], edx
cmp edx, 0x100
jb 0x4385f1
pop edi
pop esi
pop ebx
pop ebp
ret