Function at 0x502660
Capabilities:
Encode data using xor

Disassembly:
loopne 0x4b62a0
dec esp
in al, dx
sub al, 0x24
push cs
or byte [esp + 0xa], dl
cmpsd dword [esi], dword es:[edi]
adc byte [eax + 0x77], ah
sub byte [ecx - 0xd2b22e8], ah
sbb eax, 0x6e952aad
push ss
push eax
cmp eax, 0x1141618
js 0x4b6269
or edx, dword [edi - 0x4d]
fcom qword [eax]
inc esp
sbb al, 0x8e
mov bl, 0xdc
adc byte [esp + ebx - 0x72], al
retf 0x215b
outsb dx, byte [esi]
invalid
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb0000]
mov dword [edi + 0xb60a4], 0x7c289f0c
push edi
or ebp, 0xffffffff
jmp 0x50268a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x502691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x502680
mov eax, 1
add ebx, ebx
jne 0x5026a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5026b4
jne 0x5026d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5026d3
dec eax
add ebx, ebx
jne 0x5026c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x502698
add ebx, ebx
jne 0x5026cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x502725
xor ecx, ecx
sub eax, 3
jb 0x5026eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50275a
sar eax, 1
mov ebp, eax
jmp 0x5026f6
add ebx, ebx
jne 0x5026f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5026c4
inc ecx
add ebx, ebx
jne 0x502704
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5026c4
add ebx, ebx
jne 0x502711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x502706
jne 0x502722
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x502706
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x502744
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x502736
jmp 0x502686
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x502744
add edi, ecx
jmp 0x502686
pop esi
mov edi, esi
mov ecx, 0x601e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x502762
cmp byte [edi], 0x16
jne 0x502762
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 0x502767
lea edi, [esi + 0xf8000]
mov eax, dword [edi]
or eax, eax
je 0x5027d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10d134]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10d24c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x502794
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10d250]
or eax, eax
je 0x5027d0
mov dword [ebx], eax
add ebx, 4
jmp 0x5027b1
call dword [esi + 0x10d258]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x502807
cmp al, 0xef
ja 0x5027fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5027dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5027e9
mov ebp, dword [esi + 0x10d254]
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 0x50283b
sub esp, 0xffffff80
jmp 0x4b6244