Function at 0x83b080
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov edi, edx
mov eax, fcn.007a20d0
mov edx, 3
mov ebp, ecx
movzx ecx, byte [0xbbbae3]
sub edx, eax
mov eax, edx
xor eax, fcn.007a20d0
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x83b1ed
mov al, byte [0xbbbae3]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007a20d0
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbbae3], ah
jne 0x83b0bb
mov edx, fcn.007a20d0
mov ecx, 3
movzx eax, al
sub ecx, edx
mov edx, ecx
xor edx, fcn.007a20d0
sete dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x83b124
mov eax, ecx
movzx edx, byte [0xbbbae3]
xor eax, fcn.007a20d0
sete al
or al, 4
movzx eax, al
bt edx, eax
jae 0x83b104
jmp 0x83b1ed
xor ecx, fcn.007a20d0
movzx ecx, byte [0xbbbae3]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x83b1c8
mov eax, fcn.007a20d0
mov edx, 3
xor ecx, ecx
sub edx, eax
mov eax, dword [0xbbbad0]
xor edx, fcn.007a20d0
sete cl
or ecx, 0x87631360
add ecx, 0x1104
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbbbad0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbbbad4]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbbad4], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbbbad8]
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbbad8], edx
or eax, ebx
not edx
imul edx, eax
xor dword [0xbbbadc], edx
mov dl, 1
shl dl, cl
or byte [0xbbbae3], dl
mov eax, fcn.007a20d0
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, fcn.007a20d0
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbbbae3], al
mov edx, fcn.007a6f40
xor eax, eax
mov ebx, dword [esp + 0x1c]
not edx
and edx, 1
mov ecx, edx
add ecx, fcn.007a6f40
movzx ecx, byte [0xbbbb93]
sete al
bt ecx, eax
jb 0x83b31c
mov al, byte [0xbbbb93]
mov ecx, edx
mov ah, 1
add ecx, fcn.007a6f40
sete cl
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbbb93], ah
jne 0x83b21d
mov ecx, fcn.007a6f40
movzx eax, al
not ecx
and ecx, 1
mov edx, ecx
add edx, fcn.007a6f40
sete dl
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x83b27c
mov edx, ecx
xor eax, eax
add edx, fcn.007a6f40
movzx edx, byte [0xbbbb93]
sete al
bt edx, eax
jae 0x83b25e
jmp 0x83b31c
xor edx, edx
add ecx, fcn.007a6f40
movzx ecx, byte [0xbbbb93]
sete dl
or edx, 0xb8776b40
add edx, 0x158
mov eax, edx
and al, 7
movzx eax, al
bt ecx, eax
jb 0x83b2fd
mov dword [esp + 4], ebp
mov ebp, 0xbbbaf0
xor eax, eax
mov dword [esp], edi
mov esi, dword [ebp]
mov ecx, eax
mov edi, edx
inc eax
shl edi, cl
and cl, 0x1f
xor cl, 0x1f
xor esi, edx
shr edx, cl
mov dword [ebp], esi
or edx, edi
not esi
add ebp, 4
imul edx, esi
cmp eax, 0x28
jne 0x83b2b4
mov eax, fcn.007a6f40
not eax
and eax, 1
add eax, fcn.007a6f40
mov al, 1
sete cl
shl al, cl
or byte [0xbbbb93], al
mov ebp, dword [esp + 4]
mov edi, dword [esp]
mov eax, fcn.007a6f40
not eax
and eax, 1
add eax, fcn.007a6f40
mov al, 0xfe
sete cl
xor cl, 7
rol al, cl
and byte [0xbbbb93], al
push ebx
push edi
push 0xbbbad0
push edi
push 0xbbbaf0
push ebp
call fcn.00802190
add esp, 0x18
test ebx, ebx
jne 0x83b645
mov eax, fcn.007ac3e0
mov edx, 3
movzx esi, byte [0xbbbbb3]
sub edx, eax
xor eax, eax
mov ecx, edx
xor ecx, fcn.007ac3e0
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jb 0x83b4d7
mov al, byte [0xbbbbb3]
mov esi, edx
xor ecx, ecx
mov ah, 1
xor esi, fcn.007ac3e0
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 [0xbbbbb3], ah
jne 0x83b374
mov edx, fcn.007ac3e0
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov esi, ecx
xor esi, fcn.007ac3e0
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 0x83b3f9
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbbbbb3]
xor edx, fcn.007ac3e0
sete al
mov edx, eax
not edx
lea eax, [edx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jae 0x83b3cf
jmp 0x83b4d7
xor eax, eax
xor ecx, fcn.007ac3e0
movzx edx, byte [0xbbbbb3]
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x83b4a9
mov eax, fcn.007ac3e0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007ac3e0
sete al
mov ecx, eax
xor ecx, 0xb467c2f7
lea ecx, [ecx + eax*2 + 0x1210]
mov eax, dword [0xbbbba0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbbbba0], eax
not eax
imul edx, eax
mov eax, dword [0xbbbba4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbbba4], eax
or esi, edx
not eax
mov edx, dword [0xbbbba8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbbba8], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
shl al, cl
xor dword [0xbbbbac], edx
or byte [0xbbbbb3], al
mov eax, fcn.007ac3e0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007ac3e0
sete al
mov ecx, eax
not ecx
lea ecx, [ecx + eax*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbbbbb3], al
mov edx, fcn.007a9220
xor eax, eax
movzx esi, byte [0xbbbc5f]
imul edx, edx
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jb 0x83b62f
mov al, byte [0xbbbc5f]
xor ecx, ecx
cmp edx, 3
mov ah, 1
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ebx + ecx*2]
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbbc5f], ah
jne 0x83b50c
mov ecx, fcn.007a9220
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [ebx + edx*2]
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x83b584
xor eax, eax
cmp ecx, 3
movzx esi, byte [0xbbbc5f]
sete al
mov edx, eax
xor edx, 1
lea eax, [edx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jae 0x83b55e
jmp 0x83b62f
xor eax, eax
cmp ecx, 3
movzx esi, byte [0xbbbc5f]
sete al
mov ecx, eax
xor ecx, 0x2fed5f19
lea edx, [ecx + eax*2 + 4]
mov eax, edx
and al, 7
movzx eax, al
bt esi, eax
jb 0x83b604
mov ebx, 0xbbbbc0
xor eax, eax
mov dword [esp], edi
mov esi, dword [ebx]
mov ecx, eax
mov edi, edx
inc eax
shl edi, cl
and cl, 0x1f
xor cl, 0x1f
xor esi, edx
shr edx, cl
mov dword [ebx], esi
or edx, edi
not esi
add ebx, 4
imul edx, esi
cmp eax, 0x27
jne 0x83b5b5
mov eax, fcn.007a9220
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [eax + ecx*2]
mov al, 1
or cl, 4
shl al, cl
or byte [0xbbbc5f], al
mov edi, dword [esp]
mov eax, fcn.007a9220
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [eax + ecx*2]
mov al, 0xfe
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbbbc5f], al
push edi
push 0xbbbba0
push 0xbbbbc0
push ebp
call fcn.00802190
add esp, 0x18
jmp 0x83b648
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret