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

Disassembly:
mov eax, dword [0x41df04]
sub esp, 0x148
push ebx
push ebp
push esi
push edi
push str._inst_d.exe
push eax
xor ebx, ebx
call fcn.00405080
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
je 0x40ad56
mov ecx, dword [0x41e0b8]
push ebx
push ecx
call fcn.00401100
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x40ad4d
cmp dword [esp + 0x160], ebx
je 0x40aa79
mov edi, dword [0x41e0c0]
jmp 0x40ab0d
push esi
call fcn.0040a3c0
add esp, 4
test eax, eax
je 0x40ad56
mov edx, dword [0x41e0c4]
push edx
push esi
call fcn.00401220
add esp, 8
mov word [esp + 0x14], bx
mov edi, 0x7f7f
lea eax, [esp + 0x14]
push 8
push eax
push esi
call fcn.00401180
add esp, 0xc
test eax, eax
jne 0x40ad56
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x40aacb
cmp word [esp + 0x14], di
jne 0x40aaa4
push esi
call fcn.00401200
mov edx, dword [esp + 0x1c]
add esp, 4
add eax, edx
cmp word [esp + 0x14], di
je 0x40aaff
push eax
push esi
call fcn.00401220
add esp, 8
cmp word [esp + 0x14], di
jne 0x40aaa4
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x148
ret
push esi
call fcn.00401200
mov edi, eax
add esp, 4
add edi, 4
test edi, edi
je 0x40ad56
push 0
push esi
call fcn.00401220
lea ecx, [esp + 0x18]
push ecx
push edi
call fcn.00402140
add esp, 0x10
test eax, eax
je 0x40ab50
mov ebx, dword [esp + 0x10]
push edi
push ebx
push esi
call fcn.00401180
push edi
push ebx
push ebp
call fcn.004011c0
lea edx, [esp + 0x28]
push edx
call fcn.004021c0
add esp, 0x1c
push esi
call fcn.00401380
push ebp
call fcn.00401380
mov eax, dword [esp + 0x168]
add esp, 8
or ecx, 0xffffffff
test eax, eax
je 0x40acb7
mov eax, dword [0x41e180]
mov edx, dword [0x41df04]
inc eax
mov edi, edx
push eax
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push str.__B_d__DEL
not ecx
dec ecx
add ecx, edx
push ecx
call esi
mov eax, dword [0x419288]
add esp, 0xc
test eax, eax
jne 0x40abb9
mov edi, dword [0x41df04]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [0x419824]
mov dword [edi - 1], ecx
mov edx, dword [0x41df08]
mov eax, dword [0x41df04]
mov ebx, 0x104
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40ad3d
mov eax, dword [0x41defc]
cmp eax, 0x64
jge 0x40ac9c
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push str.ICLaunch
lea edx, [esp + 0x28]
push str._s_3.3d
push edx
call esi
mov eax, dword [0x41defc]
add esp, 0x10
inc eax
lea ecx, [esp + 0x54]
mov dword [0x41defc], eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push 0
push eax
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], ebx
call edi
test eax, eax
jne 0x40ac75
mov eax, dword [0x41defc]
cmp eax, 0x64
jl 0x40ac03
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x148
ret
mov edx, dword [0x41df04]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x148
ret
mov edi, dword [0x41df04]
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [str.__S_]
dec edi
or ecx, 0xffffffff
mov dword [edi], edx
mov al, byte [0x419820]
mov byte [edi + 4], al
mov edi, dword [0x41e0b8]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [0x41df04]
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, dword [0x41df04]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [str.___DEL]
dec edi
mov dword [edi], eax
mov cx, word [0x419818]
mov eax, dword [esp + 0x15c]
mov word [edi + 4], cx
mov dl, byte [0x41981a]
push eax
mov byte [edi + 6], dl
mov ecx, dword [0x41df04]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x148
ret
push ebp
call fcn.00401380
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x148
ret