Function at 0x4086e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
push edi
test bl, 4
jne 0x408b5f
mov byte [ebp - 5], 0
mov edi, dword [ebp + 0xc]
and ebx, 3
mov edx, dword [ebp + 8]
mov dword [ebp + 0x10], ebx
inc dword [edi]
mov ecx, dword [edi]
mov eax, dword [edx + 4]
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
cmp word [ecx + 8], 0
je 0x440ed6
mov eax, dword [0x4c746c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 6], 0
test al, 1
je 0x408ac9
mov ecx, dword [edi]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x33
jne 0x4411a3
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], 0
cmp eax, 1
jne 0x408a26
cmp dword [0x4c7280], 0
je 0x408a38
cmp byte [0x4c7289], 0
jne 0x440f84
mov esi, dword [0x4c7284]
push esi
push ebx
call fcn.00403c30
test al, al
je 0x408a1c
mov ecx, dword [esi]
test ecx, ecx
je 0x408a1c
mov eax, dword [ecx + 0x10]
and eax, 0xff00
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4089f0
mov eax, dword [ebp - 0xc]
test eax, 0x100
jne 0x441183
test eax, 0x400
jne 0x440f99
mov byte [ebp - 6], 1
mov ecx, dword [ebp + 0x10]
test cl, 1
je 0x408841
cmp ecx, 1
jne 0x440fc0
cmp dword [0x4c7280], 0
je 0x441024
cmp byte [0x4c7289], 0
jne 0x441038
mov esi, dword [0x4c7284]
push esi
push ebx
call fcn.00403c30
test al, al
je 0x40883e
mov ecx, dword [esi]
test ecx, ecx
je 0x40883e
mov eax, dword [ecx + 0x10]
and eax, 0xff00
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x40883e
test dword [ebp - 0xc], 0x200
jne 0x441124
mov ecx, dword [ebp + 0x10]
test cl, 2
jne 0x408a49
cmp byte [ebp - 5], 0
mov edx, dword [ebp - 0x10]
jne 0x441045
mov eax, dword [ebp + 8]
inc dword [edi]
mov ecx, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x4e
je 0x408a6f
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [edx + ecx*4]
cmp word [eax + 8], 0x41
jne 0x4089b5
cmp byte [ebp - 5], 0
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, dword [edx + eax*4]
movsx eax, word [eax + 0xa]
mov dword [ebp - 0x30], eax
jne 0x441163
cmp byte [ebp - 6], 0
mov esi, dword [ebp - 0x10]
je 0x4088cc
cmp esi, 0x4c7470
je 0x4088cc
cmp dword [esi + 0xc], 4
je 0x4410bf
mov ecx, esi
call fcn.00404dc0
push 0x4c7470
mov ecx, esi
call fcn.00404e60
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
cmp word [eax + 8], 0x4e
je 0x408af5
mov ecx, dword [ecx + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ecx
cmp edx, ecx
jae 0x408999
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea esi, [eax + edx*4]
mov edi, edi
mov edi, dword [esi]
movzx eax, word [edi + 8]
cmp ax, 0x33
je 0x408943
cmp ax, 0x4e
je 0x408940
cmp ax, 0x4f
je 0x408932
cmp ax, 0x47
je 0x408940
cmp ax, 0x48
je 0x408932
cmp ax, 0x40
je 0x408992
cmp ax, 0x7f
je 0x408996
jmp 0x408936
dec ebx
mov dword [ebp - 0x18], ebx
inc edx
add esi, 4
cmp edx, ecx
jb 0x408900
jmp 0x408996
inc ebx
jmp 0x408933
mov ecx, dword [edi]
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ecx + 4]
cmp ebx, dword [edi + 4]
je 0x408958
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
jmp 0x40890c
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov dword [ebp - 0x28], ecx
mov edi, dword [edi]
mov dword [ebp - 0x20], edi
mov edi, dword [esi]
test ebx, ebx
je 0x44114b
nop
mov edi, dword [ebp - 0x20]
mov cx, word [ecx]
cmp cx, word [edi]
mov edi, dword [esi]
jne 0x408950
mov ecx, dword [ebp - 0x28]
add dword [ebp - 0x20], 2
add ecx, 2
mov dword [ebp - 0x28], ecx
dec ebx
jne 0x408970
jmp 0x44114b
test ebx, ebx
jne 0x40892a
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
push 0xffffffffffffffff
push eax
push edi
push dword [ebp + 8]
call fcn.004053b0
test eax, eax
js 0x44115a
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [edx + ecx*4]
movzx eax, word [eax + 8]
cmp ax, 0x7f
je 0x408b44
cmp ax, 0x40
jne 0x44116e
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, dword [edx + eax*4]
cmp word [eax + 8], 0x33
je 0x408756
jmp 0x44119d
cmp byte [ebp - 5], 0
jne 0x44110a
push dword [ebp + 0x10]
push 0
push 0x4c7470
push ebx
call fcn.004039be
mov dword [ebp - 0x10], eax
cmp byte [ebp - 6], 0
je 0x40883e
jmp 0x4087dd
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4087b8
sub eax, 0
je 0x408b4d
sub eax, 2
jne 0x440f42
lea eax, [ebp - 0xc]
mov ecx, 0x4c7270
push eax
push ebx
call fcn.00403f42
jmp 0x408a1e
push 1
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.00403938
test eax, eax
je 0x40884a
test dword [ebp - 0xc], 0x200
je 0x40884a
jmp 0x441124
xor esi, esi
mov edi, 1
cmp byte [ebp - 5], 0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edi
jne 0x441069
mov byte [ebp - 6], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x144]
push eax
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040855e
test eax, eax
js 0x44113e
cmp byte [ebp - 5], 0
jne 0x441080
lea ecx, [ebp - 0x44]
call fcn.00404dc0
mov edi, dword [ebp + 0xc]
jmp 0x40886f
or eax, 1
mov ecx, 0x4c7470
push 0x490980
mov dword [0x4c746c], eax
call fcn.00405278
push 0x43b738
call fcn.00422ea0
mov edx, dword [ebp + 8]
add esp, 4
jmp 0x408743
cmp dword [esi + 0xc], 5
jne 0x4410df
push ebx
push dword [edi]
mov ebx, dword [ebp - 0x14]
push ecx
mov ecx, ebx
call fcn.004084e2
test eax, eax
js 0x408b44
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x408b27
mov ecx, eax
lea edi, [ebp - 0x144]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
push 1
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
push esi
push edi
push dword [ebp + 8]
call fcn.0040835f
test al, al
jne 0x4089b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x4c7280], 0
je 0x408a38
jmp 0x440f5e
mov byte [ebp - 5], 1
jmp 0x408701
out dx, eax
cmp al, 0xc2
add al, ch
rcl dword [ecx]
push cs
adc dword [esi], ecx
invalid
mov ch, 0x78
fisttp dword [esi + 0x2305f110]
lea ebx, [edi - 0x67]
pop edx
popfd
popal
scasd eax, dword es:[edi]
xor eax, 0x3d29c9ec
mov byte [ecx - 0x1852bf0], cl
cmp eax, 0x556a3c42
push ebp
add dh, al
xor edx, 4
jle 0x440f7c
cmpsb byte [esi], byte es:[edi]
inc esp
jmp 0x440f3d
adc eax, 0x46cc5f3
pop ecx
push ss
sbb ebx, dword [edx + 0x33c60059]
rol dl, cl
push ebx
scasb al, byte es:[edi]
xor ecx, dword [esi]
xchg ebx, eax
mov bh, 0x7e
test esp, eax
invalid
rcl bh, 0x9e
adc al, byte [esp + ecx + 0x3f510000]
fidiv dword [ebp + 0x6344490c]
fisub dword [ebx - 0x32]
xor al, bl
insd dword es:[edi], dx
scasd eax, dword es:[edi]
fisub dword [edx + 0x5aecac3a]
jmp 0x441028
les edx, [ebp + 0x70]
shr bl, 0x6c
lodsd eax, dword [esi]
lahf
add byte [edi + 5], bl
mov esp, dword [edx]
aaa
xor ecx, dword [ebp - 0x51]
sar esp, 0x4e
mov edi, 0x7d093a57
add byte ss:[ebp + 0xf13134d], dh
iretd
cmp bh, dh
pop esi
push edi
xor edi, dword [edi - 0x6a04ff48]
inc esi
push eax
invalid
mov esi, 0x71bb0e49
add byte [edx + ebx*2 + 0x7d], 0x5d
jno 0x440faa
inc esp
pop edx
jge 0x44108b
push ss
inc eax
js 0x440feb
shr dword [esi - 0x588611d6], 0x82
sti
mov dword [edx], ebp
push es
cmp bl, 0x89
sub al, byte [esi]
inc eax
add ecx, edi
inc esp
sbb eax, 0x52f4c272
rol dword [eax + 0x7e], 0x4c
loopne 0x44107f
hlt
pop ds
pop ecx
add cl, ch
invalid
sub ecx, dword [esi - 0x70]
pop ecx
cmp byte [ebp - 0x42], al
ror byte [ebp + 0x71], cl
in al, 0x7a
xchg ebx, eax
invalid
sbb dl, ch
and ch, byte [ecx - 0x54]
ja 0x441010
ljmp 0xc18a:0x77ac6922
rcl dword [ebx + 0x42], 9
dec eax
xor dword [eax], ecx
xor eax, 0x41001d6a
jge 0x44105f
invalid
or al, 0x2c
push ds
dec ecx
add byte [eax - 0x577d646e], bl
mov bh, 0xa
mov ecx, 0xa5004a83
mov ecx, dword [edx - 0xa3d5ef0]
dec ebp
adc byte [eax], dl
jns 0x4410f7
retf 0xc94a
or byte [ecx], al
xchg ebp, eax
add bh, dh
mov esi, 0x8d377db0
mov dword [esi], esp
pushfd
jge 0x4410ce
push edi
and al, 0x68
xchg esp, eax
sbb dword [esi], esi
loope 0x44109d
xchg dword [eax + esi], eax
add byte [ebx + 0x3d8b420f], al
push 0xc
imul ebx, dword [edx + 0x40], 0xffffffab
cmp eax, 0x5a6b0c6a
inc eax
stosd dword es:[edi], eax
inc esi
xor dword [esi], eax
into
shl bh, 1
dec esp
adc bl, bh
add dword [ebx], 0xe489459
mov edx, dword [ecx - 0x34510c04]
or byte cs:[eax + 0x1eb24502], ch
adc eax, 0x673c5236
mov edx, 0x99161175
cld
repe scasb al, byte es:[edi]
retf
push ss
cdq
add byte [ecx + 0x39aa65a9], cl
invalid
test eax, 0xec8b2818
mov ebp, dword [esi - 0x40]
or esi, esi
jle 0x44119b
pop ds
pop edx
out 0x16, eax
popal
inc esp
invalid
pop edx
lea ebx, [ebx + 0x2c]
scasd eax, dword es:[edi]
pop ss
call 0xf990f38b
mov eax, dword [0x26095d06]
push es
pop ebp
or dword [esi], esp
bound ecx, qword es:[edi + esi*4 + 0x13]
add ebp, dword [0xffdf06df]
aas
cmp dword [edx], esp
push esp
mov dword [ecx + 0x1f], ebx
or byte [edx + 0x50ab0de8], 0x47
add al, 0xba
pop ds
pop ebp
adc dword cs:[edx], esp
add byte gs:[ecx], bl
xchg ebx, eax
mov byte [ebp + 0x294f4750], dh
test al, dl
sahf
push es
mov bh, 0xad
xchg edi, eax
add ch, 0xe8
mov dword [0x4c00ac41], eax
rcl dword [ebx + 0x72]
retf
invalid
cld
lahf
sahf
adc ah, byte [0x355eef89]
jle 0x44120a
xor eax, 0xda637e3e
invalid
fcmovb st(0), st(4)
invalid
add byte [eax + 0x5071e126], ah
push 0x50b58893
and esp, edx
popfd
wait
not dword [edi]
xor al, 0x3c
cdq
sub ah, ah
pop ecx
mov esi, 0x8ab396dd
idiv dword [0x77d02016]
push ecx
sub eax, 0xd846c142
fsub st(7), st(0)
mov dh, 0xa8
cdq
ret