Function at 0x441390
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 0x4413b2
cmp eax, 2
je 0x44142b
jmp 0x441561
push 0xf8eb88df
push dword [0x452e10]
call fcn.00445fa0
add esp, 8
test eax, eax
je 0x4413ef
mov ecx, dword [esi]
test ecx, ecx
je 0x44141f
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x4413fb
cmp dword [esp], 0
je 0x4413fb
mov dword [esi + 4], 3
jmp 0x44141f
mov dword [esi + 4], 1
jmp 0x441561
lea eax, [esp + 0x48]
push eax
call fcn.00446850
add esp, 4
test al, al
je 0x44141f
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x44141c
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x441561
mov dword [esp], 0x8ee38de6
mov dword [esp + 4], 0xe1878ff1
mov dword [esp + 8], 0x86868bf1
mov dword [esp + 0xc], 0xeaf391e5
mov dword [esp + 0x10], 0x9a909695
mov byte [esp + 0x14], 0xc
mov dword [esp + 0x15], 0
mov word [esp + 0x19], 0
mov eax, 0xc5
mov ecx, 0x3b
movzx edx, byte [esp + eax - 0xc5]
mov ebx, edx
not ebx
mov edi, ebx
and edi, 0x91
or ebx, 0x6e
add ebx, edx
inc ebx
or ebx, edi
mov edi, ecx
and edi, 0x11
mov edx, ecx
or edx, 0x6e
add edx, eax
or edx, edi
xor edx, ebx
add dl, 0x2c
mov byte [esp + eax - 0xc5], dl
inc eax
dec ecx
cmp eax, 0xe0
jne 0x441470
mov ebx, esp
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00445470
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], ebx
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.00445540
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 0x441600
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov dword [esp], 0x101f1e1d
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
xor edx, edx
nop
nop
movzx ecx, byte [esp + edx]
mov esi, eax
and esi, 0xa
mov edi, edx
xor edi, 0xf9f82b45
add edi, esi
mov esi, edi
not esi
lea ebx, [edi + esi*2]
inc ebx
xor ebx, edi
and ebx, ecx
xor ebx, edi
add bl, 0xa7
mov byte [esp + edx], bl
inc edx
add eax, 2
cmp edx, 7
jne 0x441580
mov eax, dword [esp]
mov ecx, dword [0x452e1c]
test ecx, ecx
je 0x4415de
xor edx, edx
mov esi, dword [0x452e20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x7b3afdab
je 0x44160a
inc edx
cmp ecx, edx
jne 0x4415d0
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 0x4415de
mov eax, esp
push 0
push 0x1c
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push dword [0x452e24]
push ecx
call fcn.00443a10
add esp, 0x24
mov ebx, dword [esp]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x4415de