Function at 0x401080
Capabilities:
Create process on windows
Delete registry key
Get common file path
Set current directory

Disassembly:
sub esp, 0x35c
mov edx, dword [esp + 0x368]
mov ecx, 0x41
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, 0x408cec
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 5
ja 0x4011a0
push 0x408cec
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.Uninst.fls
push 0x408cec
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x408188
push 0x408cec
call fcn.00401e6e
mov esi, eax
add esp, 8
test esi, esi
jne 0x40110c
push 0x10
push 0x408180
push 0x408154
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x35c
ret 0x10
push 0x104
push 0x408cec
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x408cec
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 2
push 0
push esi
call fcn.00401dc2
push esi
call fcn.00401c6a
push 0
push 0
push esi
mov edi, eax
call fcn.00401dc2
push edi
call fcn.00401bf6
push esi
push edi
push 1
push eax
mov dword [0x408ae0], eax
call fcn.00401b0e
push esi
call fcn.00401ab8
mov eax, dword [0x408ae0]
push eax
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall_s
push 0x408cec
call fcn.00401a66
add esp, 0x40
push 0x408be8
push str.UninstallString
push 0x408cec
call fcn.00401000
mov ecx, dword [0x408ae0]
push ecx
call fcn.00401a37
add esp, 0x10
push 0x408bf5
jmp 0x4011a1
push edx
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x408cec
call ebp
push 0x2f
push 0x408cec
call fcn.00401a10
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4011ea
lea edi, [ebx + 1]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebx], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x68]
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]
push 0x408108
push 0x408cec
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, 0x4080fc
or ecx, 0xffffffff
xor eax, eax
push 0x408188
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x408cec
mov esi, edi
mov edx, ecx
mov edi, 0x408cec
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]
call fcn.00401e6e
mov esi, eax
add esp, 8
test esi, esi
jne 0x401261
push 0x10
push 0x408180
push 0x408154
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x35c
ret 0x10
push 2
push 0
push esi
call fcn.00401dc2
push esi
call fcn.00401c6a
push 0
push 0
push esi
mov edi, eax
call fcn.00401dc2
push edi
call fcn.00401bf6
push esi
push edi
push 1
push eax
mov dword [0x408ae0], eax
call fcn.00401b0e
push esi
call fcn.00401ab8
mov edx, dword [0x408ae0]
xor eax, eax
mov dword [0x408df0], eax
add esp, 0x34
mov cl, byte [edx]
test cl, cl
mov byte [0x408be8], cl
je 0x4012c7
inc eax
mov dword [0x408df0], eax
mov cl, byte [eax + edx]
test cl, cl
mov byte [eax + 0x408be8], cl
jne 0x4012b4
lea eax, [esp + 0xe8]
push 0x408be8
push eax
call ebp
lea ecx, [esp + 0xe8]
push ecx
push 0x4080e4
push 0x408ae4
call fcn.00401a66
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0xc
push 0x21
push 0x4080dc
push 0x408ae4
push 0
call esi
cmp eax, 2
je 0x401477
test ebx, ebx
je 0x4013cf
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
push ecx
mov dword [esp + 0x20], eax
push edx
mov dword [esp + 0x28], eax
push 0
mov eax, 1
push 0
push 0
mov dword [esp + 0x64], eax
mov word [esp + 0x68], ax
push 0
push 0
lea eax, [esp + 0x84]
push 0
push eax
push 0
mov dword [esp + 0x4c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4013a4
lea ecx, [esp + 0x68]
push eax
push ecx
lea edx, [esp + 0x1f0]
push 0x4080bc
push edx
call fcn.00401a66
add esp, 0x10
lea eax, [esp + 0x1e8]
push 0x40
push 0x4080b0
push eax
push 0
call esi
jmp 0x4013cf
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x10], 0xfe
je 0x401486
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [esp + 0x370]
push 0
push 0x4014a0
push 0
push 0x65
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 0x464
jne 0x401414
lea edx, [esp + 0xe8]
push edx
push 0x408090
push 0x408ae4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x40
jmp 0x401431
lea eax, [esp + 0xe8]
push eax
push str.Sorry___s_
push 0x408ae4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push 0x4080dc
push 0x408ae4
push 0
call esi
lea ecx, [esp + 0x268]
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall_
push ecx
call ebp
lea edx, [esp + 0xe8]
lea eax, [esp + 0x268]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x268]
push ecx
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov edx, dword [0x408ae0]
push edx
call fcn.00401a37
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x35c
ret 0x10