Function at 0x40de07
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x673180], 0
jne 0x40de22
call fcn.0040daa0
mov dword [0x673180], 1
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ebx
sub eax, 0x80
je 0x40de53
sub eax, 0x40
je 0x40de48
sub eax, 0x40
jne 0x40e079
mov edx, dword [ebp + 8]
mov dword [edx], 0xe
jmp 0x40de5c
mov edx, dword [ebp + 8]
mov dword [edx], 0xc
jmp 0x40de5c
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 0x40de9f
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 0x40de73
mov edx, dword [ebp + 8]
mov eax, dword [edx]
sub eax, 0xa
je 0x40e00c
dec eax
dec eax
je 0x40df8f
dec eax
dec eax
jne 0x40e077
mov edx, 0x675388
mov dword [ebp + 0x10], edx
mov ebx, dword [edi + 0x1c]
movzx eax, bl
movzx ecx, byte [eax + 0x673188]
movzx eax, byte [edi + 0x1f]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
xor ecx, eax
movzx eax, byte [edi + 0x1e]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
xor ecx, eax
movzx eax, byte [edi + 0x1d]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
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 + 0x673188]
movzx eax, byte [edi + 0xe]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
xor ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
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 + 0x673188]
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, 0x6753a4
jl 0x40dec2
jmp 0x40e077
mov esi, 0x675388
mov ebx, dword [edi + 0x14]
movzx eax, bl
movzx ecx, byte [eax + 0x673188]
movzx eax, byte [edi + 0x17]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
xor ecx, eax
movzx eax, byte [edi + 0x16]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
xor ecx, eax
movzx eax, byte [edi + 0x15]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
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, 0x6753a8
jl 0x40df94
jmp 0x40e077
mov esi, 0x675388
mov ebx, dword [edi + 0xc]
movzx eax, bl
movzx ecx, byte [eax + 0x673188]
movzx eax, byte [edi + 0xf]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
xor ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
xor ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
movzx eax, byte [eax + 0x673188]
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, 0x6753b0
jl 0x40e011
pop edi
pop esi
pop ebx
pop ebp
ret