Function at 0x444590
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp], 0x7c7d7e7f
mov word [esp + 4], 0
mov eax, 0xaa5d26ff
mov edx, 0x5568b640
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax + 0x55a2d901]
mov edi, edx
xor edi, ebx
lea esi, [edi + edi]
not esi
add esi, edi
and esi, edx
mov ebp, esi
and ebp, 0x5568b645
mov ecx, esi
and ecx, 2
mov edi, esi
or edi, 0xfffffffd
inc edi
imul edi, ebp
or esi, 2
imul esi, ecx
add edi, ebx
sub edi, esi
add edi, eax
mov ecx, edi
and ecx, 1
xor edi, 1
lea ecx, [edi + ecx*2]
mov byte [esp + eax + 0x55a2d901], cl
inc eax
inc edx
cmp eax, 0xaa5d2705
jne 0x4445c0
mov esi, dword [esp]
mov eax, dword [0x4510e4]
test eax, eax
je 0x44466e
xor ecx, ecx
mov edx, dword [0x4510e8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x3052ea03
je 0x444640
inc ecx
cmp eax, ecx
jne 0x444630
jmp 0x44466e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44466e
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x44]
push 0x18
push eax
push dword [0x4510ec]
call fcn.004414e0
add esp, 0x24
mov esi, eax
mov dword [esp], 0xb7760967
mov word [esp + 4], 0
xor eax, eax
nop
nop
mov ecx, eax
add cl, 0x3e
xor cl, byte [esp + eax]
add cl, 0xca
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x444680
cmp esi, dword [esp]
jne 0x4448cf
push dword [esp + 0x18]
call fcn.0043e7a0
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp], 0x7c7d7e7f
mov word [esp + 4], 0
mov edx, 0xaa5d26ff
mov edi, 0x5568b640
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx + 0x55a2d901]
mov ecx, edi
xor ecx, eax
lea ebp, [ecx + ecx]
not ebp
add ebp, ecx
and ebp, edi
mov ebx, ebp
and ebx, 0x5568b645
mov esi, ebp
and esi, 2
mov ecx, ebp
or ecx, 0xfffffffd
inc ecx
imul ecx, ebx
or ebp, 2
imul ebp, esi
add ecx, eax
sub ecx, ebp
add ecx, edx
mov eax, ecx
and eax, 1
xor ecx, 1
lea eax, [ecx + eax*2]
mov byte [esp + edx + 0x55a2d901], al
inc edx
inc edi
cmp edx, 0xaa5d2705
jne 0x4446e0
mov esi, dword [esp]
mov ecx, dword [0x4510e4]
test ecx, ecx
je 0x444764
xor edx, edx
mov edi, dword [0x4510e8]
mov ebx, dword [esp + 0x38]
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x3052ea03
je 0x444800
inc edx
cmp ecx, edx
jne 0x444750
jmp 0x444768
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4448c6
test esi, esi
js 0x4448c6
test ebx, ebx
je 0x4448bf
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov eax, dword [edx]
cmp eax, ecx
jb 0x444795
mov eax, ecx
test eax, eax
je 0x4448b6
add dword [esp + 0xc], 0x10
mov ecx, eax
and ecx, 3
je 0x44483c
mov dword [esp + 0x14], eax
xor edi, edi
mov ebp, dword [esp + 0x38]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov dword [esp + 0xc], eax
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x4447c0
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x14]
mov ebp, eax
sub ebp, edi
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 8]
cmp eax, 4
jae 0x444843
jmp 0x4448b6
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
mov edi, dword [esp + 8]
je 0x44476c
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push edi
push 0
push dword [esp + 0x44]
push dword [esp + 0x44]
push 0x18
push ecx
push dword [0x4510ec]
call fcn.004414e0
add esp, 0x24
mov esi, eax
jmp 0x44476c
mov ebp, eax
cmp eax, 4
jb 0x4448b6
mov ebx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
mov dword [esp + 0xc], eax
add ebp, 0xfffffffc
jne 0x444850
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov word [eax], 0
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [edx], eax
push edi
call fcn.0043e810
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret