Function at 0x6e6220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa8
nop
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6e9140
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea esi, [ebp - 0x84]
mov dword [esp], esi
call fcn.006e9890
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
mov edx, eax
sub edx, ecx
mov edi, 0x7e9864
add edi, dword [0x7e9864]
mov dword [ebp - 0x2c], edi
mov edi, dword [0x7e9974]
mov dword [ebp - 0x20], edi
mov edi, 0x7e9840
add edi, dword [0x7e9840]
mov dword [ebp - 0x28], edi
cmp edx, 9
jae 0x6e62c2
nop
movzx eax, byte [0x8790ea]
cmp al, 0x10
je 0x6e633b
mov cl, 0xc6
nop word cs:[eax + eax]
mov al, 0xaa
lock cmpxchg byte [0x8790ea], cl
je 0x6e6305
cmp al, 0x10
jne 0x6e62b0
jmp 0x6e633b
lea edx, [ecx + 9]
mov dword [ebp - 0x74], edx
cmp eax, 0x10
jb 0x6e62d3
mov esi, dword [ebp - 0x84]
movzx eax, byte [0x8790ea]
cmp al, 0x10
je 0x6e63a4
mov dl, 0xc6
nop word cs:[eax + eax]
mov al, 0xaa
lock cmpxchg byte [0x8790ea], dl
je 0x6e6375
cmp al, 0x10
jne 0x6e62f0
jmp 0x6e63a4
nop
movq xmm0, qword [0x8790e0]
pxor xmm0, xmmword [0x7e9810]
movq qword [0x8790e0], xmm0
xor byte [0x8790e8], 0xf
xor byte [0x8790e9], 0xfd
mov al, 0x10
xchg byte [0x8790ea], al
mov dword [ebp - 0x10], 1
nop
mov dword [ebp - 0x10], 1
movzx eax, byte [ebp - 0x40]
mov byte [esp + 4], al
mov dword [esp + 0xc], 9
mov dword [esp + 8], 0x8790e0
mov dword [esp], 9
lea ecx, [ebp - 0x84]
call fcn.0045bd80
sub esp, 0x10
jmp 0x6e6412
nop
movq xmm0, qword [0x8790e0]
pxor xmm0, xmmword [0x7e9810]
movq qword [0x8790e0], xmm0
xor byte [0x8790e8], 0xf
xor byte [0x8790e9], 0xfd
mov al, 0x10
xchg byte [0x8790ea], al
nop
movzx eax, byte [0x8790e0]
mov byte [esi + ecx], al
movzx eax, byte [0x8790e1]
mov byte [esi + ecx + 1], al
movzx eax, byte [0x8790e2]
mov byte [esi + ecx + 2], al
movzx eax, byte [0x8790e3]
mov byte [esi + ecx + 3], al
movzx eax, byte [0x8790e4]
mov byte [esi + ecx + 4], al
movzx eax, byte [0x8790e5]
mov byte [esi + ecx + 5], al
movzx eax, byte [0x8790e6]
mov byte [esi + ecx + 6], al
movzx eax, byte [0x8790e7]
mov byte [esi + ecx + 7], al
movzx eax, byte [0x8790e8]
mov byte [esi + ecx + 8], al
mov byte [esi + ecx + 9], 0
lea eax, [ebp - 0x84]
nop
mov edx, dword [ebp + 8]
movzx ecx, byte [eax]
mov byte [edx], cl
movzx ecx, byte [eax + 1]
mov byte [edx + 1], cl
movzx ecx, byte [eax + 2]
mov byte [edx + 2], cl
movzx ecx, byte [eax + 3]
mov byte [edx + 3], cl
movzx ecx, byte [eax + 4]
mov byte [edx + 4], cl
movzx ecx, byte [eax + 5]
mov byte [edx + 5], cl
movzx ecx, byte [eax + 6]
mov byte [edx + 6], cl
movzx ecx, byte [eax + 7]
mov byte [edx + 7], cl
movzx ecx, byte [eax + 8]
mov byte [edx + 8], cl
movzx ecx, byte [eax + 9]
mov byte [edx + 9], cl
movzx ecx, byte [eax + 0xa]
mov byte [edx + 0xa], cl
movzx ecx, byte [eax + 0xb]
mov byte [edx + 0xb], cl
movzx ecx, byte [eax + 0xc]
mov byte [edx + 0xc], cl
movzx ecx, byte [eax + 0xd]
mov byte [edx + 0xd], cl
movzx ecx, byte [eax + 0xe]
mov byte [edx + 0xe], cl
movzx ecx, byte [eax + 0xf]
mov byte [edx + 0xf], cl
movzx ecx, byte [eax + 0x10]
mov byte [edx + 0x10], cl
movzx ecx, byte [eax + 0x11]
mov byte [edx + 0x11], cl
movzx ecx, byte [eax + 0x12]
mov byte [edx + 0x12], cl
movzx ecx, byte [eax + 0x13]
mov byte [edx + 0x13], cl
movzx ecx, byte [eax + 0x14]
mov byte [edx + 0x14], cl
movzx ecx, byte [eax + 0x15]
mov byte [edx + 0x15], cl
movzx ecx, byte [eax + 0x16]
mov byte [edx + 0x16], cl
movzx ecx, byte [eax + 0x17]
mov byte [edx + 0x17], cl
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x6e65fb
nop
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x64], eax
lea ecx, [eax + 1]
mov eax, dword [0x8792ec]
lea edx, [eax + 1]
mov dword [0x8792ec], edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
test edx, eax
nop
mov dword [ebp - 0x44], ecx
je 0x6e6564
xor ebx, ebx
xor esi, esi
xor edx, edx
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x44], 0xfff
jbe 0x6e6559
nop
mov eax, dword [ebp - 0x24]
mov eax, dword [eax - 4]
mov dword [ebp - 0x20], eax
cmp dword [0x8792f4], 0x32043966
mov ecx, dword [0x7e985c]
mov eax, dword [0x7e9858]
mov edi, dword [0x7e9854]
mov esi, dword [0x7e9850]
jne 0x6e659c
nop
mov dword [0x87930c], 0x51a18440
jmp 0x6e65c9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
jmp 0x6e65e7
nop
cmp dword [0x879308], 0x759e838d
jne 0x6e6626
nop
mov eax, dword [ebp - 0x28]
lea edx, [eax + 0x14]
add edx, dword [eax + 0x14]
mov dword [ebp - 0x30], edx
mov dword [0x8792fc], 0x466559c3
nop
cmp dword [ebp - 0x20], 0
jg 0x6e663c
jmp 0x6e6505
nop
mov ebx, dword [ebp - 0x5c]
test dword [ebp - 0x60], ebx
sete bl
xor esi, dword [ebp - 0x3c]
xor eax, edx
or eax, esi
xor edi, dword [ebp - 0x38]
xor ecx, dword [ebp - 0x34]
or ecx, edi
or ecx, eax
setne al
and al, bl
or al, byte [0x889fb8]
and al, 1
mov byte [0x889fb8], al
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x20
jae 0x6e6799
mov eax, dword [ebp - 0x64]
add eax, 0x24
mov ecx, eax
mov eax, edx
nop
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0071996d
mov dword [ebp - 0x10], 2
nop
mov dword [ebp - 0x10], 2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.006e99e0
nop
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret
nop
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
add edx, eax
mov dword [ebp - 0x30], edx
nop
cmp dword [ebp - 0x20], 0
jle 0x6e6505
xor ecx, ecx
cmp dword [0x87930c], 0x236e747f
mov eax, 0x30
mov dword [ebp - 0x50], 0
cmovne eax, ecx
mov dword [ebp - 0x6c], eax
jne 0x6e668e
xor eax, eax
xor ebx, ebx
xor esi, esi
xor edx, edx
xor edi, edi
mov ecx, dword [ebp - 0x2c]
nop dword [eax]
nop
xor ebx, dword [ecx + eax + 0x30]
xor esi, dword [ecx + eax + 0x34]
xor edx, dword [ecx + eax + 0x38]
xor edi, dword [ecx + eax + 0x3c]
add eax, 0x10
cmp eax, dword [ebp - 0x20]
jl 0x6e6670
jmp 0x6e650d
pcmpeqd xmm0, xmm0
xorps xmm1, xmm1
xor eax, eax
xor ebx, ebx
xor esi, esi
xor edx, edx
xor edi, edi
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x2c]
jmp 0x6e6759
nop
mov dword [ebp - 0x4c], ebx
lea ebx, [ecx*8]
movdqu xmmword [ebp - 0x94], xmm0
movups xmmword [ebp - 0xa4], xmm1
shr bl, 3
and bl, 0xf
neg bl
movsx ebx, bl
mov esi, dword [ebp + ebx - 0x88]
not esi
and dword [ebp - 0x54], esi
mov esi, dword [ebp + ebx - 0x8c]
not esi
and dword [ebp - 0x58], esi
mov esi, dword [ebp + ebx - 0x90]
not esi
and dword [ebp - 0x4c], esi
mov esi, dword [ebp + ebx - 0x94]
not esi
and edi, esi
mov esi, edi
mov edi, dword [ebp - 0x48]
lea ebx, [edi + 1]
mov dword [ebp - 0x68], ebx
add eax, ecx
add eax, 0xfffffff4
mov ecx, dword [ebp - 0x28]
lea ebx, [ecx + edi*4]
add ebx, 4
add ebx, dword [ecx + edi*4 + 4]
mov ecx, esi
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
nop
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x48], esi
mov edi, dword [ebp - 0x34]
xor edi, dword [ebp - 0x54]
xor edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x38]
xor esi, ebx
mov ebx, dword [ebp - 0x3c]
xor ebx, ecx
add eax, 0x10
cmp eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
jge 0x6e650d
nop
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
lea esi, [ecx + eax]
mov ecx, dword [ebp - 0x30]
sub ecx, esi
mov ebx, dword [ebp - 0x50]
sbb ebx, 0
cmp ecx, 0x10
sbb ebx, 0
mov ebx, dword [ebp - 0x6c]
mov edi, dword [ebx + esi + 0xc]
mov dword [ebp - 0x54], edi
mov edi, dword [ebx + esi + 8]
mov dword [ebp - 0x58], edi
mov edi, dword [ebx + esi]
mov ebx, dword [ebx + esi + 4]
jl 0x6e66b0
mov ecx, edi
jmp 0x6e6737
nop
mov dword [ebp - 0x10], 0
call fcn.006fce21
nop word cs:[eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.007311e0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
lea ecx, [ebp - 0x84]
call fcn.00455700
add esp, 0x10
pop ebp
ret