Function at 0x4012f0
Capabilities:
Delete file
Get installed programs
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415351
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xbd8
mov eax, dword [0x41e00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xa38]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallInstallShield_2A502FBC_DF6B_4B43_B0D4_C061DD5F423B
push 0x80000002
call edi
test eax, eax
jne 0x401607
lea eax, [ebp - 0xa1c]
mov dword [ebp - 0xa1c], 0x400
push eax
lea eax, [ebp - 0xa18]
push eax
push 0
push 0
push str.UninstallString
push dword [ebp - 0xa38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xa38]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401607
lea eax, [ebp - 0xbe4]
mov dword [ebp - 0xbe8], eax
lea ecx, [ebp - 0xbe8]
push 3
lea eax, [ebp - 0xa18]
push eax
call fcn.00401dd0
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0xbe8]
mov dword [ebp - 0xa20], 0xf
mov dword [ebp - 0xa24], esi
mov byte [ebp - 0xa34], 0
cmp byte [edx], 0
jne 0x4013e5
xor ecx, ecx
jmp 0x4013f9
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4013f0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa34]
call fcn.004019c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbe4]
mov eax, dword [ebp - 0xbe8]
cmp eax, ecx
je 0x401423
push eax
call fcn.00405801
add esp, 4
push ecx
lea ecx, [ebp - 0x218]
call fcn.00401020
add esp, 4
lea ecx, [ebp - 0x218]
call fcn.00401220
push 7
push str.__s__f1
lea ecx, [ebp - 0xa34]
call fcn.00401be0
lea eax, [ebp - 0xadc]
mov dword [ebp - 0xae0], eax
lea ecx, [ebp - 0xae0]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.00401dd0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xae0]
cmp byte [edx], 0
jne 0x401482
xor ecx, ecx
jmp 0x401490
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401487
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa34]
call fcn.00401be0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xadc]
mov eax, dword [ebp - 0xae0]
cmp eax, ecx
je 0x4014ba
push eax
call fcn.00405801
add esp, 4
cmp dword [ebp - 0xa20], 0x10
lea eax, [ebp - 0xa34]
lea ecx, [ebp - 0xb5c]
cmovae eax, dword [ebp - 0xa34]
push 3
mov dword [ebp - 0xb60], ecx
lea ecx, [ebp - 0xb60]
push eax
call fcn.00401eb0
mov ecx, dword [ebp - 0xb60]
call fcn.00401110
mov eax, dword [ebp - 0xb60]
lea ecx, [ebp - 0xb5c]
cmp eax, ecx
je 0x40150c
push eax
call fcn.00405801
add esp, 4
lea eax, [ebp - 0xa38]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallInstallShield_2A502FBC_DF6B_4B43_B0D4_C061DD5F423B
push 0x80000002
call edi
xor esi, esi
test eax, eax
jne 0x401563
push dword [ebp - 0xa38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0xa38]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallInstallShield_2A502FBC_DF6B_4B43_B0D4_C061DD5F423B
push 0x80000002
call edi
inc esi
cmp esi, 0x64
jl 0x401528
xorps xmm0, xmm0
mov dword [ebp - 0xa40], 0
movups xmmword [ebp - 0xa58], xmm0
lea eax, [ebp - 0x218]
mov word [ebp - 0xa3c], 0
movq qword [ebp - 0xa48], xmm0
mov dword [ebp - 0xa50], eax
mov eax, 0x414
mov word [ebp - 0xa48], ax
lea eax, [ebp - 0xa58]
push eax
mov dword [ebp - 0xa54], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [ebp - 0xa20]
cmp eax, 0x10
jb 0x401607
mov ecx, dword [ebp - 0xa34]
inc eax
cmp eax, 0x1000
jb 0x4015fe
test cl, 0x1f
je 0x4015da
call fcn.004057b1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4015e6
call fcn.004057b1
sub ecx, eax
cmp ecx, 4
jae 0x4015f2
call fcn.004057b1
cmp ecx, 0x23
jbe 0x4015fc
call fcn.004057b1
mov ecx, eax
push ecx
call fcn.00402690
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00402695
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret