Function at 0x7a0ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edi, fcn.0066e960
mov esi, ecx
xor eax, eax
mov ebp, edx
movzx edx, byte [0xbb3cbb]
and edi, 1
inc edi
mov ecx, edi
xor ecx, fcn.0066e960
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7a0c4c
mov al, byte [0xbb3cbb]
mov ebx, edi
xor ecx, ecx
mov ah, 1
xor ebx, fcn.0066e960
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ecx + ebx*2 + 6]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb3cbb], ah
jne 0x7a0b12
mov ecx, fcn.0066e960
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov edi, ecx
xor edi, fcn.0066e960
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 6]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7a0b9a
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbb3cbb]
xor edx, fcn.0066e960
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 6]
and al, 7
movzx eax, al
bt edi, eax
jae 0x7a0b6e
jmp 0x7a0c4c
xor eax, eax
xor ecx, fcn.0066e960
movzx edx, byte [0xbb3cbb]
sete al
mov ecx, eax
not ecx
and ecx, 0x111
lea ebx, [eax + ecx*2 - 0x705adb92]
mov eax, ebx
and al, 7
movzx eax, al
bt edx, eax
jb 0x7a0c20
mov edi, 0xbb3c60
xor eax, eax
mov dword [esp], ebp
mov edx, dword [edi]
mov ecx, eax
mov ebp, ebx
inc eax
shl ebp, cl
xor cl, 0x1f
xor edx, ebx
shr ebx, cl
mov dword [edi], edx
or ebx, ebp
not edx
add edi, 4
imul ebx, edx
cmp eax, 0x16
jne 0x7a0bd3
mov eax, fcn.0066e960
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.0066e960
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [ecx + eax*2 + 6]
mov al, 1
and cl, 7
shl al, cl
or byte [0xbb3cbb], al
mov ebp, dword [esp]
mov eax, fcn.0066e960
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.0066e960
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [ecx + eax*2 + 6]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb3cbb], al
mov eax, fcn.007f1150
mov ebx, 3
movzx edx, byte [0xbb4b5f]
mov edi, dword [esp + 0x18]
sub ebx, eax
xor eax, eax
mov ecx, ebx
xor ecx, fcn.007f1150
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7a0e4e
mov al, byte [0xbb4b5f]
mov edx, ebx
xor ecx, ecx
xor edx, fcn.007f1150
sete cl
mov edx, ecx
xor edx, 5
lea ecx, [edx + ecx*2 + 4]
mov dl, 1
and cl, 7
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb4b5f], dl
jne 0x7a0c8c
mov edx, fcn.007f1150
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov ebx, ecx
xor ebx, fcn.007f1150
sete dl
mov ebx, edx
xor ebx, 5
lea edx, [ebx + edx*2 + 4]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7a0d17
mov edx, ecx
xor eax, eax
movzx ebx, byte [0xbb4b5f]
xor edx, fcn.007f1150
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2 + 4]
and al, 7
movzx eax, al
bt ebx, eax
jae 0x7a0ceb
jmp 0x7a0e4e
xor eax, eax
xor ecx, fcn.007f1150
movzx edx, byte [0xbb4b5f]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7a0e1e
mov eax, fcn.007f1150
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007f1150
sete al
mov ecx, eax
xor ecx, 0x9682330d
lea ecx, [ecx + eax*2 + 0x1064]
mov eax, dword [0xbb4b40]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb4b40], eax
not eax
imul edx, eax
mov eax, dword [0xbb4b44]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb4b44], eax
or ebx, edx
not eax
mov edx, dword [0xbb4b48]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb4b48], edx
or ebx, eax
not edx
mov eax, dword [0xbb4b4c]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb4b4c], eax
or ebx, edx
not eax
mov edx, dword [0xbb4b50]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb4b50], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbb4b54]
mov ebx, edx
shl ebx, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbb4b54], eax
or edx, ebx
not eax
imul eax, edx
mov dl, 1
xor dword [0xbb4b58], eax
shl dl, cl
or byte [0xbb4b5f], dl
mov eax, fcn.007f1150
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007f1150
sete al
mov ecx, eax
xor ecx, 5
lea ecx, [ecx + eax*2 + 4]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb4b5f], al
push 0xbb3c74
push ebp
push edi
push 0xbb4b40
push esi
call fcn.00783470
add esp, 0x14
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret