Function at 0x446526
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
dec ecx
dec ecx
push esi
push edi
je 0x44679d
dec ecx
je 0x446690
dec ecx
jne 0x446868
and dword [ebp + 8], ecx
mov ecx, dword [ebp + 0xc]
lea edi, [eax + 0x16bc]
movzx edx, byte [ebp + 8]
lea esi, [edx + eax]
movzx edx, byte [esi + 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 [edi - 0x400], edx
movzx ebx, byte [esi + 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 [edi], edx
movzx ebx, byte [esi + 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 [edi + 0x400], edx
movzx esi, byte [esi + 0x1b8]
movzx edx, byte [ecx + 0xf]
xor edx, esi
movzx edx, byte [edx + eax + 0xb8]
movzx esi, byte [ecx + 0xb]
xor edx, esi
movzx edx, byte [edx + eax + 0x1b8]
movzx esi, byte [ecx + 7]
xor edx, esi
movzx edx, byte [edx + eax + 0x1b8]
movzx esi, byte [ecx + 3]
xor edx, esi
mov edx, dword [eax + edx*4 + 0xebc]
inc dword [ebp + 8]
mov dword [edi + 0x800], edx
add edi, 4
cmp dword [ebp + 8], 0x100
jb 0x446553
jmp 0x446868
and dword [ebp + 8], 0
mov ecx, dword [ebp + 0xc]
lea edi, [eax + 0x16bc]
movzx edx, byte [ebp + 8]
lea esi, [edx + eax]
movzx ebx, byte [esi + 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 [edi - 0x400], edx
mov edx, dword [ecx + 8]
movzx ebx, byte [esi + 0x1b8]
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 [edi], edx
movzx ebx, byte [esi + 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 [edi + 0x400], edx
movzx esi, byte [esi + 0xb8]
movzx edx, byte [ecx + 0xb]
xor edx, esi
movzx edx, byte [edx + eax + 0x1b8]
movzx esi, byte [ecx + 7]
xor edx, esi
movzx edx, byte [edx + eax + 0x1b8]
movzx esi, byte [ecx + 3]
xor edx, esi
mov edx, dword [eax + edx*4 + 0xebc]
inc dword [ebp + 8]
mov dword [edi + 0x800], edx
add edi, 4
cmp dword [ebp + 8], 0x100
jb 0x44669d
jmp 0x446868
and dword [ebp + 8], 0
mov ecx, dword [ebp + 0xc]
lea edi, [eax + 0x16bc]
movzx edx, byte [ebp + 8]
movzx ebx, byte [ecx + 4]
lea esi, [edx + eax]
movzx edx, byte [esi + 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 [edi - 0x400], edx
mov edx, dword [ecx + 4]
movzx ebx, byte [esi + 0x1b8]
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 [edi], edx
movzx ebx, byte [esi + 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 [edi + 0x400], edx
movzx esi, byte [esi + 0x1b8]
movzx edx, byte [ecx + 7]
xor edx, esi
movzx edx, byte [edx + eax + 0x1b8]
movzx esi, byte [ecx + 3]
xor edx, esi
mov edx, dword [eax + edx*4 + 0xebc]
inc dword [ebp + 8]
mov dword [edi + 0x800], edx
add edi, 4
cmp dword [ebp + 8], 0x100
jb 0x4467aa
pop edi
pop esi
pop ebx
pop ebp
ret