Function at 0x440450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 8], 0
je 0x4404ca
mov edx, dword [ecx]
test edx, edx
je 0x4404ca
mov edi, dword [ebp + 0x10]
mov dword [esp + 4], 0x484b4a4d
mov byte [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x93
xor bl, byte [esp + eax + 4]
add bl, 0x21
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 5
jne 0x440480
mov eax, dword [esp + 4]
mov ebx, dword [0x451f80]
test ebx, ebx
je 0x440578
xor edi, edi
mov esi, dword [0x451f84]
cmp dword [esi + edi*8], 0xdef797a3
je 0x440554
inc edi
cmp ebx, edi
jne 0x4404b0
mov edi, dword [ebp + 0x10]
jmp 0x440578
mov dword [esp + 4], 0xd91a1b14
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x56dc273b
mov ecx, 0xa923d8c4
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x56dc2737]
mov edx, esi
not edx
and edx, 0x31
xor esi, 0x521e3331
or esi, edx
mov edi, eax
and edi, 0x521c2331
or edi, 0xa1c18008
mov edx, ecx
and edx, 0xa921c8ce
or edx, 0x100e1221
xor edx, edi
xor edx, esi
mov esi, edx
and esi, 0x58
add esi, esi
xor esi, 0xa0
xor edx, 0xe
add edx, esi
inc dl
mov byte [esp + eax - 0x56dc2737], dl
inc eax
dec ecx
cmp eax, 0x56dc2742
jne 0x4404f0
mov eax, dword [esp + 4]
jmp 0x4406bb
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x440578
push dword [ebp + 8]
push edx
push 2
push dword [0x451f88]
push esi
mov esi, ecx
call fcn.00442960
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x440625
cmp eax, 0xc000010a
jne 0x440625
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
imul esi, edi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov dword [esp + 4], 0x484b4a4d
mov byte [esp + 8], 0
xor eax, eax
mov ebx, eax
add bl, 0x93
xor bl, byte [esp + eax + 4]
add bl, 0x21
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 5
jne 0x4405c0
mov eax, dword [esp + 4]
mov esi, dword [0x451f80]
test esi, esi
je 0x440625
xor edi, edi
mov ebx, dword [0x451f84]
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x53f09cfa
je 0x440600
inc edi
cmp esi, edi
jne 0x4405f0
jmp 0x440625
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x440625
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x451f88]
push esi
mov esi, ecx
call fcn.00442960
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x4406bb
mov edx, dword [ecx]
test edx, edx
je 0x4406bb
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x484b4a4d
mov byte [esp + 8], 0
xor ebx, ebx
nop
nop
nop
nop
nop
nop
mov edx, ebx
add dl, 0x93
xor dl, byte [esp + ebx + 4]
add dl, 0x21
mov byte [esp + ebx + 4], dl
inc ebx
cmp ebx, 5
jne 0x440650
mov esi, dword [0x451f80]
test esi, esi
je 0x4406b5
mov edx, dword [esp + 4]
xor ebx, ebx
mov edi, dword [0x451f84]
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0x7e776f1
je 0x440690
inc ebx
cmp esi, ebx
jne 0x440680
jmp 0x4406b5
mov esi, dword [edi + ebx*8 + 4]
cmp esi, edx
je 0x4406b5
push dword [esp + 0xc]
push 1
push dword [0x451f88]
push esi
mov esi, ecx
mov edi, eax
call fcn.00442960
mov eax, edi
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc