Function at 0x4010d0
Capabilities:
Create process on windows
Get installed programs
Read .ini file

Disassembly:
mov eax, 0x1324
call fcn.00401d80
mov ecx, dword [esp + 0x132c]
mov eax, dword [esp + 0x1328]
push ebx
push ebp
push esi
push edi
test ecx, ecx
mov dword [0x407b84], eax
jne 0x40161e
lea ecx, [esp + 0x21c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x40161e
lea edx, [esp + 0x21c]
push edx
call entry0
add esp, 4
test al, al
je 0x40161e
lea eax, [esp + 0x21c]
push eax
push str._sSetup.ini
push 0x407a80
call fcn.00401ac0
mov edi, dword [esp + 0x134c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
test edi, edi
je 0x4012b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xe34]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe34]
push ecx
call fcn.00401ce0
lea edx, [esp + 0xe38]
push str._autorun
push edx
call fcn.00401c60
add esp, 0xc
test eax, eax
jne 0x4011c3
lea eax, [esp + 0xe34]
push 0x4070c8
push eax
call fcn.00401c60
add esp, 8
test eax, eax
je 0x4012b4
push 0x407a80
lea ecx, [esp + 0x18]
push 0x104
push ecx
push str.bogus
push str.InstallGUID
push str.Startup
call ebp
test eax, eax
jbe 0x4012b4
mov esi, str.bogus
lea eax, [esp + 0x14]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40121c
test cl, cl
je 0x401218
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40121c
add eax, 2
add esi, 2
test cl, cl
jne 0x4011f4
xor eax, eax
jmp 0x401221
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4012b4
lea eax, [esp + 0x14]
lea ecx, [esp + 0x62c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_s
push ecx
call fcn.00401ac0
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x62c]
mov dword [esp + 0x10], 0
push edx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4012b4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x14]
push edx
call fcn.00401640
add esp, 4
test al, al
jne 0x40162a
mov eax, dword [0x407b84]
push 0
push 0x4016c0
push 0
push 0x66
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1324
ret 0x10
push 0x407a80
lea ecx, [esp + 0x11c]
push 0x104
push ecx
push str.bogus
push 0x407070
push str.Startup
call ebp
test eax, eax
jbe 0x401618
mov esi, str.bogus
lea eax, [esp + 0x118]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401313
test cl, cl
je 0x40130f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401313
add eax, 2
add esi, 2
test cl, cl
jne 0x4012eb
xor eax, eax
jmp 0x401318
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401618
lea eax, [esp + 0x1234]
lea ecx, [esp + 0xd34]
push eax
lea edx, [esp + 0xc38]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x124]
push eax
push ecx
call fcn.00401b12
mov al, byte [esp + 0x24]
add esp, 0x14
test al, al
jne 0x40143a
lea edx, [esp + 0x118]
lea eax, [esp + 0x21c]
push edx
push eax
lea ecx, [esp + 0x1c]
push str._s_s
push ecx
call fcn.00401ac0
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
add esp, 0x10
lea edx, [esp + 0x320]
lea eax, [esp + 0x14]
push 0x104
push edx
push eax
call esi
test eax, eax
jne 0x4013da
lea ecx, [esp + 0x14]
lea edx, [esp + 0x62c]
push ecx
push str.ERROR:_Unable_to_get_short_path_name_for__s
push edx
call fcn.00401ac0
add esp, 0xc
lea eax, [esp + 0x62c]
push 0x10
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1324
ret 0x10
lea ecx, [esp + 0x424]
push 0x104
lea edx, [esp + 0x220]
push ecx
push edx
call esi
test eax, eax
jne 0x401517
lea eax, [esp + 0x14]
lea ecx, [esp + 0x62c]
push eax
push str.ERROR:_Unable_to_get_short_path_name_for__s
push ecx
call fcn.00401ac0
add esp, 0xc
lea edx, [esp + 0x62c]
push 0x10
push str.Error
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1324
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [esp + 0x320]
push 0x104
lea ecx, [esp + 0x11c]
push eax
push ecx
call esi
test eax, eax
jne 0x40149f
lea edx, [esp + 0x118]
lea eax, [esp + 0x62c]
push edx
push str.ERROR:_Unable_to_get_short_path_name_for__s
push eax
call fcn.00401ac0
add esp, 0xc
lea ecx, [esp + 0x62c]
push 0x10
push str.Error
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1324
ret 0x10
lea edx, [esp + 0xc34]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x1c]
push str._s_s
push ecx
call fcn.00401ac0
add esp, 0x10
lea edx, [esp + 0x424]
lea eax, [esp + 0x14]
push 0x104
push edx
push eax
call esi
test eax, eax
jne 0x401517
lea ecx, [esp + 0x14]
lea edx, [esp + 0x62c]
push ecx
push str.ERROR:_Unable_to_get_short_path_name_for__s
push edx
call fcn.00401ac0
add esp, 0xc
lea eax, [esp + 0x62c]
push 0x10
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1324
ret 0x10
lea ecx, [esp + 0x424]
push 1
push ecx
lea edx, [esp + 0x328]
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x40162a
cmp eax, 2
jl 0x401612
cmp eax, 3
jg 0x401612
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0xb30]
push 0x104
push eax
push 2
push 0
call esi
test eax, eax
jle 0x40162a
lea ecx, [esp + 0xa2c]
push 0x104
push ecx
push 4
push 0
call esi
test eax, eax
jle 0x40162a
lea edi, [esp + 0xa2c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x528]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x528]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x324]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xb34]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x530]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1324
ret 0x10
push 0
push 5
jmp 0x401622
push 0
push 3
jmp 0x401622
push 0
push 1
call fcn.00401060
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1324
ret 0x10