Function at 0x83b650
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, 0x83d030
mov esi, ecx
xor eax, eax
mov ebp, edx
movzx edx, byte [0xbbc07b]
not edi
and edi, 1
mov ecx, edi
add ecx, 0x83d030
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x83b7ad
mov al, byte [0xbbc07b]
mov ebx, edi
xor ecx, ecx
mov ah, 1
add ebx, 0x83d030
sete cl
mov ebx, ecx
not ebx
lea ecx, [ebx + ecx*2]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbc07b], ah
jne 0x83b690
mov ecx, 0x83d030
xor edx, edx
movzx eax, al
not ecx
and ecx, 1
mov edi, ecx
add edi, 0x83d030
sete dl
mov ebx, edx
not ebx
lea edx, [ebx + edx*2]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x83b713
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbbc07b]
add edx, 0x83d030
sete al
mov edx, eax
not edx
lea eax, [edx + eax*2]
and al, 7
movzx eax, al
bt edi, eax
jae 0x83b6e9
jmp 0x83b7ad
xor eax, eax
add ecx, 0x83d030
movzx edx, byte [0xbbc07b]
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x83b782
mov eax, 0x83d030
xor ecx, ecx
mov edi, dword [0xbbc070]
not eax
and eax, 1
add eax, 0x83d030
sete cl
mov eax, ecx
xor eax, 0x405ec65f
lea ecx, [eax + ecx*2 + 0x40]
mov edx, ecx
xor edi, ecx
shr edx, 0x1f
mov dword [0xbbc070], edi
not edi
or edx, ecx
and cl, 7
imul edx, edi
xor dword [0xbbc074], edx
mov dl, 1
shl dl, cl
or byte [0xbbc07b], dl
mov eax, 0x83d030
xor ecx, ecx
not eax
and eax, 1
add eax, 0x83d030
sete cl
mov eax, ecx
not eax
lea ecx, [eax + ecx*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbbc07b], al
mov edi, fcn.0098be7c
xor eax, eax
movzx edx, byte [0xbbc093]
not edi
and edi, 1
mov ecx, edi
add ecx, fcn.0098be7c
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x83b91e
mov al, byte [0xbbc093]
mov edx, edi
xor ecx, ecx
add edx, fcn.0098be7c
sete cl
mov edx, ecx
xor edx, 3
lea ecx, [edx + ecx*2]
mov dl, 1
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbbc093], dl
jne 0x83b7e1
mov ecx, fcn.0098be7c
xor edx, edx
movzx eax, al
not ecx
and ecx, 1
mov edi, ecx
add edi, fcn.0098be7c
sete dl
mov ebx, edx
xor ebx, 3
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x83b85c
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbbc093]
add edx, fcn.0098be7c
sete al
mov edx, eax
xor edx, 3
lea eax, [edx + eax*2]
bt edi, eax
jae 0x83b836
jmp 0x83b91e
xor eax, eax
add ecx, fcn.0098be7c
movzx edx, byte [0xbbc093]
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x83b8f5
mov eax, fcn.0098be7c
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.0098be7c
sete cl
mov eax, ecx
xor eax, 0x3b3097bb
lea ecx, [eax + ecx*2]
mov eax, dword [0xbbc080]
xor eax, ecx
mov dword [0xbbc080], eax
not eax
mov edx, dword [0xbbc084]
imul eax, ecx
and cl, 7
lea edi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbbc084], edx
or edi, eax
not edx
mov eax, dword [0xbbc088]
imul edx, edi
lea edi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbbc088], eax
or edi, edx
not eax
mov dl, 1
imul eax, edi
shl dl, cl
xor dword [0xbbc08c], eax
or byte [0xbbc093], dl
mov eax, fcn.0098be7c
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.0098be7c
sete cl
mov eax, ecx
xor eax, 3
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbbc093], al
mov eax, dword [ebp + 0xc]
mov ecx, 0xbbc070
mov edi, 0xbbc080
test eax, eax
cmove ecx, eax
cmp dword [ebp + 0x38], 0
cmove edi, ecx
test edi, edi
jne 0x83b942
xor eax, eax
jmp 0x83bb7b
mov ebx, fcn.007e47b0
xor eax, eax
movzx edx, byte [0xbbc0c7]
and ebx, 1
inc ebx
mov ecx, ebx
xor ecx, fcn.007e47b0
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x83bb64
mov al, byte [0xbbc0c7]
mov edx, ebx
xor ecx, ecx
xor edx, fcn.007e47b0
sete cl
mov edx, ecx
not edx
lea ecx, [ecx + edx*2 + 4]
mov dl, 1
and cl, 7
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbbc0c7], dl
jne 0x83b97a
mov ecx, fcn.007e47b0
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov ebx, ecx
xor ebx, fcn.007e47b0
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 0x83b9ff
mov edx, ecx
xor eax, eax
movzx ebx, byte [0xbbc0c7]
xor edx, fcn.007e47b0
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2 + 4]
and al, 7
movzx eax, al
bt ebx, eax
jae 0x83b9d4
jmp 0x83bb64
xor eax, eax
xor ecx, fcn.007e47b0
movzx edx, byte [0xbbc0c7]
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x83bb39
mov ecx, fcn.007e47b0
xor eax, eax
and ecx, 1
inc ecx
xor ecx, fcn.007e47b0
sete al
mov ecx, eax
not ecx
and ecx, 0x2b
lea ecx, [eax + ecx*2 - 0x30aa152c]
mov eax, dword [0xbbc0a0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbbc0a0], eax
not eax
imul edx, eax
mov eax, dword [0xbbc0a4]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbc0a4], eax
or ebx, edx
not eax
mov edx, dword [0xbbc0a8]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbc0a8], edx
or ebx, eax
not edx
mov eax, dword [0xbbc0ac]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbbc0ac], eax
or ebx, edx
not eax
mov edx, dword [0xbbc0b0]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbbc0b0], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbbc0b4]
mov ebx, edx
shl ebx, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbbc0b4], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbbc0b8]
mov ebx, eax
shl ebx, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbbc0b8], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbbc0bc]
mov ebx, edx
shl ebx, 7
xor eax, edx
shr edx, 0x18
mov dword [0xbbc0bc], eax
or edx, ebx
not eax
imul eax, edx
mov dl, 1
xor dword [0xbbc0c0], eax
shl dl, cl
or byte [0xbbc0c7], dl
mov eax, fcn.007e47b0
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.007e47b0
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 [0xbbc0c7], al
push dword [ebp]
push edi
push 0xbbc0a0
push esi
call fcn.0078de60
add esp, 0x10
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret