Function at 0x6cdfe880
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1ae56
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x288], esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x27c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x284], 0
push eax
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x290], str._____
push eax
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x28c], 9
call fcn.6ce03b20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x6cdfe929
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x284]
call fcn.6cdbef90
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x294]
cmp eax, 8
jb 0x6cdfe951
inc eax
push eax
push dword [ebp - 0x2a8]
call fcn.6cdbf220
push ecx
push dword [ebp - 0x284]
xor eax, eax
mov dword [ebp - 0x294], 7
push ecx
mov ecx, ebx
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
call fcn.6ce0dc10
mov eax, dword [ebx]
test eax, eax
je 0x6cdfe990
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebx], 0
mov eax, dword [ebp + 8]
mov dword [ebx + 4], 0
cmp eax, 0x80000000
jne 0x6cdfe9b4
push 0x20006
push esi
push eax
mov ecx, ebx
call fcn.6cde4720
jmp 0x6cdfea37
cmp eax, 0x80000001
jne 0x6cdfea37
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], str.SoftwareClasses
push eax
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x28c], 0x13
push eax
lea ecx, [ebp - 0x290]
call fcn.6ce03b50
cmp dword [eax + 0x14], 8
jb 0x6cdfe9f0
mov eax, dword [eax]
push 0x20006
push eax
push 0x80000001
mov ecx, ebx
call fcn.6cde4720
mov eax, dword [ebp - 0x2ac]
cmp eax, 8
jb 0x6cdfea1a
inc eax
push eax
push dword [ebp - 0x2c0]
call fcn.6cdbf220
xor eax, eax
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
movq xmm0, qword [0x6ce45c80]
lea ecx, [ebp - 0x20]
mov ax, word [0x6ce45c88]
lea edx, [ecx + 2]
mov esi, dword [ebx]
mov dword [ebp - 0x288], esi
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x18], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdfea60
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push 0
push esi
call edi
mov ax, word [0x6ce4378c]
lea ecx, [ebp - 0x280]
mov word [ebp - 0x280], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdfeaa0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x280]
push eax
push 1
push 0
push str.URL_Protocol
push esi
call edi
mov ecx, 0x13
lea edi, [ebp - 0x74]
mov esi, str.fd501041_8ebe_11ce_8183_00032A0A48F8
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x74]
lea edx, [ecx + 2]
movsw word es:[edi], word [esi]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdfeae0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x74]
push eax
push 1
push 0
push str.Source_Filter
push dword [ebp - 0x288]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebx]
test eax, eax
je 0x6cdfeb1f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebx], 0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x284]
mov dword [ebx + 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdfeb4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret