Function at 0x6801e980
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
mov edx, dword [ebp + 8]
mov eax, dword [0x68031884]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
push ebx
mov ecx, edx
mov eax, dword [ecx]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x2c], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x28], ecx
mov eax, edi
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
lea ebx, [ebp - 0x13]
sub ebx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea ebx, [ebp - 0x12]
sub ebx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x48], edi
lea esi, [edi + 2]
sub eax, edx
lea ebx, [ebp - 0x11]
sub edi, edx
sub ebx, edx
mov dword [ebp - 0x1c], ecx
mov ecx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x38], 4
jmp 0x6801ea07
mov eax, dword [ebp - 0x44]
mov bl, byte [edi + ecx]
xor bl, byte [ecx]
add ecx, 4
mov byte [ecx + eax - 4], bl
mov al, byte [ecx - 3]
xor al, byte [esi - 1]
mov ebx, dword [ebp - 0x50]
mov byte [ecx + ebx - 4], al
mov al, byte [ecx - 2]
xor al, byte [esi]
mov ebx, dword [ebp - 0x3c]
mov byte [ecx + ebx - 4], al
mov al, byte [ecx - 1]
xor al, byte [esi + 1]
mov ebx, dword [ebp - 0x4c]
mov byte [ecx + ebx - 4], al
mov eax, dword [ebp - 0x38]
add esi, 4
dec eax
mov dword [ebp - 0x38], eax
jne 0x6801ea04
xor esi, esi
xor edi, edi
lea esp, [esp]
xor ecx, ecx
mov al, byte [esi + 0x68005ed0]
mov bl, byte [ebp + ecx - 0x34]
xor bl, al
movzx eax, bl
mov al, byte [eax + 0x68005ed0]
mov byte [ebp + ecx - 0x34], bl
mov bl, byte [ebp + ecx - 0x33]
xor bl, al
movzx eax, bl
mov al, byte [eax + 0x68005ed0]
mov byte [ebp + ecx - 0x33], bl
mov bl, byte [ebp + ecx - 0x32]
xor bl, al
movzx eax, bl
mov al, byte [eax + 0x68005ed0]
mov byte [ebp + ecx - 0x32], bl
mov bl, byte [ebp + ecx - 0x31]
xor bl, al
movzx eax, bl
mov al, byte [eax + 0x68005ed0]
mov byte [ebp + ecx - 0x31], bl
mov bl, byte [ebp + ecx - 0x30]
xor bl, al
movzx eax, bl
mov al, byte [eax + 0x68005ed0]
mov byte [ebp + ecx - 0x30], bl
mov bl, byte [ebp + ecx - 0x2f]
xor bl, al
mov byte [ebp + ecx - 0x2f], bl
add ecx, 6
cmp ecx, 0x30
movzx esi, bl
jb 0x6801ea52
add esi, edi
and esi, 0xff
inc edi
cmp edi, 0x12
jb 0x6801ea50
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x48]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x40]
movzx edx, byte [eax + 0xf]
lea ecx, [esi + 2]
sub esi, eax
mov edi, 4
lea esp, [esp]
movzx ebx, byte [esi + eax]
xor ebx, edx
mov dl, byte [ebx + 0x68005ed0]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
mov dl, bl
movzx ebx, byte [ecx - 1]
movzx edx, dl
xor ebx, edx
mov dl, byte [ebx + 0x68005ed0]
mov bl, byte [eax + 1]
xor bl, dl
mov byte [eax + 1], bl
movzx edx, bl
movzx ebx, byte [ecx]
xor edx, ebx
mov dl, byte [edx + 0x68005ed0]
mov bl, byte [eax + 2]
xor bl, dl
mov byte [eax + 2], bl
mov dl, bl
movzx ebx, byte [ecx + 1]
movzx edx, dl
xor ebx, edx
mov dl, byte [ebx + 0x68005ed0]
mov bl, byte [eax + 3]
xor bl, dl
mov byte [eax + 3], bl
add eax, 4
add ecx, 4
dec edi
movzx edx, bl
jne 0x6801eb10
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.68014cb9
mov esp, ebp
pop ebp
ret 0xc