Function at 0x4400c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x4400e2
cmp eax, 2
je 0x44015b
jmp 0x4402b5
push 0xf8eb88df
push dword [0x452d4c]
call fcn.004451d0
add esp, 8
test eax, eax
je 0x44011f
mov ecx, dword [esi]
test ecx, ecx
je 0x44014f
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x44012b
cmp dword [esp], 0
je 0x44012b
mov dword [esi + 4], 3
jmp 0x44014f
mov dword [esi + 4], 1
jmp 0x4402b5
lea eax, [esp + 0x48]
push eax
call fcn.004459a0
add esp, 4
test al, al
je 0x44014f
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x44014c
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x4402b5
mov dword [esp], 0x62d0b22
mov dword [esp + 4], 0x23190137
mov dword [esp + 8], 0x1e02050f
mov dword [esp + 0xc], 0x2a35172b
mov dword [esp + 0x10], 0xa1c1e13
mov byte [esp + 0x14], 0x80
mov word [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov eax, 0x6fdf40e5
mov ecx, 0x11a
nop
nop
nop
movzx edx, byte [esp + eax - 0x6fdf40e5]
mov ebx, ecx
and ebx, 0x1e7
mov edi, eax
and edi, 0xd920018
or edi, ebx
mov ebx, eax
and ebx, 0x1e7
xor ebx, 0x102087e7
or edi, ebx
xor edx, 0x726dc7e7
mov ebx, edx
and ebx, edi
add ebx, ebx
add edx, edi
mov edi, edx
sub edi, ebx
mov ebx, edi
and ebx, 6
xor edi, 0x86
lea edi, [edi + ebx*2]
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
mov byte [esp + eax - 0x6fdf40e5], dl
inc eax
dec ecx
cmp eax, 0x6fdf40fd
jne 0x4401a0
mov edi, esp
lea eax, [esp + 0x40]
push edi
push eax
call fcn.00444700
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x30
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
lea eax, [esp + 0x48]
push 6
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.004447d0
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
jmp 0x440370
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov dword [esp], 0x54554a4b
xor edx, edx
mov eax, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx]
mov ecx, eax
or ecx, 0x438376e
add ecx, edx
mov edi, edx
xor edi, 0x8438376e
lea ecx, [edi + ecx*2]
add ecx, 2
mov edi, ecx
and edi, esi
mov ebx, ecx
not ebx
and ebx, esi
xor ecx, esi
add ecx, esi
not ecx
add ecx, ebx
or ecx, edi
lea esi, [ecx + ecx]
not esi
add esi, ecx
mov ecx, esi
and ecx, 0x59
xor esi, 0x6ae6ead9
lea ecx, [esi + ecx*2]
and esi, 1
xor ecx, 1
lea ecx, [ecx + esi*2]
mov byte [esp + edx], cl
inc edx
dec eax
cmp edx, 4
jne 0x4402d0
mov eax, dword [esp]
mov ecx, dword [0x452d58]
test ecx, ecx
je 0x44034e
xor edx, edx
mov esi, dword [0x452d5c]
nop
nop
nop
cmp dword [esi + edx*8], 0x7b3afdab
je 0x44037a
inc edx
cmp ecx, edx
jne 0x440340
mov ecx, dword [ebp + 0x10]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edi
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], esi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x44034e
mov eax, esp
push 0
push 0x1c
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push dword [0x452d60]
push ecx
call fcn.004427e0
add esp, 0x24
mov ebx, dword [esp]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x44034e