Function at 0x4086d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6970
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6817dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x18], 7
push eax
xor esi, esi
mov word [ebp - 0x2c], ax
push 0x664bac
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
call fcn.00405d50
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x30]
push eax
push 0x664bf4
push 0x17
push esi
push 0x664e24
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4089eb
mov dword [ebp - 0x50], 0x7bca6035
xor ecx, ecx
mov dword [ebp - 0x4c], 0xb04c892d
mov dword [ebp - 0x48], 0x9d296303
mov dword [ebp - 0x44], 0xb49d
mov byte [ebp - 0x40], 1
nop dword [eax + eax]
lea eax, [ecx - 0x143e]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
cmp ecx, 7
jb 0x408770
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x50]
mov byte [ebp - 0x40], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jns 0x4087b1
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4089eb
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
or eax, 0x20
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x24]
cmp dword [edi + 0x524], 8
lea eax, [edi + 0x510]
jb 0x4087d2
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push 0x649edc
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
je 0x4087f6
push eax
call dword [ecx + 8]
jmp 0x4089eb
push dword [ebp - 0x38]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x30]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
jns 0x408828
push eax
mov esi, 1
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4089eb
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x40884b
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4089eb
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], 0
push 0x80028000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jns 0x408888
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4089eb
mov edx, dword [ebp - 0x34]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408890
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x4b8]
call fcn.00405d50
mov dword [ebp - 0x54], 0xebb9eb9e
xor ecx, ecx
mov dword [ebp - 0x50], 0xebadebb1
mov dword [ebp - 0x4c], 0xeba8eba7
mov dword [ebp - 0x48], 0xeba8ebbf
mov dword [ebp - 0x44], 0xeba4
mov byte [ebp - 0x40], 1
nop word [eax + eax]
lea eax, [ecx - 0x143e]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
cmp ecx, 9
jb 0x4088e0
xor eax, eax
mov byte [ebp - 0x40], 0
mov word [ebp - 0x6c], ax
lea ecx, [ebp - 0x6c]
push 9
lea eax, [ebp - 0x54]
mov dword [ebp - 0x5c], 0
push eax
mov dword [ebp - 0x58], 7
call fcn.00405d50
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x4b8]
call fcn.0040bef0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x408968
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40895e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a45
push edx
push ecx
call fcn.0055e71a
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0xeba7eba7
mov dword [ebp - 0x50], 0xebb1ebad
xor ecx, ecx
mov dword [ebp - 0x4c], 0xeba3eb99
mov dword [ebp - 0x48], 0xebbbeba1
mov word [ebp - 0x44], ax
mov byte [ebp - 0x42], 1
lea eax, [ecx - 0x143e]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
cmp ecx, 8
jb 0x408990
lea eax, [ebp - 0x54]
mov byte [ebp - 0x42], 0
push eax
lea ecx, [edi + 0x2c]
call fcn.00414dd7
push dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x3c]
push dword [ebp - 0x34]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x408a27
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a4a
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e6d4
mov esp, ebp
pop ebp
ret
call fcn.005ce7a3
call fcn.005ce7a3
int3