Function at 0x6d96f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f5f45
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x70b414]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [eax + 0x10]
test eax, eax
je 0x6d9934
push eax
call fcn.006e4fef
add esp, 4
test eax, eax
je 0x6d992a
mov dword [ebp - 0x44], 0
push 0x20
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
call fcn.006df1ed
mov ecx, eax
mov dword [ebp - 0x30], 0x1f
mov dword [ebp - 0x34], 0x1f
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
add esp, 4
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x44], ecx
jb 0x6d97b3
movsx edx, byte [ecx]
jmp 0x6d97b9
movsx edx, byte [eax]
lea ecx, [ebp - 0x44]
mov edi, 0x705f10
add edx, 0xd6271d
sub edi, ecx
mov esi, 0x1f
nop dword [eax + eax]
mov eax, edx
lea ecx, [ecx + 1]
imul edx, edx, 0xd7f5
shr eax, 4
xor al, byte [ecx + edi - 1]
mov byte [ecx - 1], al
add edx, 0xae05012
sub esi, 1
jne 0x6d97d0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], esi
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push 0x20
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
call fcn.006df1ed
mov edx, eax
mov dword [ebp - 0x18], 0x1f
mov dword [ebp - 0x1c], 0x12
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
add esp, 4
movups xmmword [edx], xmm0
mov word [edx + 0x10], si
mov byte [edx + 0x12], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x2c], edx
jb 0x6d9853
movsx ecx, byte [edx]
jmp 0x6d9859
movsx ecx, byte [eax]
lea edx, [ebp - 0x2c]
mov edi, 0x705de0
add ecx, 0xd6271d
sub edi, edx
mov esi, 0x12
nop dword [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xcaf5
shr eax, 4
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0xae05012
sub esi, 1
jne 0x6d9870
push 0x8c
push dword [ebp - 0x48]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov edx, 0x6ff7c8
push 1
cmovae ecx, dword [ebp - 0x2c]
push 1
call int.006bcde0
mov edx, dword [ebp - 0x18]
add esp, 0x10
cmp edx, 0x10
jb 0x6d98e8
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6d98de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d9952
push edx
push ecx
call fcn.006df222
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x6d992a
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6d9920
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d9952
push edx
push ecx
call fcn.006df222
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006df1da
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006e3ec2
int3