Function at 0x401130
Capabilities:
Copy file
Create process on windows
Delete directory
Delete file
Delete registry key
Extract resource via kernel32 functions
Get common file path
Persist via lnk shortcut
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xee4
mov eax, dword [0x418004]
xor eax, esp
mov dword [esp + 0xee0], eax
push ebx
push esi
push edi
push 0
mov dword [esp + 0x60], 0x104
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov esi, eax
push 0x65
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4011d6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4011d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4011d6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
xor edi, edi
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x18], edi
xor esi, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4011e2
mov ebx, eax
nop dword [eax]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
mov edi, dword [esi + eax]
lea edx, [eax + 4]
push edi
add edx, esi
call fcn.00401000
add esp, 4
test eax, eax
jne 0x4011d6
add esi, 4
add esi, edi
cmp esi, ebx
jb 0x4011b0
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx]
cmp esi, 0x206
jbe 0x401208
push 0x10
push str.Error
push str.InitRsrcData:_nInvalid_path.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
shr esi, 1
push esi
push dword [edi]
push 0x4192c0
call fcn.004045db
add esi, esi
add esp, 0xc
cmp esi, 0x208
jae 0x4014eb
xor eax, eax
mov word [esi + 0x4192c0], ax
xor esi, esi
test ebx, ebx
je 0x401260
push dword [edi + esi*4]
call fcn.0040306b
inc esi
add esp, 4
cmp esi, ebx
jb 0x401237
test ebx, ebx
je 0x401260
push edi
call fcn.0040306b
add esp, 4
push dword [esp + 0x1c]
call fcn.0040306b
add esp, 4
push 0x4192c0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push str._ls_ls
lea eax, [esp + 0x4c4]
push 0x104
push eax
call fcn.004010f0
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
add esp, 0x14
test eax, eax
js 0x4014dd
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x2b4]
push eax
push 0
push 2
push str.InstallLocation
lea eax, [esp + 0x4cc]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x4012d4
push 0x10
push str.Error
push str.Couldnt_retrieve_software_information.
push 0
call esi
jmp 0x4014c4
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xa8]
push 0x104
push eax
push 0
call edi
lea eax, [esp + 0xa8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x2b0]
push eax
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4013c1
push 0x104
lea eax, [esp + 0x8cc]
push eax
push 0
call edi
lea eax, [esp + 0x6c0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0xa8]
push eax
push 0
push 0x416ccc
lea eax, [esp + 0x6cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x8d0]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x44
lea eax, [esp + 0x64]
push 0
push eax
call fcn.00402430
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x64]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push 0
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x4c]
call esi
jmp 0x4014c4
push 0x24
push str.Confirmation
push str.Are_you_sure_you_want_to_uninstall_
push 0
call esi
cmp eax, 7
je 0x4014c4
push 0
push 0
lea eax, [esp + 0x2b8]
push eax
push str._ls_c_c
lea eax, [esp + 0xce8]
push 0x105
push eax
call fcn.004010f0
add esp, 0x18
test eax, eax
js 0x4014dd
lea eax, [esp + 0xcd8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], eax
mov eax, 0x614
mov word [esp + 0x3c], ax
lea eax, [esp + 0xa8]
push eax
push 0
push 0
push 0x10
push 0
mov dword [esp + 0x44], 3
mov dword [esp + 0x4c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x4192c0
lea eax, [esp + 0xac]
push eax
push str._ls_ls.lnk
lea eax, [esp + 0xadc]
push 0x104
push eax
call fcn.004010f0
add esp, 0x14
test eax, eax
js 0x4014dd
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea eax, [esp + 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
lea eax, [esp + 0x4c0]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
lea eax, [esp + 0xad0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push str.Success
push str.Uninstall_complete.
push 0
call esi
mov ecx, dword [esp + 0xeec]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004014f1
mov esp, ebp
pop ebp
ret 0x10
push 0x10
push str.Error
push str.swprintf:_nInvalid_path.
jmp 0x4014c0
call fcn.00401624
int3