Function at 0x7cca90
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0xbd33e0]
mov esi, ecx
mov edi, edx
lea ebx, [esp + 0xf]
xor eax, esp
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
mov ecx, dword [ecx]
push eax
push ebx
call fcn.007ac3e0
add esp, 8
test eax, eax
je 0x7ccce8
cmp eax, 0xc0a
je 0x7ccace
cmp eax, 7
jne 0x7ccad5
mov dword [esi + 0x18], 1
mov eax, 0x82a030
mov edx, 3
movzx ebx, byte [0xbb6383]
sub edx, eax
xor eax, eax
mov ecx, edx
xor ecx, 0x82a030
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt ebx, eax
jb 0x7cccd4
mov al, byte [0xbb6383]
mov ebx, edx
xor ecx, ecx
mov ah, 1
xor ebx, 0x82a030
sete cl
mov ebx, ecx
xor ebx, 3
lea ecx, [ebx + ecx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb6383], ah
jne 0x7ccb0b
mov edx, 0x82a030
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov ebx, ecx
xor ebx, 0x82a030
sete dl
mov ebx, edx
xor ebx, 3
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ccb88
mov edx, ecx
xor eax, eax
movzx ebx, byte [0xbb6383]
xor edx, 0x82a030
sete al
mov edx, eax
xor edx, 3
lea eax, [edx + eax*2]
bt ebx, eax
jae 0x7ccb62
jmp 0x7cccd4
xor eax, eax
xor ecx, 0x82a030
movzx edx, byte [0xbb6383]
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x7ccca8
mov eax, 0x82a030
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, 0x82a030
sete al
mov ecx, eax
xor ecx, 0xbe3af48b
lea ecx, [ecx + eax*2 + 0x6c8]
mov eax, dword [0xbb6360]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb6360], eax
not eax
imul edx, eax
mov eax, dword [0xbb6364]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb6364], eax
or ebx, edx
not eax
mov edx, dword [0xbb6368]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb6368], edx
or ebx, eax
not edx
mov eax, dword [0xbb636c]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb636c], eax
or ebx, edx
not eax
mov edx, dword [0xbb6370]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb6370], edx
or eax, ebx
not edx
mov ebp, dword [0xbb6374]
imul edx, eax
mov ebx, edx
shl ebx, 5
xor ebp, edx
shr edx, 0x1a
mov dword [0xbb6374], ebp
or edx, ebx
not ebp
imul ebp, edx
mov edx, dword [0xbb6378]
mov ebx, ebp
shl ebx, 6
xor edx, ebp
shr ebp, 0x19
mov dword [0xbb6378], edx
or ebp, ebx
not edx
imul edx, ebp
xor dword [0xbb637c], edx
mov dl, 1
shl dl, cl
or byte [0xbb6383], dl
mov eax, 0x82a030
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, 0x82a030
sete al
mov ecx, eax
xor ecx, 3
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb6383], al
push edi
push 0xbb6360
push esi
call fcn.007cc8c0
add esp, 0xc
jmp 0x7ccfe0
movzx eax, byte [esp + 0xf]
mov ecx, dword [esp + 8]
cmp al, byte [esp + 0x28]
jne 0x7ccd01
cmp ecx, dword [esp + 0x2c]
je 0x7ccfe0
mov ebx, fcn.007af730
mov ebp, fcn.007af730
mov dword [esp], ecx
xor ecx, ecx
mov dword [esp + 4], eax
or ebx, 2
xor ebp, 2
movzx eax, byte [0xbb63cb]
mov edx, ebx
add edx, ebp
sete cl
mov edx, ecx
xor edx, 1
lea ecx, [ecx + edx*2]
or cl, 4
movzx ecx, cl
bt eax, ecx
jb 0x7ccfc0
mov al, byte [0xbb63cb]
mov edx, ebx
xor ecx, ecx
mov ah, 1
add edx, ebp
sete cl
mov edx, ecx
xor edx, 1
lea edx, [ecx + edx*2]
mov cl, 7
or dl, 4
sub cl, dl
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb63cb], ah
jne 0x7ccd44
mov ecx, fcn.007af730
mov edx, fcn.007af730
xor ebx, ebx
mov ah, 7
or ecx, 2
xor edx, 2
mov ebp, ecx
add ebp, edx
sete bl
mov ebp, ebx
xor ebx, 1
lea ebx, [ebp + ebx*2]
or bl, 4
sub ah, bl
movzx ebx, ah
movzx eax, al
bt eax, ebx
jae 0x7ccdc7
mov ebx, ecx
xor eax, eax
movzx ebp, byte [0xbb63cb]
add ebx, edx
sete al
mov ebx, eax
xor ebx, 1
lea eax, [eax + ebx*2]
or al, 4
movzx eax, al
bt ebp, eax
jae 0x7ccda0
jmp 0x7ccfc0
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb63cb]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x7ccf91
mov eax, fcn.007af730
mov edx, fcn.007af730
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
sete cl
mov eax, ecx
not eax
and eax, 0x241
lea ecx, [ecx + eax*2 + 0x5901e51c]
mov eax, dword [str.ey0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [str.ey0], eax
not eax
imul edx, eax
mov eax, dword [0xbb6394]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb6394], eax
or ebx, edx
not eax
mov edx, dword [0xbb6398]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb6398], edx
or ebx, eax
not edx
mov eax, dword [0xbb639c]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb639c], eax
or ebx, edx
not eax
mov edx, dword [0xbb63a0]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb63a0], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbb63a4]
mov ebx, edx
shl ebx, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbb63a4], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbb63a8]
mov ebx, eax
shl ebx, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbb63a8], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbb63ac]
mov ebx, edx
shl ebx, 7
xor eax, edx
shr edx, 0x18
mov dword [0xbb63ac], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbb63b0]
mov ebx, eax
shl ebx, 8
xor edx, eax
shr eax, 0x17
mov dword [0xbb63b0], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbb63b4]
mov ebx, edx
shl ebx, 9
xor eax, edx
shr edx, 0x16
mov dword [0xbb63b4], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbb63b8]
mov ebx, eax
shl ebx, 0xa
xor edx, eax
shr eax, 0x15
mov dword [0xbb63b8], edx
or eax, ebx
not edx
mov ebp, dword [0xbb63bc]
imul edx, eax
mov ebx, edx
shl ebx, 0xb
xor ebp, edx
shr edx, 0x14
mov dword [0xbb63bc], ebp
or edx, ebx
not ebp
imul ebp, edx
mov edx, dword [0xbb63c0]
mov ebx, ebp
shl ebx, 0xc
xor edx, ebp
shr ebp, 0x13
mov dword [0xbb63c0], edx
or ebp, ebx
not edx
imul edx, ebp
xor dword [0xbb63c4], edx
mov dl, 1
shl dl, cl
or byte [0xbb63cb], dl
mov eax, fcn.007af730
mov ecx, fcn.007af730
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
mov cl, 7
sete dl
mov eax, edx
xor eax, 1
lea eax, [edx + eax*2]
mov dl, 0xfe
or al, 4
sub cl, al
rol dl, cl
and byte [0xbb63cb], dl
movzx eax, byte [esp + 0x28]
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x34]
push eax
push edi
push str.ey0
push esi
call fcn.007cc8c0
add esp, 0x1c
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00989fe9
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret