Function at 0x681a80
Capabilities:
Encode data using xor

Disassembly:
ja 0x61d598
push ebp
loop 0x61d5de
jbe 0x61d5de
in eax, 0xd
pop ebx
mov edi, 0xf8c00987
or eax, 0x87c7c75b
or eax, eax
clc
daa
invalid
pop ds
xchg byte [ebp + 0x4b], dh
invalid
dec edx
js 0x61d58f
sub esi, 0x9e88a875
test eax, 0xbce3783
lea edx, [ebx + 1]
jns 0x61d640
out 0xe0, al
jge 0x61d5a7
and byte [ebx], al
outsb dx, byte [esi]
add dword [edx - 4], eax
adc byte [eax - 0x7e], al
sub dword [ecx + 0x5b80250c], edx
cmpsd dword [esi], dword es:[edi]
inc eax
inc eax
sub byte [ecx], 0x91
or al, 0x25
sbb byte [ebx - 0x59], 0x40
sbb dword [esi + 0x1b058185], edx
or byte [eax], al
sbb al, 4
loopne 0x61d5c3
enter 0xffffffffffff851b, 0x75
and byte [edi], al
mov al, 0x98
jns 0x61d64b
or edx, dword [ebx + 0x305f9013]
mov al, byte [0x6a2b0810]
or dh, dl
stosb byte es:[edi], al
xor al, 0x57
pop ds
cmpsb byte [esi], byte es:[edi]
test dword [eax*8 - 0x3bec425d], esi
retf
pop esi
imul edi, dword [esi], 0x3b2e33ed
pop ebp
push es
iretd
pop esi
xchg ecx, eax
xchg byte [esi + 0x73], dl
lds ecx, [0x7efe9090]
pop eax
push es
adc byte [ebx - 0x65], ah
xchg ebp, eax
adc dword [edi], 0x2c15e420
dec ebp
or byte [ecx + 0x21a71782], dh
jmp 0x61d6e2
dec edi
wait
inc edx
pushal
push eax
push eax
dec eax
push eax
mov ebx, 0xf362d804
mov word [edi], ss
pushal
loope 0x61d6fe
dec ebx
push esi
nop
mov dh, 0x7b
loope 0x61d6c4
fidiv word [ecx + 0x38c7ef01]
mov byte [0x101b4948], al
mov word [edi], fs
enter 0x2a30, 0xffffffffffffffed
out dx, eax
invalid
adc byte [edi - 0x12d5cf38], cl
stosd dword es:[edi], eax
pop esi
push ebp
nop
out 0xc, eax
inc edi
dec esp
retf 0x14c8
xor byte [edi], bh
repe cmpsb byte [esi], byte es:[edi]
movsb byte es:[edi], byte [esi]
mov edx, 0xfe2a5518
sbb byte [ebx + 0x4c], cl
pop ecx
cmpsb byte [esi], byte es:[edi]
xor al, 0x18
js 0x61d70c
jp 0x61d6a7
invalid
mov bh, 0
invalid
and al, 0xcd
cmpsd dword [esi], dword es:[edi]
mov dh, 0x98
stosd dword es:[edi], eax
jl 0x61d6ac
je 0x61d6cb
or ebx, dword [ebx]
invalid
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e6000]
mov dword [edi + 0x21dc18], 0xbc463b0c
push edi
or ebp, 0xffffffff
jmp 0x681aaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x681ab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x681aa0
mov eax, 1
add ebx, ebx
jne 0x681ac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x681ad4
jne 0x681af3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x681af3
dec eax
add ebx, ebx
jne 0x681ae0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x681ab8
add ebx, ebx
jne 0x681aef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x681b45
xor ecx, ecx
sub eax, 3
jb 0x681b0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x681b7a
sar eax, 1
mov ebp, eax
jmp 0x681b16
add ebx, ebx
jne 0x681b16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x681ae4
inc ecx
add ebx, ebx
jne 0x681b24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x681ae4
add ebx, ebx
jne 0x681b31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x681b26
jne 0x681b42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x681b26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x681b64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x681b56
jmp 0x681aa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x681b64
add edi, ecx
jmp 0x681aa6
pop esi
mov edi, esi
mov ecx, 0xa360
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x681b82
cmp byte [edi], 0x3c
jne 0x681b82
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 0x681b87
lea edi, [esi + 0x27d000]
mov eax, dword [edi]
or eax, eax
je 0x681bf6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x292db0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x292ecc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x681bb4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x292ed4]
or eax, eax
je 0x681bf0
mov dword [ebx], eax
add ebx, 4
jmp 0x681bd1
call dword [esi + 0x292ed0]
mov ebp, dword [esi + 0x292ed8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x681c2a
sub esp, 0xffffff80
jmp 0x61d5c0