Function at 0x403def
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x6a98e0], 0
jne 0x403e0a
call fcn.00403a88
mov dword [0x6a98e0], 1
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ebx
sub eax, 0x80
je 0x403e3b
sub eax, 0x40
je 0x403e30
sub eax, 0x40
jne 0x404061
mov edx, dword [ebp + 8]
mov dword [edx], 0xe
jmp 0x403e44
mov edx, dword [ebp + 8]
mov dword [edx], 0xc
jmp 0x403e44
mov edx, dword [ebp + 8]
mov dword [edx], 0xa
push esi
push edi
sar ebx, 5
lea edi, [edx + 8]
mov dword [edx + 4], edi
test ebx, ebx
jle 0x403e87
mov esi, dword [ebp + 0xc]
add esi, 2
xor edx, edx
movzx ecx, byte [esi + 1]
movzx eax, byte [esi]
lea esi, [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 6]
shl ecx, 8
or ecx, eax
mov dword [edi + edx*4], ecx
inc edx
cmp edx, ebx
jl 0x403e5b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
sub eax, 0xa
je 0x403ff4
dec eax
dec eax
je 0x403f77
dec eax
dec eax
jne 0x40405f
mov edx, 0x6abae8
mov dword [ebp + 0x10], edx
mov ebx, dword [edi + 0x1c]
movzx eax, bl
movzx ecx, byte [eax + 0x6a98e8]
movzx eax, byte [edi + 0x1f]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
movzx eax, byte [edi + 0x1e]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
movzx eax, byte [edi + 0x1d]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
mov eax, dword [edi + 4]
xor ecx, dword [edx]
xor ecx, dword [edi]
lea edi, [edi + 0x20]
mov edx, dword [edi - 0x14]
xor eax, ecx
mov dword [edi], ecx
mov ecx, dword [edi - 0x18]
xor ecx, eax
mov dword [edi + 4], eax
xor edx, ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
movzx eax, byte [edi + 0xf]
movzx ecx, byte [eax + 0x6a98e8]
movzx eax, byte [edi + 0xe]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
movzx eax, dl
mov edx, dword [ebp + 0x10]
shl ecx, 8
add edx, 4
mov dword [ebp + 0x10], edx
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
mov eax, dword [edi - 0xc]
xor ecx, dword [edi - 0x10]
xor eax, ecx
mov dword [edi + 0x10], ecx
mov ecx, dword [edi - 8]
xor ecx, eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
xor ecx, ebx
mov dword [edi + 0x1c], ecx
cmp edx, 0x6abb04
jl 0x403eaa
jmp 0x40405f
mov esi, 0x6abae8
mov ebx, dword [edi + 0x14]
movzx eax, bl
movzx ecx, byte [eax + 0x6a98e8]
movzx eax, byte [edi + 0x17]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
movzx eax, byte [edi + 0x16]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
movzx eax, byte [edi + 0x15]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
mov eax, dword [edi + 4]
xor ecx, dword [esi]
add esi, 4
xor ecx, dword [edi]
lea edi, [edi + 0x18]
xor eax, ecx
mov dword [edi], ecx
mov ecx, dword [edi - 0x10]
xor ecx, eax
mov dword [edi + 4], eax
mov eax, dword [edi - 0xc]
xor eax, ecx
mov dword [edi + 8], ecx
mov ecx, dword [edi - 8]
xor ecx, eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
xor ecx, ebx
mov dword [edi + 0x14], ecx
cmp esi, 0x6abb08
jl 0x403f7c
jmp 0x40405f
mov esi, 0x6abae8
mov ebx, dword [edi + 0xc]
movzx eax, bl
movzx ecx, byte [eax + 0x6a98e8]
movzx eax, byte [edi + 0xf]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ecx, eax
mov eax, dword [edi + 4]
xor ecx, dword [esi]
add esi, 4
xor ecx, dword [edi]
lea edi, [edi + 0x10]
xor eax, ecx
mov dword [edi], ecx
mov ecx, dword [edi - 8]
xor ecx, eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
xor ecx, ebx
mov dword [edi + 0xc], ecx
cmp esi, 0x6abb10
jl 0x403ff9
pop edi
pop esi
pop ebx
pop ebp
ret