Function at 0x440550
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 0x4405e2
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x4405e2
mov edi, dword [ebp + 0x10]
mov dword [esp + 4], 0xf8fbfafd
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x2b
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x27]
mov ebx, edx
and ebx, eax
add bl, bl
sub dl, bl
movzx edx, dl
add edx, eax
add dl, 0x29
mov byte [esp + eax - 0x27], dl
inc eax
cmp eax, 0x32
jne 0x440590
mov eax, dword [esp + 4]
mov ebx, dword [0x45316c]
test ebx, ebx
je 0x440661
mov edx, edi
xor edi, edi
mov esi, dword [0x453170]
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0xdef797a3
je 0x440642
inc edi
cmp ebx, edi
jne 0x4405d0
mov edi, edx
jmp 0x440661
mov dword [esp + 4], 0x91cecfc4
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
lea eax, [esp + 4]
mov ecx, 0xfe8aad2
nop
movzx edx, byte [eax]
not edx
lea esi, [ecx - 0xfe8aa00]
movzx edi, dl
or edi, esi
xor edi, 0xff
and edx, ecx
or edx, edi
mov ebx, 0xdaa90233
sub ebx, edx
mov edx, ebx
xor edx, 0x15
and ebx, 0x6a
add ebx, ebx
sub ebx, edx
mov byte [eax], bl
inc eax
dec ecx
cmp ecx, 0xfe8aacb
jne 0x440600
mov eax, dword [esp + 4]
jmp 0x4407d8
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, edx
je 0x440661
push dword [ebp + 8]
push ecx
push 2
push dword [0x453174]
push esi
call fcn.00442df0
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov ecx, edi
sbb ecx, 0
jl 0x440731
cmp eax, 0xc000010a
jne 0x440731
mov ecx, 0xffffd8f0
mov eax, esi
mul ecx
sub edx, esi
imul ecx, edi, 0xffffd8f0
add ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov dword [esp + 4], 0xf8fbfafd
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x2b
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax - 0x27]
mov ecx, ebx
and ecx, eax
add cl, cl
sub bl, cl
movzx ecx, bl
add ecx, eax
add cl, 0x29
mov byte [esp + eax - 0x27], cl
inc eax
cmp eax, 0x32
jne 0x4406c0
mov eax, dword [esp + 4]
mov esi, dword [0x45316c]
test esi, esi
je 0x440731
xor edi, edi
mov ebx, dword [0x453170]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x53f09cfa
je 0x440710
inc edi
cmp esi, edi
jne 0x440700
jmp 0x440731
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x440731
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x453174]
push esi
call fcn.00442df0
add esp, 0x18
test eax, eax
js 0x4407d8
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
test edx, edx
je 0x4407d8
mov dword [esp + 4], 0xf8fbfafd
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov esi, 0x2b
movzx ebx, byte [esp + esi - 0x27]
mov ecx, ebx
and ecx, esi
add cl, cl
sub bl, cl
movzx ecx, bl
add ecx, esi
add cl, 0x29
mov byte [esp + esi - 0x27], cl
inc esi
cmp esi, 0x32
jne 0x440760
mov esi, dword [0x45316c]
test esi, esi
je 0x4407ce
mov ecx, dword [esp + 4]
xor ebx, ebx
mov edi, dword [0x453170]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0x7e776f1
je 0x4407b0
inc ebx
cmp esi, ebx
jne 0x4407a0
jmp 0x4407ce
mov esi, dword [edi + ebx*8 + 4]
cmp esi, ecx
je 0x4407ce
push edx
push 1
push dword [0x453174]
push esi
mov edi, eax
call fcn.00442df0
mov eax, edi
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc