Function at 0x444150
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 8], 0x282b2a25
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x4441c1
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0xbd7d8977
add eax, eax
and eax, 0x7afb12ee
mov esi, eax
and esi, edx
xor eax, edx
lea eax, [eax + esi*2]
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0xad
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x444180
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 8]
mov eax, dword [0x44f128]
test eax, eax
je 0x44421b
xor ecx, ecx
mov edx, dword [0x44f12c]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x9b15aa7a
je 0x4441f0
inc ecx
cmp eax, ecx
jne 0x4441e0
jmp 0x44421b
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44421b
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push ebx
push dword [esp + 0x44]
push 6
push dword [0x44f130]
push eax
call fcn.0043fbf0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x44448d
push dword [esp + 0x10]
call fcn.0043ce00
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], 0x282b2a25
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 6
ja 0x4442a3
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, edx
xor edi, 0xbd7d8977
add edx, edx
and edx, 0x7afb12ee
mov ebp, edx
and ebp, edi
xor edx, edi
lea edx, [edx + ebp*2]
xor edx, esi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
add dl, 0xad
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 7
jb 0x444260
mov esi, dword [esp + 8]
mov edx, dword [0x44f128]
test edx, edx
je 0x4442fd
xor ebp, ebp
mov edi, dword [0x44f12c]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x9b15aa7a
je 0x4442d0
inc ebp
cmp edx, ebp
jne 0x4442c0
jmp 0x4442fd
mov edx, dword [edi + ebp*8 + 4]
cmp edx, esi
je 0x4442fd
lea esi, [esp + 0x10]
push esi
push ecx
mov eax, dword [esp + 0xc]
push eax
push 1
push ebx
push dword [esp + 0x44]
push 6
push dword [0x44f130]
push edx
call fcn.0043fbf0
add esp, 0x24
mov esi, eax
test esi, esi
js 0x444481
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x4443fa
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4443ef
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x10]
shr edx, 1
mov eax, dword [ebx]
cmp eax, edx
jb 0x444332
mov eax, edx
test eax, eax
je 0x4443e6
mov ebx, dword [esp + 4]
add ebx, 0x14
mov ebp, eax
and ebp, 3
je 0x44437c
mov dword [esp + 0x18], eax
xor edx, edx
nop
nop
movzx ecx, word [ebx]
xor eax, eax
test cx, cx
setne al
lea ebx, [ebx + eax*2]
mov word [edi], cx
add edi, 2
inc edx
cmp ebp, edx
jne 0x444350
mov eax, dword [esp + 0x18]
mov ebp, eax
sub ebp, edx
mov ecx, dword [esp + 0x40]
cmp eax, 4
jae 0x444390
jmp 0x4443e6
mov ebp, eax
cmp eax, 4
jb 0x4443e6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [ebx]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [ebx + ecx*2]
mov word [edi], ax
movzx eax, word [ebx + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea ebx, [edx + ecx*2]
mov word [edi + 2], ax
movzx eax, word [edx + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [ebx + ecx*2]
mov word [edi + 4], ax
movzx eax, word [ebx + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
mov word [edi + 6], ax
add edi, 8
lea ebx, [edx + ecx*2]
add ebp, 0xfffffffc
jne 0x444390
mov ecx, dword [esp + 0x40]
mov word [edi], 0
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [ebx], eax
mov edi, dword [esp + 0x48]
test ecx, ecx
je 0x44440b
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [ecx], eax
test edi, edi
je 0x444481
cmp dword [esp + 0x44], 0
je 0x444478
mov ebx, dword [edi]
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xc]
cmp ebx, ecx
jb 0x444425
mov ebx, ecx
mov eax, dword [esp + 4]
mov edx, dword [eax + 8]
add edx, eax
mov ecx, ebx
shr ecx, 2
mov eax, ebx
not eax
or eax, 0xfffffffc
lea ebp, [ebx + eax]
inc ebp
add ebp, edx
mov edi, dword [esp + 0x44]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, ebx
mov ecx, dword [esp + 0x44]
lea edx, [ecx + eax]
inc edx
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, ebp
mov edi, edx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
mov edi, dword [esp + 0x48]
je 0x444478
and ebx, 2
movzx eax, byte [ebp + ebx]
mov byte [edx + ebx], al
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
push dword [esp + 4]
call fcn.0043cea0
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret