Function at 0x447514
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 4], edi
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
movzx ecx, byte [esi + 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl eax, 0x10
or edx, eax
movzx eax, byte [esi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [esi + 5]
shl eax, 8
or ecx, eax
mov dword [ebp - 0xc], edx
movzx eax, byte [esi + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [esi + 7]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 0x10
or dword [ebp - 8], ecx
lea ecx, [eax - 8]
mov dword [ebp - 0x10], ecx
test ecx, ecx
js 0x44765b
shr eax, 3
mov dword [ebp + 8], eax
imul eax, eax, 0xfffffff8
add ecx, eax
mov dword [ebp - 0x10], ecx
movzx eax, byte [ebx + 1]
lea ecx, [ebp - 0x1c]
movzx edi, byte [ebx]
movzx esi, byte [ebx + 4]
shl eax, 8
or edi, eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [ebx + 2]
push dword [ebp + 0x14]
shl eax, 0x10
push dword [ebp + 0x10]
or edi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
or edi, eax
movzx eax, byte [ebx + 5]
shl eax, 8
or esi, eax
mov dword [ebp - 0x14], edi
movzx eax, byte [ebx + 6]
shl eax, 0x10
or esi, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 7]
add ebx, 8
shl eax, 0x18
or esi, eax
mov dword [ebp - 0x18], esi
call fcn.0044740b
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0xc]
mov byte [eax], cl
inc eax
mov dword [ebp - 4], eax
mov eax, ecx
mov edi, dword [ebp - 4]
shr eax, 8
inc dword [ebp - 4]
mov byte [edi], al
mov eax, ecx
mov edi, dword [ebp - 4]
shr eax, 0x10
shr ecx, 0x18
mov byte [edi], al
mov eax, edi
inc eax
mov dword [ebp - 4], eax
mov byte [eax], cl
mov ecx, eax
mov eax, edx
shr eax, 8
mov byte [ecx + 2], al
mov eax, edx
mov byte [ecx + 1], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ecx + 4], dl
mov edx, dword [ebp - 0x14]
mov byte [ecx + 3], al
add ecx, 5
sub dword [ebp + 8], 1
mov dword [ebp - 4], ecx
mov ecx, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
jne 0x44758a
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp - 4]
jmp 0x44765e
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], 0xfffffff8
je 0x44772f
movzx eax, byte [ebx + 1]
movzx edx, byte [ebx]
movzx ecx, byte [ebx + 4]
shl eax, 8
or edx, eax
movzx eax, byte [ebx + 2]
push dword [ebp + 0x14]
shl eax, 0x10
push dword [ebp + 0x10]
or edx, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [ebx + 5]
shl eax, 8
or ecx, eax
mov dword [ebp + 0x18], edx
movzx eax, byte [ebx + 6]
mov dword [ebp + 8], ecx
movzx ecx, byte [ebx + 7]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
shl ecx, 0x10
or eax, ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], eax
call fcn.0044740b
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
xor ebx, dword [ebp - 0xc]
xor edx, dword [ebp - 8]
pop ecx
pop ecx
lea ecx, [eax + 8]
add eax, 7
add ecx, edi
cmp eax, 7
ja case.default.0x4476e6
jmp dword [eax*4 + 0x447780]
dec ecx
mov eax, edx
shr eax, 0x18
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 0x10
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 8
mov byte [ecx], al
dec ecx
mov byte [ecx], dl
dec ecx
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
dec ecx
mov eax, ebx
shr eax, 0x10
mov byte [ecx], al
dec ecx
mov eax, ebx
shr eax, 8
mov byte [ecx], al
mov byte [ecx - 1], bl
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov eax, edx
mov ebx, ecx
shr eax, 8
mov dword [ebp + 8], eax
mov eax, edx
shr edx, 0x18
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
mov byte [esi], dl
mov edx, dword [ebp + 8]
mov byte [esi + 1], dl
shr eax, 0x10
mov dword [ebp + 0x18], eax
mov edx, eax
mov eax, dword [ebp - 8]
mov byte [esi + 2], dl
mov edx, dword [ebp - 0x14]
mov byte [esi + 3], dl
mov edx, dword [ebp - 8]
shr ebx, 8
mov byte [esi + 4], dl
mov byte [esi + 5], bl
shr ecx, 0x10
shr eax, 0x18
mov byte [esi + 6], cl
pop edi
mov byte [esi + 7], al
pop esi
pop ebx
leave
ret