Function at 0x4028c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x740
mov eax, dword [0x487bb0]
xor eax, esp
mov dword [esp + 0x73c], eax
push 0x104
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0044fe60
push 0x208
lea ecx, [esp + 0x33c]
push 0
push ecx
call fcn.0044fe60
add esp, 0x18
lea edx, [esp]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallADSafe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x402954
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str..common.cpp
push 0x287
push str.Line_no_d_source_s_RegCreateKeyA_failed_error_d._r_n
call fcn.0040cfa0
mov eax, dword [esp + 0x10]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x73c]
xor ecx, esp
call fcn.0044ffb3
add esp, 0x740
ret
push ebx
push esi
push 0x208
lea ecx, [esp + 0x540]
push 0
push ecx
call fcn.0044fe60
push 0x104
lea edx, [esp + 0x240]
push 0
push edx
call fcn.0044fe60
mov eax, dword [0x486e58]
mov ebx, 8
add esp, 0x18
cmp dword [0x486e6c], ebx
jae 0x402998
mov eax, 0x486e58
push edi
push str.ADSafe.exe
push eax
lea eax, [esp + 0x548]
push 0x46c8b4
push eax
call fcn.00401040
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x10
push 0
push 0
push 0x104
lea ecx, [esp + 0x240]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x554]
push edx
push 0
push 0
call edi
push 0x104
lea eax, [esp + 0x134]
push 0
push eax
call fcn.0044fe60
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x244]
push edx
call fcn.00401170
mov eax, dword [0x486e58]
add esp, 0x14
cmp dword [0x486e6c], ebx
jae 0x402a19
mov eax, 0x486e58
push str.ADSafe.exe
push eax
lea eax, [esp + 0x340]
push 0x46c8b4
push eax
call fcn.00401040
add esp, 0x10
push 0
push 0
push 0x104
lea ecx, [esp + 0x38]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x34c]
push edx
push 0
push 0
call edi
lea eax, [esp + 0x2c]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402a60
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub eax, ecx
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
push 1
push 0
push str.DisplayIcon
push ecx
call esi
push 0x104
lea edx, [esp + 0x30]
push 0
push edx
call fcn.0044fe60
lea eax, [esp + 0x1c]
push 9
push eax
call fcn.00424560
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp dword [esp + 0x28], ebx
jae 0x402ab3
lea eax, [esp + 0x14]
push 0
push 0
push 0x104
lea ecx, [esp + 0x38]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402ad1
sub eax, edx
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push 1
push 0
push str.DisplayName
push eax
call esi
lea eax, [esp + 0x130]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402b00
mov edx, dword [esp + 0xc]
sub eax, ecx
push eax
lea ecx, [esp + 0x134]
push ecx
push 1
push 0
push str.DisplayVersion
push edx
call esi
push 0
push 0
push 0x104
lea eax, [esp + 0x38]
push eax
push 0xffffffffffffffff
push str.Shanghai_Damo_Network_Technology_Co._Ltd.
push 0
push 0
call edi
lea eax, [esp + 0x2c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402b44
mov edx, dword [esp + 0xc]
sub eax, ecx
push eax
lea ecx, [esp + 0x30]
push ecx
push 1
push 0
push str.Publisher
push edx
call esi
mov eax, dword [0x486e58]
cmp dword [0x486e6c], ebx
jae 0x402b75
mov eax, 0x486e58
push str.uninst.exe
push eax
lea eax, [esp + 0x340]
push 0x46c8b4
push eax
call fcn.00401040
add esp, 0x10
push 0
push 0
push 0x104
lea ecx, [esp + 0x38]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x34c]
push edx
push 0
push 0
call edi
lea eax, [esp + 0x2c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402bb5
sub eax, ecx
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
push 1
push 0
push str.UninstallString
push ecx
call esi
push 0
push 0
push 0x104
lea edx, [esp + 0x38]
push edx
push 0xffffffffffffffff
push str.http:__www.ad_safe.com_
push 0
push 0
call edi
lea eax, [esp + 0x2c]
lea ecx, [eax + 1]
pop edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402bf7
sub eax, ecx
mov ecx, dword [esp + 8]
push eax
lea eax, [esp + 0x2c]
push eax
push 1
push 0
push str.UrlInfoAbout
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], ebx
pop esi
pop ebx
jb 0x402c36
mov eax, dword [esp + 8]
push eax
call fcn.0044fc16
add esp, 4
mov ecx, dword [esp + 0x73c]
xor ecx, esp
mov eax, 1
call fcn.0044ffb3
add esp, 0x740
ret