Function at 0x444310
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x444330
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x14], cx
add ecx, 2
mov word [esp + 0x16], cx
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0xe8ebeae5
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x4443c3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0x55adcbd7
and eax, 0xd5adcbd7
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
not ecx
or eax, ecx
sub ecx, eax
lea eax, [edx + ecx*2]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xcd
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x444380
mov ebx, dword [esp + 4]
mov eax, dword [0x44f3c8]
test eax, eax
je 0x44441f
xor ecx, ecx
mov edx, dword [0x44f3cc]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xf81c0144
je 0x4443f0
inc ecx
cmp eax, ecx
jne 0x4443e0
jmp 0x44441f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44441f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 6
push dword [0x44f3d0]
push eax
call fcn.0043f830
add esp, 0x24
mov ebx, eax
mov dword [esp + 4], 0x3c2c1e3
mov byte [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x444483
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0x3e47e450
and eax, 0x3e47e450
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
not ecx
or eax, ecx
sub ecx, eax
lea eax, [edx + ecx*2]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x70
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x444440
cmp ebx, dword [esp + 4]
jne 0x4445e7
push dword [esp + 0x10]
call fcn.0043c770
add esp, 4
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0xe8ebeae5
mov word [esp + 8], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 5
ja 0x444505
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov edi, dword [esp]
movzx edi, byte [esp + edi + 4]
mov ebx, edx
xor ebx, 0x55adcbd7
and edx, 0xd5adcbd7
lea edx, [ebx + edx*2]
lea ebx, [edx + edi]
not edi
or edx, edi
sub edi, edx
lea edx, [ebx + edi*2]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xc]
add dl, 0xcd
mov edi, dword [esp]
mov byte [esp + edi + 4], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 6
jb 0x4444c0
mov ebx, dword [esp + 4]
mov edx, dword [0x44f3c8]
test edx, edx
je 0x444565
mov ecx, ebp
xor ebp, ebp
mov edi, dword [0x44f3cc]
nop
nop
nop
cmp dword [edi + ebp*8], 0xf81c0144
je 0x444532
inc ebp
cmp edx, ebp
jne 0x444520
mov ebp, ecx
jmp 0x444565
mov edx, dword [edi + ebp*8 + 4]
cmp edx, ebx
mov ebp, ecx
je 0x444565
lea edi, [esp + 0x10]
lea ebx, [esp + 0x14]
push edi
push esi
push eax
push 2
push ebx
push dword [esp + 0x48]
push 6
push dword [0x44f3d0]
push edx
mov edi, eax
call fcn.0043f830
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
mov esi, dword [esp + 0x40]
js 0x4445de
test ebp, ebp
je 0x444577
mov ecx, dword [eax + 4]
mov dword [ebp], ecx
cmp dword [esp + 0x44], 0
je 0x4445de
test esi, esi
je 0x4445d5
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x444591
mov edx, ecx
lea ebp, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
and ecx, 0xfffffffc
add esi, ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 0x1c], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x4445d5
and edx, 2
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [ecx + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x44]
mov dword [edx], ecx
push eax
call fcn.0043c7f0
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret