Function at 0x448940
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
call fcn.00426d40
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x5c]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x10], eax
call dword [edx + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x4c]
mov edx, dword [ebp]
mov ecx, ebp
mov ebx, eax
call dword [edx + 0x20]
mov edx, dword [ebp + 4]
mov dword [esp + 0x18], eax
lea edi, [eax - 1]
mov eax, dword [ebp]
mov ecx, ebp
and edi, edx
call dword [eax + 0x58]
mov ecx, dword [esp + 0x14]
mov esi, eax
add ecx, 0xfffffff8
mov byte [esi + edi], 0x80
inc edi
cmp edi, ecx
ja 0x4489b7
sub ecx, edi
xor eax, eax
add edi, esi
jmp 0x4489e9
mov ecx, dword [esp + 0x18]
xor eax, eax
sub ecx, edi
add edi, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp]
mov ecx, ebp
call dword [edi + 0x20]
push eax
push esi
mov ecx, ebp
call dword [edi + 0x54]
mov eax, dword [esp + 0x14]
mov edi, esi
lea ecx, [eax - 8]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 4]
shl eax, 3
test ebx, ebx
mov ecx, eax
je 0x448a14
ror ecx, 8
rol eax, 8
xor eax, ecx
and eax, 0xff00ff
xor eax, ecx
mov ecx, eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
shr eax, 2
lea edx, [eax + ebx]
mov dword [edi + edx*4 - 8], ecx
mov edx, dword [ebp + 4]
mov ecx, dword [ebp + 8]
shr edx, 0x1d
test ebx, ebx
lea ecx, [edx + ecx*8]
je 0x448a48
mov edx, ecx
ror edx, 8
rol ecx, 8
xor ecx, edx
and ecx, 0xff00ff
xor ecx, edx
sub eax, ebx
mov dword [edi + eax*4 - 4], ecx
mov esi, dword [ebp]
mov ecx, ebp
call dword [esi + 0x20]
push eax
push edi
mov ecx, ebp
call dword [esi + 0x54]
mov eax, dword [esp + 0x28]
test al, 3
jne 0x448ad7
test ebx, ebx
je 0x448aad
shr eax, 2
je 0x448b24
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
sub esi, edx
mov edi, eax
mov eax, dword [esi + edx]
add edx, 4
mov ecx, eax
ror ecx, 8
rol eax, 8
xor eax, ecx
and eax, 0xff00ff
xor eax, ecx
dec edi
mov dword [edx - 4], eax
jne 0x448a7e
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
cmp edx, ecx
je 0x448b24
push eax
push edx
push eax
push ecx
call fcn.00405f60
mov eax, dword [ebp]
add esp, 0x10
mov ecx, ebp
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x1c]
test ebx, ebx
je 0x448b0a
shr eax, 2
je 0x448b0a
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [edx]
add edx, 4
mov ecx, eax
ror ecx, 8
rol eax, 8
xor eax, ecx
and eax, 0xff00ff
xor eax, ecx
dec esi
mov dword [edx - 4], eax
jne 0x448aee
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8