Function at 0x6ea7a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040a554
xor eax, eax
push ebp
push 0x6eaa76
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00425428
test al, al
je 0x6eaa60
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x414]
call fcn.0040b9b4
je 0x6eaa60
mov eax, dword [ebp - 8]
call fcn.006e8fc4
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00425208
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jb 0x6eaa60
mov eax, dword [ebp - 8]
lea edx, [eax + 8]
mov ecx, 0x40c
mov eax, dword [ebp - 0xc]
call fcn.004252c4
mov edx, 0x6eaa84
mov eax, dword [ebp - 8]
add eax, 8
mov ecx, 4
call fcn.00425cfc
test eax, eax
jne 0x6ea8cf
mov eax, dword [ebp - 8]
mov byte [eax + 0x41c], 0
mov eax, dword [ebp - 8]
add eax, 8
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x428], edx
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x6ea8cf
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, 0x14
call fcn.00406a98
mov ebx, eax
mov esi, ebx
mov edx, esi
mov ecx, 0x14
mov eax, dword [ebp - 0xc]
call fcn.004252c4
mov eax, dword [ebx]
call fcn.006e8f24
mov dword [ebx], eax
mov edx, dword [esi]
imul edx, dword [esi + 4]
mov ecx, 1
mov eax, dword [ebp - 0xc]
call fcn.0042538c
mov edx, dword [esi]
imul edx, dword [esi + 4]
sub eax, edx
mov dword [ebx + 0x10], eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x420]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
call fcn.006cefac
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x6ea86e
mov edx, 0x6eaa8c
mov eax, dword [ebp - 8]
add eax, 8
mov ecx, 4
call fcn.00425cfc
test eax, eax
jne 0x6ea981
mov eax, dword [ebp - 8]
mov byte [eax + 0x41c], 1
mov eax, dword [ebp - 8]
add eax, 8
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x428], edx
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x6ea981
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, 0x14
call fcn.00406a98
mov ebx, eax
mov esi, ebx
mov edx, esi
mov ecx, 0x14
mov eax, dword [ebp - 0xc]
call fcn.004252c4
mov eax, dword [ebx]
call fcn.006e8f24
mov dword [ebx], eax
mov eax, dword [esi]
imul dword [esi + 4]
mov edx, eax
add edx, edx
mov ecx, 1
mov eax, dword [ebp - 0xc]
call fcn.0042538c
mov edx, dword [esi]
imul edx, dword [esi + 4]
add edx, edx
sub eax, edx
mov dword [ebx + 0x10], eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x420]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
call fcn.006cefac
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x6ea91b
mov edx, 0x6eaa94
mov eax, dword [ebp - 8]
add eax, 8
mov ecx, 4
call fcn.00425cfc
test eax, eax
jne 0x6eaa47
mov eax, dword [ebp - 8]
mov byte [eax + 0x41c], 4
mov eax, dword [ebp - 8]
add eax, 8
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x428], edx
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x6eaa47
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, 0x14
call fcn.00406a98
mov ebx, eax
mov edx, ebx
mov ecx, 0x14
mov eax, dword [ebp - 0xc]
call fcn.004252c4
mov esi, ebx
xor eax, eax
movzx edx, byte [esi]
xor dl, 0x4f
xor dl, al
mov byte [esi], dl
inc esi
inc eax
cmp eax, 0x14
jne 0x6ea9f0
mov eax, dword [ebx]
mov dword [ebx], eax
mov esi, ebx
mov eax, dword [esi]
imul dword [esi + 4]
mov edx, eax
add edx, edx
mov ecx, 1
mov eax, dword [ebp - 0xc]
call fcn.0042538c
mov edx, dword [esi]
imul edx, dword [esi + 4]
add edx, edx
sub eax, edx
mov dword [ebx + 0x10], eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x420]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
call fcn.006cefac
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x6ea9d1
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 8]
add eax, 0x414
mov edx, dword [ebp - 4]
call fcn.0040a850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eaa7d
lea eax, [ebp - 4]
call fcn.0040a470
ret