Function at 0x6ec050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x140
call fcn.00702be0
mov eax, dword [0x8fc044]
xor eax, ebp
mov dword [ebp - 4], eax
test dword [0x1034e10], 0x800000
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x134], edx
jne 0x6ec928
push ebx
push esi
push edi
lea eax, [ebp - 0xcc]
mov edi, edx
sub edi, eax
lea esi, [ebp - 0x88]
lea eax, [edx + 0x3f]
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0x138], eax
lea edi, [ebp - 0xcc]
lea eax, [ebp - 0x88]
sub eax, edx
lea ebx, [ecx + 0x10]
mov dword [ebp - 0x12c], eax
mov eax, ecx
sub eax, esi
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0x110], eax
mov esi, ecx
lea eax, [ebp - 0xcc]
sub esi, eax
mov eax, edx
sub eax, edi
mov dword [ebp - 0xe0], esi
mov edi, dword [ebp - 0xe4]
neg ecx
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x130], eax
nop dword [eax]
lea ecx, [ebx + 0x2f]
xor eax, eax
lea esi, [ebp - 0xcc]
mov dword [ebp - 0x140], ecx
cmp esi, ecx
mov esi, dword [ebp - 0xe0]
ja 0x6ec131
lea edi, [ebp - 0x8d]
lea ecx, [ebx - 0x10]
cmp edi, ecx
mov edi, dword [ebp - 0xe4]
jae 0x6ec193
lea ecx, [ebx + 0x2f]
lea esi, [ebp - 0xcc]
cmp esi, dword [ebp - 0x138]
mov esi, dword [ebp - 0xe0]
ja 0x6ec155
lea edi, [ebp - 0x8d]
cmp edi, edx
mov edi, dword [ebp - 0xe4]
jae 0x6ec193
lea esi, [ebp - 0x88]
cmp esi, ecx
mov esi, dword [ebp - 0xe0]
ja 0x6ec175
lea edi, [ebp - 0x49]
lea ecx, [ebx - 0x10]
cmp edi, ecx
mov edi, dword [ebp - 0xe4]
jae 0x6ec193
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x118], ecx
lea ecx, [edx + 0x3f]
cmp dword [ebp - 0x118], ecx
ja 0x6ec1b4
lea ecx, [ebp - 0x49]
cmp ecx, edx
jb 0x6ec1b4
lea ecx, [ebp - 0xcc]
add ecx, eax
mov dl, byte [ecx + edi]
mov byte [ecx], dl
mov cl, byte [ecx + esi]
xor cl, dl
mov byte [ebp + eax - 0x88], cl
inc eax
cmp eax, 0x40
jl 0x6ec193
jmp 0x6ec22e
mov esi, dword [ebp - 0x13c]
lea edx, [ebp - 0xcc]
add edx, dword [ebp - 0x120]
lea edi, [ebp - 0x88]
add esi, edx
add edi, dword [ebp - 0x120]
nop dword [eax]
nop dword [eax + eax]
mov ebx, dword [ebp - 0xe4]
lea ecx, [ebp - 0xcc]
add ecx, eax
movups xmm1, xmmword [ecx + ebx]
mov ebx, dword [ebp - 0xe0]
movups xmmword [ecx], xmm1
movups xmm0, xmmword [ecx + ebx]
mov ecx, dword [ebp - 0xec]
add ecx, eax
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x88], xmm0
add eax, 0x20
movups xmm1, xmmword [esi + ecx]
movups xmm0, xmmword [ecx]
movups xmmword [ecx + edx], xmm1
pxor xmm1, xmm0
movups xmmword [ecx + edi], xmm1
cmp eax, 0x40
jl 0x6ec1e0
mov eax, 0x812648
mov dword [ebp - 0x118], 0xa
mov dword [ebp - 0x11c], eax
xor edi, edi
mov dword [ebp - 0xd8], edi
nop dword [eax + eax]
test edi, edi
je 0x6ec26d
xorps xmm0, xmm0
movlpd qword [ebp - 0x128], xmm0
mov esi, dword [ebp - 0x124]
mov edx, dword [ebp - 0x128]
jmp 0x6ec272
mov edx, dword [eax]
mov esi, dword [eax + 4]
lea eax, [edi*8]
mov dword [ebp + eax - 0x44], edx
lea ecx, [ebp - 0x44]
add ecx, eax
mov dword [ebp + eax - 0x40], esi
mov dword [ebp - 0x114], eax
lea eax, [edi - 1]
and eax, 7
mov dword [ebp - 0x124], ecx
movzx eax, byte [ebp + eax*8 - 0xcb]
mov ecx, dword [eax*8 + 0x811e48]
mov eax, dword [eax*8 + 0x811e4c]
mov dword [ebp - 0x10c], eax
lea eax, [edi - 2]
and eax, 7
mov dword [ebp - 0x108], ecx
movzx eax, byte [ebp + eax*8 - 0xca]
mov ecx, dword [eax*8 + 0x811e48]
mov eax, dword [eax*8 + 0x811e4c]
mov dword [ebp - 0x104], eax
lea eax, [edi - 3]
and eax, 7
mov dword [ebp - 0x100], ecx
movzx eax, byte [ebp + eax*8 - 0xc9]
mov ecx, dword [eax*8 + 0x811e48]
mov eax, dword [eax*8 + 0x811e4c]
mov dword [ebp - 0xfc], eax
lea eax, [edi - 4]
and eax, 7
mov dword [ebp - 0xf8], ecx
movzx eax, byte [ebp + eax*8 - 0xc8]
mov ecx, dword [eax*8 + 0x811e48]
mov ebx, dword [eax*8 + 0x811e4c]
lea eax, [edi + 3]
and eax, 7
mov dword [ebp - 0xf4], ecx
movzx eax, byte [ebp + eax*8 - 0xc7]
mov edi, dword [eax*8 + 0x811e48]
mov esi, dword [eax*8 + 0x811e4c]
mov dword [ebp - 0xf0], edi
mov edi, dword [ebp - 0xd8]
lea eax, [edi + 2]
inc edi
and eax, 7
mov dword [ebp - 0xd8], edi
and edi, 7
movzx eax, byte [ebp + eax*8 - 0xc6]
mov ecx, dword [eax*8 + 0x811e4c]
mov edx, dword [eax*8 + 0x811e48]
movzx eax, byte [ebp + edi*8 - 0xc5]
mov edi, dword [eax*8 + 0x811e48]
mov eax, dword [eax*8 + 0x811e4c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xe8], edi
mov edi, dword [ebp - 0x108]
shrd edi, eax, 8
xor edi, dword [ebp - 0x100]
shr eax, 8
xor eax, dword [ebp - 0x104]
shrd edi, eax, 8
xor edi, dword [ebp - 0xf8]
shr eax, 8
xor eax, dword [ebp - 0xfc]
shrd edi, eax, 8
xor edi, dword [ebp - 0xf4]
shr eax, 8
mov dword [ebp - 0xd0], eax
xor eax, ebx
shrd edi, eax, 8
shr eax, 8
mov dword [ebp - 0xd0], eax
mov eax, edi
xor eax, dword [ebp - 0xf0]
mov dword [ebp - 0xd4], edi
mov edi, dword [ebp - 0xd0]
xor edi, esi
shrd eax, edi, 8
shr edi, 8
xor eax, edx
xor edi, ecx
shrd eax, edi, 8
mov dword [ebp - 0xd0], edi
shr dword [ebp - 0xd0], 8
mov edi, dword [ebp - 0xd0]
xor edi, dword [ebp - 0xdc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xe8]
xor dword [ebp - 0xd4], eax
shld dword [ebp - 0xdc], eax, 8
shrd dword [ebp - 0xd4], edi, 8
shl eax, 8
xor eax, edx
shr edi, 8
mov edx, dword [ebp - 0xdc]
xor edx, ecx
mov dword [ebp - 0xe8], eax
mov ecx, eax
mov dword [ebp - 0xd0], edi
shld edx, ecx, 8
mov eax, dword [ebp - 0x114]
shl ecx, 8
xor edx, esi
xor ecx, dword [ebp - 0xf0]
shld edx, ecx, 8
movzx eax, byte [ebp + eax - 0xcc]
shl ecx, 8
xor edx, ebx
xor ecx, dword [ebp - 0xf4]
shld edx, ecx, 8
mov ebx, dword [ebp - 0xd4]
xor edx, dword [ebp - 0xfc]
shl ecx, 8
xor ecx, dword [ebp - 0xf8]
shld edx, ecx, 8
xor edx, dword [ebp - 0x104]
shl ecx, 8
xor ecx, dword [ebp - 0x100]
shld edx, ecx, 8
xor edx, dword [ebp - 0x10c]
shl ecx, 8
xor ecx, dword [ebp - 0x108]
shld edx, ecx, 8
shl ecx, 8
xor ebx, ecx
mov ecx, edi
xor ebx, dword [eax*8 + 0x811e48]
xor ecx, edx
xor ecx, dword [eax*8 + 0x811e4c]
mov eax, dword [ebp - 0x124]
mov edi, dword [ebp - 0xd8]
xor dword [eax], ebx
xor dword [eax + 4], ecx
mov eax, dword [ebp - 0x11c]
cmp edi, 8
jl 0x6ec250
movups xmm0, xmmword [ebp - 0x44]
mov edx, 0xfffffffe
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xd8], edx
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0x114], 8
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0xbc], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0xac], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [ebp - 0x9c], xmm0
nop
lea eax, [edx + 1]
mov dword [ebp - 0x124], eax
and eax, 7
movzx eax, byte [ebp + eax*8 - 0x87]
mov ecx, dword [eax*8 + 0x811e48]
mov eax, dword [eax*8 + 0x811e4c]
mov dword [ebp - 0xf0], eax
mov eax, edx
and eax, 7
mov dword [ebp - 0xf4], ecx
movzx eax, byte [ebp + eax*8 - 0x86]
mov ecx, dword [eax*8 + 0x811e48]
mov eax, dword [eax*8 + 0x811e4c]
mov dword [ebp - 0xf8], eax
lea eax, [edx - 1]
and eax, 7
mov dword [ebp - 0xfc], ecx
movzx eax, byte [ebp + eax*8 - 0x85]
mov ecx, dword [eax*8 + 0x811e48]
mov eax, dword [eax*8 + 0x811e4c]
mov dword [ebp - 0x100], eax
lea eax, [edx - 2]
and eax, 7
mov dword [ebp - 0x104], ecx
movzx eax, byte [ebp + eax*8 - 0x84]
mov ecx, dword [eax*8 + 0x811e48]
mov ebx, dword [eax*8 + 0x811e4c]
lea eax, [edx - 3]
and eax, 7
mov dword [ebp - 0x108], ecx
movzx eax, byte [ebp + eax*8 - 0x83]
mov edi, dword [eax*8 + 0x811e48]
mov esi, dword [eax*8 + 0x811e4c]
lea eax, [edx - 4]
and eax, 7
mov dword [ebp - 0x10c], edi
movzx eax, byte [ebp + eax*8 - 0x82]
mov ecx, dword [eax*8 + 0x811e4c]
mov edx, dword [eax*8 + 0x811e48]
mov eax, dword [ebp - 0xd8]
add eax, 3
and eax, 7
movzx eax, byte [ebp + eax*8 - 0x81]
mov edi, dword [eax*8 + 0x811e48]
mov eax, dword [eax*8 + 0x811e4c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xd8], edi
mov edi, dword [ebp - 0xf4]
shrd edi, eax, 8
xor edi, dword [ebp - 0xfc]
shr eax, 8
xor eax, dword [ebp - 0xf8]
shrd edi, eax, 8
xor edi, dword [ebp - 0x104]
shr eax, 8
xor eax, dword [ebp - 0x100]
shrd edi, eax, 8
xor edi, dword [ebp - 0x108]
shr eax, 8
mov dword [ebp - 0xd0], eax
xor eax, ebx
shrd edi, eax, 8
shr eax, 8
mov dword [ebp - 0xd0], eax
mov eax, edi
xor eax, dword [ebp - 0x10c]
mov dword [ebp - 0xd4], edi
mov edi, dword [ebp - 0xd0]
xor edi, esi
shrd eax, edi, 8
shr edi, 8
xor eax, edx
xor edi, ecx
shrd eax, edi, 8
mov dword [ebp - 0xd0], edi
shr dword [ebp - 0xd0], 8
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd8]
xor dword [ebp - 0xd4], eax
xor edi, dword [ebp - 0xdc]
shld dword [ebp - 0xdc], eax, 8
shrd dword [ebp - 0xd4], edi, 8
shl eax, 8
xor eax, edx
shr edi, 8
mov edx, dword [ebp - 0xdc]
xor edx, ecx
mov dword [ebp - 0xd8], eax
mov ecx, eax
mov dword [ebp - 0xd0], edi
shld edx, ecx, 8
shl ecx, 8
xor edx, esi
xor ecx, dword [ebp - 0x10c]
shld edx, ecx, 8
mov esi, dword [ebp - 0xe8]
shl ecx, 8
xor edx, ebx
xor ecx, dword [ebp - 0x108]
shld edx, ecx, 8
mov ebx, dword [ebp - 0xd4]
xor edx, dword [ebp - 0x100]
shl ecx, 8
xor ecx, dword [ebp - 0x104]
movzx eax, byte [ebp + esi - 0x88]
shld edx, ecx, 8
xor edx, dword [ebp - 0xf8]
shl ecx, 8
xor ecx, dword [ebp - 0xfc]
shld edx, ecx, 8
xor edx, dword [ebp - 0xf0]
shl ecx, 8
xor ecx, dword [ebp - 0xf4]
shld edx, ecx, 8
shl ecx, 8
xor ebx, ecx
mov ecx, edi
xor ebx, dword [eax*8 + 0x811e48]
xor ecx, edx
xor ecx, dword [eax*8 + 0x811e4c]
xor dword [ebp + esi - 0x44], ebx
xor dword [ebp + esi - 0x40], ecx
add esi, 8
sub dword [ebp - 0x114], 1
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xe8], esi
jne 0x6ec560
movups xmm0, xmmword [ebp - 0x44]
mov eax, dword [ebp - 0x11c]
add eax, 8
sub dword [ebp - 0x118], 1
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x11c], eax
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0x68], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [ebp - 0x58], xmm0
jne 0x6ec243
mov edi, dword [ebp - 0x134]
lea eax, [ebp - 0x49]
xor edx, edx
lea ecx, [edi + 0x3f]
cmp edi, eax
ja 0x6ec848
lea eax, [ebp - 0x88]
cmp ecx, eax
jae 0x6ec85d
mov ebx, dword [ebp - 0xec]
cmp edi, dword [ebp - 0x140]
ja 0x6ec88e
lea eax, [ebx - 0x10]
cmp ecx, eax
jb 0x6ec88e
mov ebx, dword [ebp - 0x12c]
mov edx, edi
mov edi, dword [ebp - 0x110]
mov esi, 0x40
lea eax, [edx + ebx]
mov cl, byte [edi + eax]
lea edx, [edx + 1]
xor cl, byte [edx - 1]
xor cl, byte [eax]
mov byte [edx - 1], cl
sub esi, 1
jne 0x6ec870
mov ebx, dword [ebp - 0xec]
jmp 0x6ec8e0
lea esi, [ebp - 0x78]
mov ecx, edi
sub esi, edi
mov edi, dword [ebp - 0x110]
nop dword [eax + eax]
mov eax, dword [ebp - 0x12c]
movups xmm0, xmmword [ecx]
add eax, ecx
movups xmm1, xmmword [edi + eax]
pxor xmm1, xmm0
movups xmm0, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
movups xmm0, xmmword [ecx + 0x10]
movups xmm1, xmmword [ebx + edx]
add edx, 0x20
pxor xmm1, xmm0
movups xmm0, xmmword [esi + ecx]
pxor xmm1, xmm0
movups xmmword [ecx + 0x10], xmm1
add ecx, 0x20
cmp edx, 0x40
jl 0x6ec8a0
sub dword [ebp - 0x120], 0x40
add ebx, 0x40
add dword [ebp - 0xe0], 0x40
add dword [ebp - 0x110], 0x40
sub dword [ebp - 0x130], 1
mov edx, dword [ebp - 0x134]
mov edi, dword [ebp - 0xe4]
mov dword [ebp - 0xec], ebx
jne 0x6ec100
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00703eaa
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
push ecx
push edx
call fcn.00446900
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
call fcn.00703eaa
mov esp, ebp
pop ebp
ret