Function at 0x445c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, dword [eax]
test ebp, ebp
je 0x445cca
nop word cs:[eax + eax]
nop dword [eax + eax]
test edi, edi
je 0x445cca
movzx eax, byte [ecx + edi]
inc edi
and edi, 0xf
xor al, byte [edx]
inc edx
mov byte [ebx], al
inc ebx
cmp ebp, 1
lea ebp, [ebp - 1]
jne 0x445cb0
mov esi, dword [esp + 0x38]
cmp ebp, 0x10
jb 0x445e24
lea edi, [ebp - 0x10]
mov dword [esp], edx
mov dword [esp + 4], edi
and edi, 0xfffffff0
lea ecx, [edi + 0x10]
lea eax, [ebx + edi + 0x10]
mov dword [esp + 0xc], edi
xor edi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
nop dword [eax]
push dword [esp + 0x34]
mov eax, dword [esp + 0x40]
push eax
push esi
call dword [esp + 0x50]
add esp, 0xc
movzx eax, byte [esi + 0xf]
mov edx, dword [esp + 0x3c]
add ebp, 0xfffffff0
inc eax
mov byte [esi + 0xf], al
shr eax, 8
movzx ecx, byte [esi + 0xe]
add ecx, eax
mov byte [esi + 0xe], cl
shr ecx, 8
movzx eax, byte [esi + 0xd]
add eax, ecx
mov byte [esi + 0xd], al
shr eax, 8
movzx ecx, byte [esi + 0xc]
add ecx, eax
mov byte [esi + 0xc], cl
shr ecx, 8
movzx eax, byte [esi + 0xb]
add eax, ecx
mov byte [esi + 0xb], al
shr eax, 8
movzx ecx, byte [esi + 0xa]
add ecx, eax
mov byte [esi + 0xa], cl
shr ecx, 8
movzx eax, byte [esi + 9]
add eax, ecx
mov byte [esi + 9], al
shr eax, 8
movzx ecx, byte [esi + 8]
add ecx, eax
mov byte [esi + 8], cl
shr ecx, 8
movzx eax, byte [esi + 7]
add eax, ecx
mov byte [esi + 7], al
shr eax, 8
movzx ecx, byte [esi + 6]
add ecx, eax
mov byte [esi + 6], cl
shr ecx, 8
movzx eax, byte [esi + 5]
add eax, ecx
mov byte [esi + 5], al
shr eax, 8
movzx ecx, byte [esi + 4]
add ecx, eax
mov byte [esi + 4], cl
shr ecx, 8
movzx eax, byte [esi + 3]
add eax, ecx
mov byte [esi + 3], al
shr eax, 8
movzx ecx, byte [esi + 2]
add ecx, eax
mov byte [esi + 2], cl
shr ecx, 8
movzx eax, byte [esi + 1]
add eax, ecx
mov byte [esi + 1], al
add byte [esi], ah
mov eax, dword [edx]
mov ecx, dword [esp]
xor eax, dword [ecx + edi]
mov dword [ebx + edi], eax
mov eax, dword [edx + 4]
xor eax, dword [ecx + edi + 4]
mov dword [ebx + edi + 4], eax
mov eax, dword [edx + 8]
xor eax, dword [ecx + edi + 8]
mov dword [ebx + edi + 8], eax
mov eax, dword [edx + 0xc]
xor eax, dword [ecx + edi + 0xc]
mov dword [ebx + edi + 0xc], eax
add edi, 0x10
cmp ebp, 0xf
ja 0x445d00
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov ebx, dword [esp + 8]
xor edi, edi
sub eax, dword [esp + 0xc]
add ecx, dword [esp + 0x10]
mov ebp, eax
mov eax, ecx
test ebp, ebp
jne 0x445e2e
jmp 0x445ff7
mov eax, edx
test ebp, ebp
je 0x445ff7
push dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], eax
push ebx
push esi
call dword [esp + 0x50]
add esp, 0xc
movzx eax, byte [esi + 0xf]
inc eax
mov byte [esi + 0xf], al
shr eax, 8
movzx ecx, byte [esi + 0xe]
add ecx, eax
mov byte [esi + 0xe], cl
shr ecx, 8
movzx eax, byte [esi + 0xd]
add eax, ecx
mov byte [esi + 0xd], al
shr eax, 8
movzx ecx, byte [esi + 0xc]
add ecx, eax
mov byte [esi + 0xc], cl
shr ecx, 8
movzx eax, byte [esi + 0xb]
add eax, ecx
mov byte [esi + 0xb], al
shr eax, 8
movzx ecx, byte [esi + 0xa]
add ecx, eax
mov byte [esi + 0xa], cl
shr ecx, 8
movzx eax, byte [esi + 9]
add eax, ecx
mov byte [esi + 9], al
shr eax, 8
movzx ecx, byte [esi + 8]
add ecx, eax
mov byte [esi + 8], cl
shr ecx, 8
movzx eax, byte [esi + 7]
add eax, ecx
mov byte [esi + 7], al
shr eax, 8
movzx ecx, byte [esi + 6]
add ecx, eax
mov byte [esi + 6], cl
shr ecx, 8
movzx eax, byte [esi + 5]
add eax, ecx
mov byte [esi + 5], al
shr eax, 8
movzx ecx, byte [esi + 4]
add ecx, eax
mov byte [esi + 4], cl
shr ecx, 8
movzx eax, byte [esi + 3]
add eax, ecx
mov byte [esi + 3], al
shr eax, 8
movzx ecx, byte [esi + 2]
add ecx, eax
mov byte [esi + 2], cl
shr ecx, 8
movzx eax, byte [esi + 1]
add eax, ecx
mov byte [esi + 1], al
add byte [esi], ah
mov esi, ebx
cmp ebp, 0x20
mov eax, edi
mov dword [esp + 4], ebp
mov ebx, dword [esp]
jb 0x445fc7
mov edx, dword [esp + 8]
lea ecx, [ebp + edi]
mov dword [esp + 4], ebp
lea esi, [ebx + ecx]
lea eax, [edx + edi]
lea edx, [edx + ecx]
add ecx, dword [esp + 0x3c]
cmp eax, esi
lea esi, [ebx + edi]
setb bl
cmp esi, edx
mov esi, dword [esp + 0x3c]
setb bh
cmp eax, ecx
setb cl
lea eax, [esi + edi]
cmp eax, edx
mov eax, edi
setb dl
test bl, bh
mov ebx, dword [esp]
jne 0x445fc7
and cl, dl
mov eax, edi
mov dword [esp + 4], ebp
jne 0x445fc7
mov edx, ebp
mov ecx, esi
and edx, 0xffffffe0
lea eax, [edi + edx]
mov dword [esp + 0xc], eax
mov eax, ebp
sub eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
lea esi, [eax + edi + 0x10]
mov eax, edx
mov edx, ebx
lea ebx, [ecx + edi + 0x10]
lea ecx, [edx + edi + 0x10]
xor edx, edx
nop word cs:[eax + eax]
nop dword [eax]
movups xmm0, xmmword [ecx + edx - 0x10]
movups xmm2, xmmword [ebx + edx - 0x10]
movups xmm1, xmmword [ecx + edx]
movups xmm3, xmmword [ebx + edx]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [esi + edx - 0x10], xmm2
movups xmmword [esi + edx], xmm3
add edx, 0x20
cmp eax, edx
jne 0x445f90
cmp ebp, eax
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp]
mov eax, dword [esp + 0xc]
je 0x445ff5
add dword [esp + 8], eax
add ebx, eax
add esi, eax
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edx, byte [esi + ecx]
mov eax, dword [esp + 8]
xor dl, byte [ebx + ecx]
mov byte [eax + ecx], dl
inc ecx
cmp dword [esp + 4], ecx
jne 0x445fe0
add edi, ebp
mov eax, dword [esp + 0x40]
mov dword [eax], edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret