Function at 0x833e10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov edx, fcn.00799430
mov esi, ecx
xor eax, eax
movzx edi, byte [str.J__C]
and edx, 1
inc edx
mov ecx, edx
xor ecx, fcn.00799430
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edi, eax
jb 0x833f6c
mov al, byte [str.J__C]
mov edi, edx
xor ecx, ecx
mov ah, 1
xor edi, fcn.00799430
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 0x833e4d
mov ecx, fcn.00799430
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov edi, ecx
xor edi, fcn.00799430
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 0x833ed2
mov edx, ecx
xor eax, eax
movzx edi, byte [str.J__C]
xor edx, fcn.00799430
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2 + 4]
and al, 7
movzx eax, al
bt edi, eax
jae 0x833ea7
jmp 0x833f6c
xor eax, eax
xor ecx, fcn.00799430
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 0x833f41
mov ecx, fcn.00799430
xor eax, eax
mov edi, dword [0xbbad24]
mov dl, 1
and ecx, 1
inc ecx
xor ecx, fcn.00799430
sete al
mov ecx, eax
not ecx
and ecx, 0x93
lea ecx, [eax + ecx*2 + 0x82f6f6c]
xor edi, ecx
mov dword [0xbbad24], edi
not edi
imul edi, ecx
and cl, 7
shl dl, cl
xor dword [0xbbad28], edi
or byte [str.J__C], dl
mov eax, fcn.00799430
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.00799430
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, 0xbbad24
call fcn.00783720
test eax, eax
jne 0x833f83
xor eax, eax
jmp 0x834223
mov edx, 0x78eff0
movzx ecx, byte [0xbbad3b]
imul edx, edx
and edx, 3
cmp edx, 3
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x834082
mov al, byte [0xbbad3b]
cmp edx, 3
mov ah, 1
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbad3b], ah
jne 0x833fae
mov ecx, 0x78eff0
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 0x834005
cmp ecx, 3
movzx edx, byte [0xbbad3b]
sete al
or al, 4
movzx eax, al
bt edx, eax
jae 0x833fec
jmp 0x834082
cmp ecx, 3
movzx edx, byte [0xbbad3b]
sete al
or al, 4
movzx eax, al
bt edx, eax
jb 0x834061
mov eax, 0x78eff0
xor ecx, ecx
mov edi, dword [0xbbad30]
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 [0xbbad30], edi
not edi
imul edi, ecx
and cl, 7
shl dl, cl
xor dword [0xbbad34], edi
or byte [0xbbad3b], dl
mov eax, 0x78eff0
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 [0xbbad3b], al
mov ecx, esi
mov edx, 0xbbad30
call fcn.00783720
test eax, eax
jne 0x83409c
mov eax, 1
jmp 0x834223
mov edx, fcn.007a32f0
movzx ecx, byte [0xbbad53]
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 0x8341fa
mov al, byte [0xbbad53]
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 [0xbbad53], ah
jne 0x8340cb
mov ecx, fcn.007a32f0
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 0x834133
cmp ecx, 1
movzx edx, byte [0xbbad53]
seta al
not al
add al, 0x20
and al, 7
movzx eax, al
bt edx, eax
jae 0x834113
jmp 0x8341fa
cmp ecx, 1
movzx ecx, byte [0xbbad53]
seta al
not al
add al, 0x20
and al, 7
movzx eax, al
bt ecx, eax
jb 0x8341d4
mov eax, fcn.007a32f0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbbad40]
seta cl
xor ecx, 0xbe32ef67
add ecx, 0x120
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbbad40], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbbad44]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbad44], eax
or edi, edx
not eax
mov edx, dword [0xbbad48]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbad48], edx
or edi, eax
not edx
mov al, 1
imul edx, edi
shl al, cl
xor dword [0xbbad4c], edx
or byte [0xbbad53], al
mov eax, fcn.007a32f0
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 [0xbbad53], al
mov ecx, esi
mov edx, 0xbbad40
call fcn.00783720
test eax, eax
jne 0x834211
mov eax, 2
jmp 0x834223
mov ecx, esi
call fcn.007ca350
xor ecx, ecx
cmp eax, 3
movzx eax, al
cmovae eax, ecx
pop esi
pop edi
pop ebx
ret