Function at 0x40cec0
Capabilities:
Create process on windows
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edx, dword [0x4271fc]
sub esp, 0x2ac
or ecx, 0xffffffff
xor eax, eax
push esi
push edi
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
cmp esi, 4
jle 0x40cfde
lea eax, [edx + esi - 4]
push str..reg
push eax
call fcn.004196a0
add esp, 8
test eax, eax
jne 0x40cf15
mov ecx, dword [esp + 0x2b8]
cmp word [ecx + 2], 0x1f4
je 0x40d11b
mov edi, str.regedit__s__
jmp 0x40cf4d
mov ecx, dword [0x4271fc]
push str..tlb
lea edx, [ecx + esi - 4]
push edx
call fcn.004196a0
add esp, 8
test eax, eax
jne 0x40cfde
mov eax, dword [esp + 0x2b8]
cmp word [eax + 2], 0x1f4
je 0x40d11b
mov edi, str.regtlib__q__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov edx, ecx
mov esi, edi
mov edi, dword [0x4271f8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x4271fc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [0x4271f8]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x422578
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [0x4271f8]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4271f8]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
add esp, 0x2ac
ret
mov ecx, dword [esp + 0x2b8]
mov ax, word [ecx + 2]
cmp ax, 0x1f4
jne 0x40d105
lea edx, [esp + 8]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40d11b
mov eax, dword [0x4271e8]
cmp eax, 0x64
jge 0x40d0f1
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push str.ICLaunch
lea eax, [esp + 0x1c]
push str._s_3.3d
push eax
call esi
mov eax, dword [0x4271e8]
add esp, 0x10
inc eax
lea ecx, [esp + 0x10]
mov dword [0x4271e8], eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push 0
push ecx
push edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x168
call edi
test eax, eax
jne 0x40d099
mov eax, dword [0x4271e8]
cmp eax, 0x64
jl 0x40d02a
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x2ac
ret
mov ecx, dword [0x4271fc]
lea eax, [esp + 0x1b0]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0x1b0]
lea eax, [esp + 0x48]
push edx
push str.regsvr32__s__s
push eax
call esi
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x4c]
push ecx
push 1
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x2ac
ret
cmp ax, 0x17
je 0x40d111
cmp ax, 0x19
jne 0x40d11b
push 1
call fcn.0040ce80
add esp, 4
pop edi
pop esi
add esp, 0x2ac
ret