Function at 0x8285b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov edx, fcn.0078db30
mov esi, ecx
xor eax, eax
movzx edi, byte [str.J__C]
and edx, 1
inc edx
mov ecx, edx
xor ecx, fcn.0078db30
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edi, eax
jb 0x82870c
mov al, byte [str.J__C]
mov edi, edx
xor ecx, ecx
mov ah, 1
xor edi, fcn.0078db30
sete cl
mov ebx, ecx
not ebx
lea ecx, [ecx + ebx*2 + 4]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [str.J__C], ah
jne 0x8285ed
mov ecx, fcn.0078db30
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov edi, ecx
xor edi, fcn.0078db30
sete dl
mov ebx, edx
not ebx
lea edx, [edx + ebx*2 + 4]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x828672
mov edx, ecx
xor eax, eax
movzx edi, byte [str.J__C]
xor edx, fcn.0078db30
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2 + 4]
and al, 7
movzx eax, al
bt edi, eax
jae 0x828647
jmp 0x82870c
xor eax, eax
xor ecx, fcn.0078db30
movzx edx, byte [str.J__C]
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x8286e1
mov ecx, fcn.0078db30
xor eax, eax
mov edi, dword [0xbb33c4]
mov dl, 1
and ecx, 1
inc ecx
xor ecx, fcn.0078db30
sete al
mov ecx, eax
not ecx
and ecx, 0x93
lea ecx, [eax + ecx*2 + 0x82f6f6c]
xor edi, ecx
mov dword [0xbb33c4], edi
not edi
imul edi, ecx
and cl, 7
shl dl, cl
xor dword [0xbb33c8], edi
or byte [str.J__C], dl
mov eax, fcn.0078db30
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.0078db30
sete cl
mov eax, ecx
not eax
lea ecx, [ecx + eax*2 + 4]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [str.J__C], al
mov ecx, esi
mov edx, 0xbb33c4
call fcn.00777e20
test eax, eax
jne 0x828723
xor eax, eax
jmp 0x8289c3
mov edx, 0x783700
movzx ecx, byte [0xbb33db]
imul edx, edx
and edx, 3
cmp edx, 3
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x828822
mov al, byte [0xbb33db]
cmp edx, 3
mov ah, 1
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb33db], ah
jne 0x82874e
mov ecx, 0x783700
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x8287a5
cmp ecx, 3
movzx edx, byte [0xbb33db]
sete al
or al, 4
movzx eax, al
bt edx, eax
jae 0x82878c
jmp 0x828822
cmp ecx, 3
movzx edx, byte [0xbb33db]
sete al
or al, 4
movzx eax, al
bt edx, eax
jb 0x828801
mov eax, 0x783700
xor ecx, ecx
mov edi, dword [0xbb33d0]
mov dl, 1
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
or ecx, 0x2f4b51b8
add ecx, 0x88c
xor edi, ecx
mov dword [0xbb33d0], edi
not edi
imul edi, ecx
and cl, 7
shl dl, cl
xor dword [0xbb33d4], edi
or byte [0xbb33db], dl
mov eax, 0x783700
imul eax, eax
and eax, 3
cmp eax, 3
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb33db], al
mov ecx, esi
mov edx, 0xbb33d0
call fcn.00777e20
test eax, eax
jne 0x82883c
mov eax, 1
jmp 0x8289c3
mov edx, fcn.00797a00
movzx ecx, byte [0xbb33f3]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
not al
add al, 0x20
and al, 7
movzx eax, al
bt ecx, eax
jb 0x82899a
mov al, byte [0xbb33f3]
cmp edx, 1
mov ah, 1
seta cl
not cl
add cl, 0x20
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb33f3], ah
jne 0x82886b
mov ecx, fcn.00797a00
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
not dl
add dl, 0x20
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x8288d3
cmp ecx, 1
movzx edx, byte [0xbb33f3]
seta al
not al
add al, 0x20
and al, 7
movzx eax, al
bt edx, eax
jae 0x8288b3
jmp 0x82899a
cmp ecx, 1
movzx ecx, byte [0xbb33f3]
seta al
not al
add al, 0x20
and al, 7
movzx eax, al
bt ecx, eax
jb 0x828974
mov eax, fcn.00797a00
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbb33e0]
seta cl
xor ecx, 0xbe32ef67
add ecx, 0x120
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb33e0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb33e4]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb33e4], eax
or edi, edx
not eax
mov edx, dword [0xbb33e8]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb33e8], edx
or edi, eax
not edx
mov al, 1
imul edx, edi
shl al, cl
xor dword [0xbb33ec], edx
or byte [0xbb33f3], al
mov eax, fcn.00797a00
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
not cl
add cl, 0x20
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb33f3], al
mov ecx, esi
mov edx, 0xbb33e0
call fcn.00777e20
test eax, eax
jne 0x8289b1
mov eax, 2
jmp 0x8289c3
mov ecx, esi
call fcn.007bea50
xor ecx, ecx
cmp eax, 3
movzx eax, al
cmovae eax, ecx
pop esi
pop edi
pop ebx
ret