Function at 0x810e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, edx
mov edx, fcn.0098bcfc
mov esi, ecx
movzx ecx, byte [0xbb9693]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x810faa
mov al, byte [0xbb9693]
cmp edx, 2
mov ah, 1
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb9693], ah
jne 0x810eb3
mov ecx, fcn.0098bcfc
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
or dl, 2
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x810f0d
cmp ecx, 2
movzx edx, byte [0xbb9693]
sete al
or al, 2
movzx eax, al
bt edx, eax
jae 0x810ef1
jmp 0x810faa
cmp ecx, 2
movzx edx, byte [0xbb9693]
sete al
or al, 2
movzx eax, al
bt edx, eax
jb 0x810f89
mov eax, fcn.0098bcfc
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
mov eax, dword [0xbb9684]
sete cl
or ecx, 0x75147f4a
add ecx, 0x100
xor eax, ecx
mov edx, ecx
mov dword [0xbb9684], eax
shr edx, 0x1f
not eax
mov ebp, dword [0xbb9688]
or edx, ecx
and cl, 7
imul edx, eax
lea ebx, [edx + edx]
xor ebp, edx
shr edx, 0x1e
mov dword [0xbb9688], ebp
or edx, ebx
not ebp
imul ebp, edx
mov dl, 1
xor dword [0xbb968c], ebp
shl dl, cl
or byte [0xbb9693], dl
mov eax, fcn.0098bcfc
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 0xfe
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbb9693], al
mov ebp, dword [edi]
push 7
push 0xbb9684
push ebp
call fcn.00783750
add esp, 0xc
test eax, eax
jne 0x8112a5
mov edx, 0x788a70
xor eax, eax
movzx esi, byte [0xbb969f]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt esi, eax
jb 0x81110e
mov al, byte [0xbb969f]
xor ebx, ebx
cmp edx, 2
mov ah, 1
sete bl
mov ecx, ebx
not ecx
lea ecx, [ebx + ecx*2 + 4]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb969f], ah
jne 0x810ff9
mov ecx, 0x788a70
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
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 0x811071
xor eax, eax
cmp ecx, 2
movzx esi, byte [0xbb969f]
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2 + 4]
and al, 7
movzx eax, al
bt esi, eax
jae 0x81104b
jmp 0x81110e
xor eax, eax
cmp ecx, 2
movzx edx, byte [0xbb969f]
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x8110e3
mov ecx, 0x788a70
xor eax, eax
mov esi, dword [0xbb9694]
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete al
mov ecx, eax
not ecx
and ecx, 0xb3
lea ecx, [eax + ecx*2 - 0x4f7920b4]
mov edx, ecx
xor esi, ecx
shr edx, 0x1f
mov dword [0xbb9694], esi
not esi
or edx, ecx
and cl, 7
imul edx, esi
xor dword [0xbb9698], edx
mov dl, 1
shl dl, cl
or byte [0xbb969f], dl
mov eax, 0x788a70
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
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 [0xbb969f], al
add ebp, 7
push 4
push 0xbb9694
push ebp
call fcn.00783750
add esp, 0xc
test eax, eax
je 0x8112bd
mov edx, fcn.00824080
xor eax, eax
movzx esi, byte [0xbb96af]
and edx, 1
inc edx
mov ecx, edx
xor ecx, fcn.00824080
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt esi, eax
jb 0x81128a
mov al, byte [0xbb96af]
mov esi, edx
xor ecx, ecx
mov ah, 1
xor esi, fcn.00824080
sete cl
mov ebx, ecx
xor ebx, 5
lea ecx, [ebx + ecx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb96af], ah
jne 0x81115c
mov ecx, fcn.00824080
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov esi, ecx
xor esi, fcn.00824080
sete dl
mov ebx, edx
xor ebx, 5
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x8111d6
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbb96af]
xor edx, fcn.00824080
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt esi, eax
jae 0x8111b0
jmp 0x81128a
xor eax, eax
xor ecx, fcn.00824080
movzx edx, byte [0xbb96af]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x811262
mov ecx, fcn.00824080
xor eax, eax
mov esi, dword [0xbb96a0]
and ecx, 1
inc ecx
xor ecx, fcn.00824080
sete al
mov ecx, eax
xor ecx, 0x8d2b640d
lea edx, [ecx + eax*2]
lea ecx, [ecx + eax*2 + 0x10c0]
xor esi, ecx
or edx, 0x10c1
and cl, 7
mov dword [0xbb96a0], esi
not esi
mov edi, dword [0xbb96a4]
imul edx, esi
lea esi, [edx + edx]
xor edi, edx
shr edx, 0x1e
mov dword [0xbb96a4], edi
or esi, edx
not edi
mov dl, 1
imul edi, esi
shl dl, cl
xor dword [0xbb96a8], edi
or byte [0xbb96af], dl
mov eax, fcn.00824080
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.00824080
sete cl
mov eax, ecx
xor eax, 5
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb96af], al
push 0xa
push 0xbb96a0
push ebp
call fcn.00783750
add esp, 0xc
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
jmp 0x8112bf
test byte [edi + 0x25], 0x10
je 0x8112bd
mov ecx, esi
call fcn.00801170
mov ecx, eax
mov eax, 1
test ecx, ecx
jne 0x8112bf
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret