Function at 0x806720
Capabilities:
Encode data using xor

Disassembly:
dec ecx
sbb al, 0xba
aas
add al, 0x18
sbb ch, byte [edi]
sbb byte [edx + 0x66], ah
adc esp, dword [ebp + 0x18]
add cl, byte [edi]
lcall 0xbd3f, 0x528b31b8
push ds
xor dword [ebx + 0x1ebd3f52], ecx
fst qword [eax + 0x4f]
sbb byte [ebp + 0x2c], dl
jp 0x6bc16c
inc edx
adc byte [esp + esi*4 + 0x447ba727], bh
inc esp
test dword [ebp + 0x56515902], edi
das
add cl, byte [edx - 0xe]
pop ss
mov al, byte [0xab81e07]
or al, 0x4b
enter 0xffffffffffff8c71, 0x36
and byte [eax + 0x69569a5a], ah
movsb byte es:[edi], byte [esi]
push ecx
adc al, 0xa4
mov al, byte [0xc02a2483]
push ds
and dword [ebp + edx*2 + 0x627c4490], esi
jb 0x6bc0ea
or al, byte [edx - 0xb]
shr dword [ebp + 0x56d63793], 0xd8
push edx
push eax
mov cl, 0x33
call dword [edx]
xchg byte [esi + 0x10], cl
test dl, ch
pop ss
inc esp
fldenv [eax - 0x7c4d334]
movsb byte es:[edi], byte [esi]
fisttp word [edx]
sub byte [esp + ecx], dh
and byte [edx + edi], dh
cmp esi, ecx
jae 0x6bc168
cmp eax, 0xd4080082
cmp eax, 0x829c9446
mov ah, 0x1a
jb 0x6bc15a
xor byte [eax], bh
and al, 0xab
insd dword es:[edi], dx
aas
pop edx
shr byte [ecx + 0xb], 1
adc dl, bl
pushal
or byte [edx - 0x78], dl
aam 0x24
dec eax
pushal
in eax, dx
enter 0x5c56, 0x43
sbb byte [eax - 0x61ef7e7f], cl
movsb byte es:[edi], byte [esi]
add dh, byte [eax - 0x7dafb46a]
salc
stc
sub al, 0x58
pop ebx
inc ecx
aam 0xb3
pop ds
xchg edx, eax
push ecx
test byte [esi + 1], al
add dh, byte [ebx]
inc eax
or dword [ebp - 0xdd41cde], ebx
add dword [edx], eax
xor eax, dword [eax + 9]
popfd
and ah, bl
sub esi, edx
cwde
cwde
test cl, 0x11
or ebp, edi
lea ebx, [ebp - 0x28]
inc byte [ecx]
lea eax, [esi + 0x1c080660]
push 0xffffffffffffffe9
pop ds
add al, 0x86
add al, 0x33
push 0x20
push eax
imul eax, ebp, 0x7407f090
add al, 0x2b
sti
jmp 0x6bc1d0
fnsave dword [eax - 0x79]
mov dword [esi + eax*2], 0x50a845ca
inc ebp
test al, 0x50
inc ebx
setnp byte [esi - 0x45]
jle 0x6bc19d
dec ebp
cwde
mov word [edi + ebx*4 + 0x63dd986], ds
push ecx
xor byte [esi - 0x4d8f5dfa], dl
xchg dword [edx - 0x5b9d6af4], eax
lcall 0x86e, 0x42733e8b
add al, 0xc0
sbb al, 0x92
mov ch, 0x28
jle 0x6bc1a6
cmp eax, dword [ebp - 0x68]
jl 0x6bc22a
lea ecx, [ebx + 0x74dee676]
test eax, 0x4c8c321f
mov esp, 0x5a009255
add esi, dword [ebx - 0x415789d2]
and dl, ch
adc edi, dword [ebx + 0x1a]
test cl, 0x1f
adc ah, bh
cld
dec eax
add ch, al
xchg esi, eax
push ds
and eax, 0xedb80248
int 0x72
push ds
or byte [ebx], ah
ja 0x6bc255
bound ecx, qword [ecx]
pop ecx
sar dword [ebp + 0x1a004083], cl
lea esp, [ecx + 0x48]
push edi
cmp esp, dword [ebp + 0x21]
jne 0x6bc1d7
frstor dword [eax]
rsqrtps xmm7, xmmword [edx]
pop edi
pop eax
push eax
adc al, byte gs:[edi + eax*2 - 0x3776647b]
add al, 0x96
add ch, al
push 0xac6444d6
mov esi, ebx
push 0x381322b7
sub eax, dword [ebx - 0x6e6ef7e0]
popal
bnd jmp 0xbb42c558
pushal
mov esi, section.UPX1
lea edi, [esi - 0x29a000]
lea eax, [edi + 0x3bf9d0]
push dword [eax]
mov dword [eax], 0x4470b640
push eax
push edi
jmp 0x80674a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x806751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x806740
mov eax, 1
add ebx, ebx
jne 0x806763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x806774
jne 0x806793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x806793
dec eax
add ebx, ebx
jne 0x806780
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x806758
add ebx, ebx
jne 0x80678f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8067e5
xor ecx, ecx
sub eax, 3
jb 0x8067ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x80681a
sar eax, 1
mov ebp, eax
jmp 0x8067b6
add ebx, ebx
jne 0x8067b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x806784
inc ecx
add ebx, ebx
jne 0x8067c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x806784
add ebx, ebx
jne 0x8067d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8067c6
jne 0x8067e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8067c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x806804
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8067f6
jmp 0x806746
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x806804
add edi, ecx
jmp 0x806746
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xf106
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x806826
cmp byte [edi], 0x3a
jne 0x806826
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x80682b
lea edi, [esi + 0x3ec000]
mov eax, dword [edi]
or eax, eax
je 0x80689a
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4061dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x406424]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x806858
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x40642c]
or eax, eax
je 0x806894
mov dword [ebx], eax
add ebx, 4
jmp 0x806875
call dword [esi + 0x406428]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8068cb
cmp al, 0xef
ja 0x8068be
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8068a0
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8068ad
mov ebp, dword [esi + 0x406430]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x406926]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x806917
sub esp, 0xffffff80
jmp 0x6bc0d8