Function at 0x40ab00
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
xor edi, edi
mov esi, ecx
lea edx, [ecx + 1]
xor ebx, ebx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ab15
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.0041f375
mov edx, eax
add esp, 4
mov ecx, edx
mov dword [ebp - 0xc], edx
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x40ab33
push 0x2a
push edx
call fcn.00420790
mov esi, eax
add esp, 8
test esi, esi
je 0x40ab85
mov byte [esi], bl
add esi, 1
je 0x40ab85
push 0x2a
push esi
call fcn.00420790
mov edi, eax
add esp, 8
test edi, edi
je 0x40ab85
mov byte [edi], bl
add edi, 1
je 0x40ab85
push 0x2a
push edi
call fcn.00420790
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40ab85
mov byte [ebx], 0
inc ebx
lea eax, [ebp - 8]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40acc8
cmp dword [ebp - 0x10], eax
je 0x40ad00
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40ad10
mov edx, dword [ebp - 0xc]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40abd0
sub ecx, dword [ebp - 0x14]
push ecx
push edx
push 1
push 0
push str.DisplayName
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40acdc
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ac00
sub ecx, edx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push 0
push str.UninstallString
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40acdc
test edi, edi
je 0x40ac51
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ac30
sub ecx, edx
push ecx
push edi
push 1
push 0
push str.Publisher
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40acdc
test ebx, ebx
je 0x40ac7d
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ac60
sub ecx, edx
push ecx
push ebx
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40acdc
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
push 4
push 0
push str.NoRepair
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40acdc
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.NoModify
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40acdc
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push dword [ebp - 0xc]
call fcn.0041f367
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push 1
push dword [ebp - 0xc]
call fcn.0041f367
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x40acbf
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call esi
push 1
push dword [ebp - 0xc]
call fcn.0041f367
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret