Function at 0x40de1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x675180], 0
jne 0x40de39
call fcn.0040dab7
mov dword [0x675180], 1
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ebx
sub eax, 0x80
je 0x40de6a
sub eax, 0x40
je 0x40de5f
sub eax, 0x40
jne 0x40e090
mov edx, dword [ebp + 8]
mov dword [edx], 0xe
jmp 0x40de73
mov edx, dword [ebp + 8]
mov dword [edx], 0xc
jmp 0x40de73
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 0x40deb6
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 0x40de8a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
sub eax, 0xa
je 0x40e023
dec eax
dec eax
je 0x40dfa6
dec eax
dec eax
jne 0x40e08e
mov edx, 0x677388
mov dword [ebp + 0x10], edx
mov ebx, dword [edi + 0x1c]
movzx eax, bl
movzx ecx, byte [eax + 0x675188]
movzx eax, byte [edi + 0x1f]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
xor ecx, eax
movzx eax, byte [edi + 0x1e]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
xor ecx, eax
movzx eax, byte [edi + 0x1d]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
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 + 0x675188]
movzx eax, byte [edi + 0xe]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
xor ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
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 + 0x675188]
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, 0x6773a4
jl 0x40ded9
jmp 0x40e08e
mov esi, 0x677388
mov ebx, dword [edi + 0x14]
movzx eax, bl
movzx ecx, byte [eax + 0x675188]
movzx eax, byte [edi + 0x17]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
xor ecx, eax
movzx eax, byte [edi + 0x16]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
xor ecx, eax
movzx eax, byte [edi + 0x15]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
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, 0x6773a8
jl 0x40dfab
jmp 0x40e08e
mov esi, 0x677388
mov ebx, dword [edi + 0xc]
movzx eax, bl
movzx ecx, byte [eax + 0x675188]
movzx eax, byte [edi + 0xf]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
xor ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
xor ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
movzx eax, byte [eax + 0x675188]
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, 0x6773b0
jl 0x40e028
pop edi
pop esi
pop ebx
pop ebp
ret