Function at 0x4020ff
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
push edi
lea eax, [ebp - 0x18]
push eax
push 0x46eb88
push 1
xor ebx, ebx
push ebx
push 0x46eb68
call esi
test eax, eax
jl 0x4021e7
lea eax, [ebp - 0x14]
push eax
push 0x46eb98
push 1
push ebx
push 0x46eb78
call esi
test eax, eax
jl 0x4021d7
push str.http:__easyabc.95599.cn
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00401e54
push str.https:__easyabc.95599.cn
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00401e54
push str.http:__www.95599.cn
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00401e54
push str.https:__www.95599.cn
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00401e54
push str.http:__www.abchina.com
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00401e54
push str.https:__www.abchina.com
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00401e54
add esp, 0x48
push str.http:__ad.abchina.com
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00401e54
push str.http:__click.abchina.com
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00401e54
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add esp, 0x18
push eax
call dword [ecx + 8]
jmp 0x4021dc
call fcn.00401f8a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4021ec
call fcn.00401f8a
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones2
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
pop edi
test eax, eax
jne 0x4023a5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.CurrentLevel
push dword [ebp - 4]
mov dword [ebp - 8], 0x11000
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402252
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
je 0x402263
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push str.CurrentLevel
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.1C00
push dword [ebp - 4]
mov dword [ebp - 8], 0x10000
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402297
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
je 0x4022a8
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push str.1C00
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.1001
push dword [ebp - 4]
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4022dc
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
je 0x4022ed
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push str.1001
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.1405
push dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40231d
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
je 0x40232e
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push str.1405
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.1201
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40235b
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
je 0x40236c
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push str.1201
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.1A04
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40239d
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
je 0x402442
lea eax, [ebp - 8]
jmp 0x402434
lea eax, [ebp - 4]
push eax
push 2
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones2
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40244b
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push str.CurrentLevel
push dword [ebp - 4]
mov dword [ebp - 0x10], 0x11000
call esi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push str.1C00
push dword [ebp - 4]
mov dword [ebp - 0x10], 0x10000
call esi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push str.1001
push dword [ebp - 4]
mov dword [ebp - 0x10], 1
call esi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push str.1405
push dword [ebp - 4]
mov dword [ebp - 0x10], ebx
call esi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push str.1201
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x10]
push edi
push eax
push edi
push ebx
push str.1A04
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4024a4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.SecureProtocols
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
test eax, eax
jne 0x4024c1
mov eax, dword [ebp - 0x1c]
and eax, 0x208
or eax, 0xa0
mov dword [ebp - 0x1c], eax
jmp 0x4024c8
lea eax, [ebp - 4]
push eax
push 2
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4024e1
jmp 0x402469
mov dword [ebp - 0x1c], 0xa0
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push str.SecureProtocols
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, 1
pop ebx
leave
ret