Function at 0x6ce630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x70
mov esi, ecx
mov dword [ebp - 0x4c], ecx
nop
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6d0860
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call fcn.006cff10
add eax, dword [0xa46d70]
mov ecx, dword [0xa46d60]
xor ecx, dword [0xa8c5c0]
add ecx, eax
add ecx, 0x6a8
call dword [0xa37360]
call ecx
mov ecx, eax
mov dword [ebp - 0x2c], eax
xor eax, 0xf75b503b
mov dword [ebp - 0x40], eax
mov eax, dword [esi + eax]
mov edx, eax
not edx
mov edi, ecx
xor edi, 0x4e29a926
xor ecx, 0xb1d656d9
mov ebx, edi
and ebx, edx
mov esi, ecx
and esi, eax
or esi, ebx
mov ebx, esi
and ecx, edx
mov edx, dword [ebp - 0x40]
xor eax, edi
or ecx, eax
mov esi, dword [ebp - 0x2c]
xor esi, 0xf75b5037
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + esi]
add edi, eax
lea ecx, [edi + ecx*2]
sub ebx, ecx
mov ecx, 0x9d7060
add ecx, dword [0x9d7060]
mov dword [ebp - 0x50], ecx
mov ecx, dword [0x9d7080]
mov dword [ebp - 0x58], ecx
mov ecx, 0x9d6f20
add ecx, dword [0x9d6f20]
mov dword [ebp - 0x5c], ecx
add ebx, 0xfffffffe
nop
mov dword [ebp - 0x3c], esi
je 0x6ce817
nop
mov esi, dword [ebp - 0x2c]
mov ecx, esi
xor ecx, 0xf75b5034
mov edx, ebx
mov dword [ebp - 0x24], ecx
and edx, ecx
add edx, dword [0xa8c5c0]
nop
mov dword [ebp - 0x34], ebx
je 0x6ce780
xor esi, 0x542026ed
xor ecx, ecx
mov dword [ebp - 0x20], edx
mov edx, ebx
nop word cs:[eax + eax]
mov ebx, edx
neg ebx
and edx, 1
mov edi, ebx
and edi, 0xfffffffe
or edi, edx
xor edi, 0xfffffffe
add ebx, ebx
and ebx, 2
sub edi, ebx
sub ecx, esi
inc ecx
mov edx, ecx
xor edx, esi
and ecx, esi
lea ecx, [edx + ecx*2]
inc edi
mov byte [eax], 0
inc eax
cmp ecx, dword [ebp - 0x20]
mov edx, edi
jne 0x6ce740
mov edx, dword [ebp - 0x40]
cmp dword [ebp - 0x34], edx
mov esi, dword [ebp - 0x3c]
jae 0x6ce791
jmp 0x6ce817
mov edi, ebx
mov edx, dword [ebp - 0x40]
cmp dword [ebp - 0x34], edx
mov esi, dword [ebp - 0x3c]
jb 0x6ce817
mov ecx, dword [ebp - 0x2c]
mov ebx, ecx
xor ebx, 0xf75b5030
mov dword [ebp - 0x20], ebx
mov ebx, ecx
xor ebx, 0xf75b5036
mov dword [ebp - 0x34], ebx
mov ebx, ecx
xor ebx, 0xf75b5035
mov dword [ebp - 0x28], ebx
mov ebx, ecx
xor ebx, 0xbecd3b56
xor ecx, 0x8a4afcb
mov dword [ebp - 0x30], ecx
nop word cs:[eax + eax]
sub edi, ebx
add edi, dword [ebp - 0x30]
mov ecx, esi
mov esi, edx
mov edx, edi
xor edx, ebx
and edi, ebx
add edi, edi
add edi, edx
mov edx, esi
mov esi, ecx
mov byte [eax], 0
mov byte [eax + 1], 0
mov byte [eax + 2], 0
mov ecx, dword [ebp - 0x20]
mov byte [eax + ecx], 0
mov byte [eax + esi], 0
mov ecx, dword [ebp - 0x34]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0x28]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0x24]
mov byte [eax + ecx], 0
lea eax, [eax + edx]
jne 0x6ce7d0
nop
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + edx]
mov ebx, dword [eax + esi]
sub edx, ebx
je 0x6ce909
mov esi, edx
not esi
mov ecx, dword [ebp - 0x2c]
mov eax, edx
mov edx, ecx
xor edx, 0xf75b5034
mov edi, ecx
xor edi, 0x8a4afcb
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
xor eax, edx
mov dword [ebp - 0x30], edi
and esi, edi
or esi, eax
cmp esi, 0xffffffff
je 0x6ce88e
mov edx, ecx
xor edx, 0x63fdda36
mov eax, ecx
xor eax, 0x9c0225c9
add eax, edx
mov ecx, 1
mov edx, dword [ebp - 0x24]
nop
add edx, eax
nop
mov byte [ebx], 0
inc ebx
mov edi, ecx
xor edi, esi
inc ecx
cmp edi, 0xffffffff
jne 0x6ce870
mov edi, dword [ebp - 0x40]
cmp dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0x3c]
jae 0x6ce89c
jmp 0x6ce902
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x40]
cmp dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0x3c]
jb 0x6ce902
mov eax, dword [ebp - 0x2c]
mov esi, eax
xor esi, 0xf75b5030
mov dword [ebp - 0x24], esi
mov esi, eax
xor esi, 0xf75b5036
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x30]
xor eax, 0xf75b5035
mov dword [ebp - 0x28], eax
mov eax, edi
mov edi, ecx
mov ecx, edx
xor ecx, esi
and edx, esi
add edx, edx
add edx, ecx
mov ecx, edi
mov edi, eax
mov byte [ebx], 0
mov byte [ebx + 1], 0
mov byte [ebx + 2], 0
mov eax, dword [ebp - 0x24]
mov byte [ebx + eax], 0
mov byte [ebx + ecx], 0
mov eax, dword [ebp - 0x34]
mov byte [ebx + eax], 0
mov eax, dword [ebp - 0x28]
mov byte [ebx + eax], 0
mov eax, dword [ebp - 0x20]
mov byte [ebx + eax], 0
lea ebx, [ebx + edi]
jne 0x6ce8c0
nop
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax + ecx]
test ebx, ebx
je 0x6cedb2
nop
mov edi, dword [ebp - 0x2c]
mov ecx, edi
xor ecx, 0xf75b503f
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], ecx
mov eax, dword [eax + ecx]
mov ecx, edi
xor ecx, 0x3fe1d8d5
mov edx, ecx
xor edx, eax
and eax, ecx
add ecx, ebx
sub edx, ecx
lea eax, [edx + eax*2]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x6cec28
nop
mov ecx, dword [0xa46d04]
xor ecx, edi
mov eax, edi
xor eax, 0x6525692d
cmp ecx, 0x6af4a901
mov edx, dword [0xa46cec]
jne 0x6cec2f
mov ecx, eax
sub ecx, edx
mov esi, edx
shl esi, cl
not esi
add esi, edx
add esi, eax
mov ecx, eax
shl esi, cl
mov eax, edi
xor eax, 0x82d6ef27
mov ecx, edi
xor ecx, 0x7d2910d8
add ecx, eax
lea eax, [esi + ecx]
inc eax
mov ecx, eax
not ecx
mov edi, edx
shl edi, cl
xor eax, ecx
and eax, edi
xor eax, ecx
sub eax, edx
imul eax, edx
test eax, edx
mov dword [0xa46cec], esi
js 0x6cec4c
nop
mov ecx, dword [0xa46d00]
mov eax, dword [ebp - 0x2c]
mov edi, eax
xor ecx, eax
xor eax, eax
cmp ecx, 0x53542c34
setne al
mov esi, dword [ebp - 0x5c]
mov ecx, dword [esi + eax*4 - 4]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x58], 0
jle 0x6cec51
lea eax, [esi + eax*4]
add eax, 0xfffffffc
add eax, ecx
mov dword [ebp - 0x28], eax
mov edx, edi
mov esi, edi
xor esi, 0x46ab927b
mov eax, edi
xor eax, 0x1e34444f
mov ecx, edi
xor ecx, 0xe1cbbbb0
add eax, ecx
dec eax
mov dword [ebp - 0x6c], eax
mov eax, edi
xor eax, 0xc819c337
mov ecx, edi
xor ecx, 0x6fb9e00c
mov dword [ebp - 0x68], ecx
mov ecx, edx
xor cl, 0x30
mov byte [ebp - 0x35], cl
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
sub ecx, eax
mov dword [ebp - 0x64], ecx
mov eax, dword [0xa46d0c]
xor eax, edi
mov dword [ebp - 0x7c], eax
mov eax, dword [0xa46d08]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
lea eax, [esi + 1]
mov dword [ebp - 0x60], eax
nop
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 0
jmp 0x6cea9c
mov eax, dword [ebp - 0x24]
xor al, byte [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
xor eax, 1
not ecx
and ecx, 0x7ffffffe
or ecx, eax
not ecx
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebp - 0x58]
jge 0x6cec1f
nop
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
lea edi, [eax + edx]
mov eax, dword [ebp - 0x28]
neg eax
mov ecx, 0
sbb ecx, dword [ebp - 0x30]
mov esi, edi
xor esi, eax
and eax, edi
mov edi, eax
shr edi, 0x1f
add eax, eax
add eax, esi
adc edi, ecx
neg eax
mov ecx, 0
sbb ecx, edi
cmp eax, 1
sbb ecx, 0
mov ecx, dword [ebp - 0x50]
movzx ecx, byte [ecx + edx]
mov byte [ebp - 0x34], cl
jl 0x6ceaf0
cmp dword [ebp - 0x7c], 0x92ba030
jne 0x6cea70
jmp 0x6cebe4
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [ebp - 0x2c]
jne 0x6ceb35
nop
mov edx, dword [ebp - 0x20]
mov ecx, edx
mov esi, dword [ebp - 0x54]
xor ecx, esi
add ecx, dword [ebp - 0x64]
and edx, esi
lea ecx, [ecx + edx*2]
add ecx, eax
dec ecx
mov dword [ebp - 0x20], ecx
movzx ecx, byte [ebp - 0x35]
shl al, cl
mov ah, 0xff
mov ecx, eax
shl ah, cl
not ah
and byte [ebp - 0x34], ah
mov dword [0xa46d00], 0xe753c835
mov edi, dword [ebp - 0x48]
inc edi
jmp 0x6cebbf
nop
mov edi, dword [ebp - 0x60]
sub edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x70]
imul edi, ecx
inc edi
imul edi, ecx
add edi, 2
mov dword [ebp - 0x28], edi
shl dword [ebp - 0x28], cl
mov ecx, dword [ebp - 0x28]
shl edi, cl
mov ecx, dword [ebp - 0x28]
shl edi, cl
mov ecx, eax
mov esi, dword [ebp - 0x3c]
sub ecx, esi
imul ecx, esi
mov esi, dword [ebp - 0x6c]
lea edx, [esi + eax]
mov dword [ebp - 0x48], edx
neg eax
mov esi, ecx
xor esi, eax
and eax, ecx
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x20]
sub ecx, edx
mov dword [ebp - 0x30], edx
shl dword [ebp - 0x30], cl
add esi, dword [ebp - 0x48]
lea eax, [esi + eax*2]
mov esi, dword [ebp - 0x68]
add edx, esi
add edx, dword [ebp - 0x30]
sub edx, eax
mov ecx, edx
xor ecx, eax
and edx, eax
sub ecx, esi
lea ecx, [ecx + edx*2]
mov edx, ecx
sub edx, eax
imul edx, eax
add edx, ecx
mov ecx, dword [ebp - 0x54]
sub ecx, edx
shl edx, cl
add edi, dword [ebp - 0x28]
sub edx, ecx
mov dword [ebp - 0x20], edx
mov dword [0xa46cfc], 0xec5ed575
nop
mov eax, dword [ebp - 0x5c]
lea ecx, [eax + edi*4]
mov dword [ebp - 0x48], edi
add ecx, dword [eax + edi*4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], 0
nop
cmp dword [ebp - 0x7c], 0x92ba030
jne 0x6cea70
nop
mov ecx, dword [ebp - 0x24]
mov eax, ecx
mov ah, byte [ebp - 0x34]
sub al, ah
mul ah
mov dword [0xa46cf4], 0x3bef33c9
mov ah, al
sub ah, cl
mov edx, dword [ebp - 0x20]
mov ecx, edx
dec cl
mov esi, edx
shl esi, cl
mov cl, ah
xor cl, al
mov dword [ebp - 0x24], ecx
add edx, esi
mov dword [ebp - 0x20], edx
cmp edx, dword [ebp - 0x58]
jle 0x6cea9c
mov dword [ebp - 0x20], 0
jmp 0x6cec58
xor ecx, ecx
jmp 0x6ced86
mov ecx, eax
neg ecx
mov esi, edx
xor esi, ecx
and ecx, edx
add esi, eax
lea eax, [esi + ecx*2]
inc eax
mov dword [0xa46cec], eax
test eax, edx
je 0x6ce9b0
mov al, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x2c]
xor ecx, 0x8a4afcb
mov eax, dword [ebp - 0x44]
mov edi, eax
mov dword [ebp - 0x34], ecx
and edi, ecx
mov ecx, ebx
mov esi, eax
cmp edi, eax
je 0x6cec8f
xor edi, eax
mov eax, edi
mov ecx, ebx
nop dword [eax]
nop
mov byte [ecx], 0
inc ecx
dec eax
jne 0x6cec80
mov eax, dword [ebp - 0x44]
mov esi, eax
sub esi, edi
cmp eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
jb 0x6ced07
mov eax, dword [ebp - 0x2c]
mov edx, eax
xor edx, 0xf75b5034
mov dword [ebp - 0x28], edx
mov edx, eax
xor edx, 0xf75b5030
mov dword [ebp - 0x30], edx
mov edx, eax
xor edx, 0xf75b5036
mov dword [ebp - 0x50], edx
mov edx, eax
xor edx, 0xf75b5035
nop word cs:[eax + eax]
nop
mov byte [ecx], 0
mov byte [ecx + 1], 0
mov byte [ecx + 2], 0
mov eax, dword [ebp - 0x30]
mov byte [ecx + eax], 0
mov byte [ecx + edi], 0
mov eax, dword [ebp - 0x50]
mov byte [ecx + eax], 0
mov byte [ecx + edx], 0
mov eax, dword [ebp - 0x28]
mov byte [ecx + eax], 0
mov eax, edi
mov edi, dword [ebp - 0x40]
add ecx, edi
mov edi, eax
add esi, dword [ebp - 0x34]
jne 0x6cecd0
nop
mov edi, dword [ebp - 0x2c]
mov eax, edi
xor eax, 0xf75b5fcc
movzx ecx, byte [0x9d6f30]
sub cl, byte [ebp - 0x24]
xor esi, esi
cmp byte [ebp - 0x20], 0
movzx ecx, cl
cmove esi, ecx
add dword [0xa8c5c0], esi
cmp dword [ebp - 0x44], eax
jbe 0x6ced83
mov ecx, edi
xor ecx, 0x8a4afcf
mov eax, dword [ebx + ecx]
cmp byte [0xa8c5c4], 0
jne 0x6ced57
add ebx, ecx
sub ebx, eax
mov ecx, edi
xor ecx, 0xf75b5013
cmp ebx, ecx
jae 0x6cedc4
mov esi, dword [ebp - 0x44]
mov edx, esi
not edx
mov ecx, edi
xor ecx, 0xf75b5010
xor edi, 0x8a4afef
and edx, ecx
and edi, esi
or edi, edx
and ecx, esi
add ecx, ecx
mov edx, edi
xor edx, ecx
and ecx, edi
lea ecx, [edx + ecx*2]
mov ebx, eax
jmp 0x6ced86
mov ecx, dword [ebp - 0x44]
nop
push ecx
push ebx
call fcn.0091d82d
add esp, 8
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + ecx], 0
mov ecx, dword [ebp - 0x40]
mov dword [eax + ecx], 0
mov ecx, dword [ebp - 0x74]
mov dword [eax + ecx], 0
nop
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x70
pop esi
pop edi
pop ebx
pop ebp
ret
nop
mov dword [ebp - 0x10], 0
call fcn.00900ce1
nop word cs:[eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
call fcn.009350a0
int3