Function at 0x6d9f10
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
mov ebp, 0xf
xor eax, eax
mov edx, dword [esp + 0x74]
test edx, edx
mov edx, dword [esp + 0x10]
jne 0x6d9f3c
mov edx, ebp
xor ebx, ebx
lea edx, [edx + edx*2]
mov bl, byte [eax + 0x7edbb8]
shl edx, 4
mov bl, byte [ebx + esi + 0x1f]
add edx, eax
xor bl, byte [edx + ecx]
inc eax
cmp eax, 0x30
mov byte [esp + eax + 0x37], bl
jl 0x6d9f2e
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3d]
and eax, 0xff
and edx, 0xff
shl eax, 1
or eax, edx
mov edx, dword [esp + 0x39]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x3a]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x3b]
and edx, 0xff
shl eax, 1
or eax, edx
mov edx, dword [esp + 0x3c]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x3e]
and edx, 0xff
mov eax, dword [eax*4 + 0x7edbe8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x43]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x3f]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x40]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x41]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x42]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x44]
and eax, 0xff
mov edx, dword [edx*4 + 0x7edce8]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x49]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x45]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x46]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x47]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x48]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x4a]
and edx, 0xff
mov eax, dword [eax*4 + 0x7edde8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4f]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x4b]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x4c]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x4d]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x4e]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x50]
and eax, 0xff
mov edx, dword [edx*4 + 0x7edee8]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x55]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x51]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x52]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x53]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x54]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x56]
and edx, 0xff
mov eax, dword [eax*4 + 0x7edfe8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5b]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x57]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x58]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x59]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x5a]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x5c]
and eax, 0xff
mov edx, dword [edx*4 + 0x7ee0e8]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x61]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x5d]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x5e]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x5f]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x60]
shl eax, 1
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x62]
and edx, 0xff
mov eax, dword [eax*4 + 0x7ee1e8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x67]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x63]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x64]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x65]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x66]
shl edx, 1
and eax, 0xff
or edx, eax
mov eax, esi
test ebp, ebp
mov edx, dword [edx*4 + 0x7ee2e8]
mov dword [esp + 0x34], edx
mov edx, 0x7ee3e8
jle 0x6da24d
sub edx, esi
mov edi, 0x20
xor ebx, ebx
mov cl, byte [eax + 0x20]
mov bl, byte [edx + eax]
mov bl, byte [esp + ebx + 0x17]
xor bl, byte [eax]
inc eax
dec edi
mov byte [eax + 0x1f], bl
mov byte [eax - 1], cl
jne 0x6da22f
mov ecx, dword [esp + 0x14]
jmp 0x6da263
sub edx, esi
mov edi, 0x20
xor ebx, ebx
mov bl, byte [eax + edx]
mov bl, byte [esp + ebx + 0x17]
xor byte [eax], bl
inc eax
dec edi
jne 0x6da254
mov edi, dword [esp + 0x10]
inc edi
dec ebp
cmp ebp, 0xffffffff
mov dword [esp + 0x10], edi
jg 0x6d9f2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8