Function at 0x4029d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x740
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x73c], eax
push 0x104
lea eax, [esp + 0x24]
push 0
push eax
call fcn.004449b0
push 0x208
lea ecx, [esp + 0x33c]
push 0
push ecx
call fcn.004449b0
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 0x402a64
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str..common.cpp
push 0x1c6
push str.Line_no_d_source_s_RegCreateKeyA_failed_error_d._r_n
call fcn.0040c370
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.00444b03
add esp, 0x740
ret
push ebx
push esi
push 0x208
lea ecx, [esp + 0x540]
push 0
push ecx
call fcn.004449b0
push 0x104
lea edx, [esp + 0x240]
push 0
push edx
call fcn.004449b0
mov eax, dword [0x474490]
mov ebx, 8
add esp, 0x18
cmp dword [0x4744a4], ebx
jae 0x402aa8
mov eax, 0x474490
push edi
push str.ADSafe.exe
push eax
lea eax, [esp + 0x548]
push 0x45f83c
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.004449b0
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x244]
push edx
call fcn.00401170
mov eax, dword [0x474490]
add esp, 0x14
cmp dword [0x4744a4], ebx
jae 0x402b29
mov eax, 0x474490
push str.ADSafe.exe
push eax
lea eax, [esp + 0x340]
push 0x45f83c
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 0x402b70
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.004449b0
lea eax, [esp + 0x1c]
push 9
push eax
call fcn.00419370
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp dword [esp + 0x28], ebx
jae 0x402bc3
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 0x402be1
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 0x402c10
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 0x402c54
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 [0x474490]
cmp dword [0x4744a4], ebx
jae 0x402c85
mov eax, 0x474490
push str.uninst.exe
push eax
lea eax, [esp + 0x340]
push 0x45f83c
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 0x402cc5
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 0x402d07
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 0x402d46
mov eax, dword [esp + 8]
push eax
call fcn.0044475c
add esp, 4
mov ecx, dword [esp + 0x73c]
xor ecx, esp
mov eax, 1
call fcn.00444b03
add esp, 0x740
ret