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

Disassembly:
sub esp, 0x14c
mov eax, dword [0x4271f8]
push ebx
push ebp
push esi
push edi
push str._inst_d.exe
push eax
xor ebx, ebx
xor ebp, ebp
call fcn.00405190
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x41190f
mov ecx, dword [0x4275d0]
push ebx
push ecx
call fcn.00401040
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x411906
cmp dword [esp + 0x164], ebx
je 0x4115ff
mov ebx, dword [0x4275d8]
jmp 0x411696
push esi
call fcn.00410ef0
add esp, 4
test eax, eax
je 0x41190f
mov edx, dword [0x4275dc]
push edx
push esi
call fcn.00401160
add esp, 8
mov word [esp + 0x14], bx
mov ebp, 0x7f7f
lea eax, [esp + 0x14]
push 8
push eax
push esi
call fcn.004010c0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x41191c
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x411653
cmp word [esp + 0x14], bp
jne 0x41162a
push esi
call fcn.00401140
mov edx, dword [esp + 0x1c]
add esp, 4
add eax, edx
cmp word [esp + 0x14], bp
je 0x41167c
push eax
push esi
call fcn.00401160
add esp, 8
cmp word [esp + 0x14], bp
jne 0x41162a
jmp 0x41168a
push esi
call fcn.00401140
mov ebx, eax
add esp, 4
add ebx, 4
test edi, edi
jne 0x41191c
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x41191c
push 0
push esi
call fcn.00401160
lea ecx, [esp + 0x24]
push ecx
push ebx
call fcn.004020e0
add esp, 0x10
test eax, eax
je 0x4116dd
mov edx, dword [esp + 0x1c]
push ebx
push edx
push esi
call fcn.004010c0
mov eax, dword [esp + 0x28]
push ebx
push eax
push edi
call fcn.00401100
lea ecx, [esp + 0x34]
push ecx
call fcn.00402160
add esp, 0x1c
push esi
call fcn.004012c0
push edi
call fcn.004012c0
mov eax, dword [esp + 0x16c]
add esp, 8
test eax, eax
je 0x41185a
mov edx, dword [0x42768c]
or ecx, 0xffffffff
inc edx
xor eax, eax
push edx
mov edx, dword [0x4271f8]
mov edi, edx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str.__B_d__DEL
add ecx, edx
push ecx
call ebx
mov eax, dword [0x42203c]
xor ebp, ebp
add esp, 0xc
cmp eax, ebp
jne 0x411761
mov edi, 0x4226d8
or ecx, 0xffffffff
xor eax, eax
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 [0x4271fc]
mov ecx, dword [0x4271f8]
mov edi, 0x104
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0x10]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4118f6
mov eax, dword [0x4271e8]
cmp eax, 0x64
jge 0x41183f
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push str.ICLaunch
lea eax, [esp + 0x2c]
push str._s_3.3d
push eax
call ebx
mov eax, dword [0x4271e8]
add esp, 0x10
inc eax
lea ecx, [esp + 0x20]
mov dword [0x4271e8], eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ebp
push ecx
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], edi
call esi
test eax, eax
jne 0x411818
mov eax, dword [0x4271e8]
cmp eax, 0x64
jl 0x4117ab
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14c
ret
mov edx, dword [0x4271f8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 1
push ebp
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14c
ret
or ecx, 0xffffffff
mov edi, str.__S_
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [0x4271f8]
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 [0x4275d0]
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, str.___DEL
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 eax, dword [esp + 0x160]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x4271f8]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14c
ret
push edi
call fcn.004012c0
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14c
ret