Function at 0x440290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp + 0xc], ecx
cmp dword [ecx + 8], 0
je 0x44035a
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x44035a
mov dword [esp + 8], eax
mov ebx, dword [ebp + 0xc]
mov dword [esp], 0xe8ebeae5
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
movzx esi, byte [esp + eax]
mov edi, eax
and edi, 1
xor edi, 0xfdd18721
mov edx, eax
and edx, 6
sub edx, edi
lea edi, [esi + esi]
not edi
add edi, esi
mov ecx, 0x73fca807
sub ecx, edx
or ecx, edi
add ecx, edx
add ecx, 0x8c0357f9
mov edi, 7
sub edi, edx
and edi, esi
or edi, ecx
mov ecx, edi
and ecx, 0x4c
xor edi, 0xcc
lea ecx, [edi + ecx*2]
inc cl
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x4402d0
mov eax, dword [esp]
mov esi, dword [0x4528cc]
test esi, esi
je 0x4403bf
xor edi, edi
mov edx, dword [0x4528d0]
nop
nop
nop
nop
nop
cmp dword [edx + edi*8], 0xdef797a3
je 0x44039f
mov ecx, edi
and ecx, 1
xor edi, 1
lea edi, [edi + ecx*2]
cmp edi, esi
jb 0x440340
jmp 0x4403bf
mov dword [esp], 0xa9eaebec
mov eax, 0xc16f99a7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x3e906659]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xbd
mov byte [esp + eax + 0x3e906659], cl
inc eax
cmp eax, 0xc16f99ab
jne 0x440370
mov eax, dword [esp]
jmp 0x4404f2
mov edx, dword [edx + edi*8 + 4]
cmp edx, eax
je 0x4403bf
push dword [ebp + 8]
push dword [esp + 0xc]
push 2
push dword [0x4528d4]
push edx
call fcn.004428e0
add esp, 0x14
cmp ebx, 1
mov ecx, dword [ebp + 0x10]
sbb ecx, 0
jl 0x4404e1
cmp eax, 0xc000010a
jne 0x4404e1
mov ecx, ebx
and ecx, 0x270f
mov esi, ebx
and esi, 0xffffd8f0
mov eax, esi
xor eax, 0xffffd8f0
mul ecx
mov dword [esp + 8], eax
mov edi, edx
mov eax, ebx
mov ebx, dword [ebp + 0x10]
mov edx, ebx
not edx
imul edx, ecx
add edi, edx
or eax, 0xffffd8f0
imul ebx, eax
mul esi
add edx, ebx
sub edx, esi
add eax, dword [esp + 8]
adc edx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov dword [esp], 0xe8ebeae5
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax]
mov edi, eax
and edi, 1
xor edi, 0xfdd18721
mov ecx, eax
and ecx, 6
sub ecx, edi
lea edi, [esi + esi]
not edi
add edi, esi
mov ebx, 0x73fca807
sub ebx, ecx
or ebx, edi
lea edi, [ecx + ebx]
add edi, 0x8c0357f9
mov ebx, 7
sub ebx, ecx
and ebx, esi
or ebx, edi
mov ecx, ebx
and ecx, 0x4c
xor ebx, 0xcc
lea ecx, [ebx + ecx*2]
inc cl
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x440440
mov eax, dword [esp]
mov esi, dword [0x4528cc]
test esi, esi
je 0x4404e1
xor ecx, ecx
mov edi, dword [0x4528d0]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ecx*8], 0x53f09cfa
je 0x4404c0
inc ecx
cmp esi, ecx
jne 0x4404b0
jmp 0x4404e1
mov ecx, dword [edi + ecx*8 + 4]
cmp ecx, eax
je 0x4404e1
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x4528d4]
push ecx
call fcn.004428e0
add esp, 0x18
test eax, eax
js 0x4404f2
mov ecx, dword [esp + 0xc]
mov esi, eax
call fcn.004401c0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc