Function at 0x447120
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
push edi
lea edi, [eax + 7]
shr edi, 3
and eax, 7
mov edx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edx
mov ebx, ecx
jne 0x44714d
mov dword [esp + 0x1c], 8
mov edx, dword [esp + 0x1c]
xor ecx, ecx
xor eax, eax
xor ebp, ebp
lea esi, [edi - 1]
test esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebp
jbe 0x4472fc
lea ebx, [ebx]
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
xor esi, eax
xor edx, ecx
test ebp, ebp
mov dword [ebx], esi
mov dword [ebx + 4], edx
jne 0x4472cd
cmp edi, 2
mov esi, ebx
jbe 0x4472b3
lea edi, [esp + 0x28]
call fcn.00446ea0
mov eax, dword [0x4cfee4]
test eax, eax
jne 0x44738d
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov edx, 1
jmp 0x4471c0
mov edi, dword [esp + edx*4 + 0x2c]
lea ecx, [edi + esi]
mov dword [esp + edx*4 + 0x30], ecx
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
mov ebp, eax
shl ebp, cl
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr edi, cl
or ebp, edi
xor dword [esp + 0x34], ebp
mov edi, dword [esp + edx*4 + 0x30]
lea ecx, [edi + esi]
mov dword [esp + edx*4 + 0x34], ecx
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
mov ebp, eax
shl ebp, cl
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr edi, cl
or ebp, edi
xor dword [esp + 0x34], ebp
mov edi, dword [esp + edx*4 + 0x34]
lea ecx, [edi + esi]
mov dword [esp + edx*4 + 0x38], ecx
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
mov ebp, eax
shl ebp, cl
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr edi, cl
or ebp, edi
xor dword [esp + 0x34], ebp
mov edi, dword [esp + edx*4 + 0x38]
lea ecx, [edi + esi]
mov dword [esp + edx*4 + 0x3c], ecx
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
mov ebp, eax
shl ebp, cl
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr edi, cl
or ebp, edi
xor dword [esp + 0x34], ebp
mov edi, dword [esp + edx*4 + 0x3c]
lea ecx, [edi + esi]
mov dword [esp + edx*4 + 0x40], ecx
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
mov ebp, eax
shl ebp, cl
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
mov edi, eax
shr edi, cl
mov ecx, dword [esp + 0x34]
or ebp, edi
xor ecx, ebp
add edx, 5
cmp edx, 0x1a
mov dword [esp + 0x34], ecx
jb 0x4471c0
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x4472d8
xor edi, edi
call fcn.00446ea0
mov eax, dword [0x4cfee4]
test eax, eax
jne 0x44738d
mov edi, dword [esp + 0x20]
jmp 0x4472d8
lea ecx, [esp + 0x30]
mov eax, ebx
call fcn.00446f40
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add ebx, 8
inc ebp
lea edx, [edi - 1]
cmp ebp, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ebp
jb 0x447170
mov edx, dword [esp + 0x1c]
xor esi, esi
test edx, edx
jbe 0x44731e
mov ebp, ebx
lea eax, [esp + 0x14]
sub ebp, eax
lea ebx, [ebx]
lea eax, [esp + esi + 0x14]
mov cl, byte [eax + ebp]
xor byte [eax], cl
inc esi
cmp esi, edx
jb 0x447310
cmp edi, 2
jbe 0x447332
lea ecx, [esp + 0x30]
lea eax, [esp + 0x14]
call fcn.00446f40
jmp 0x447353
cmp edi, 1
jne 0x447344
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
xor edi, edi
lea esi, [esp + 0x14]
call fcn.00446ea0
mov edi, dword [esp + 0x20]
cmp edi, 1
jbe 0x447380
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x447367
lea esi, [ebx - 8]
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [ebx - 8], ecx
mov dword [ebx - 4], edx
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret