Function at 0x40ae30
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x487990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], 0
call fcn.004834fa
mov esi, dword [eax + 4]
mov eax, dword [0x4b20c8]
mov dword [esp + 8], eax
mov eax, dword [esi + 0xd4]
lea ecx, [esp + 0xc]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40b07a
mov edi, dword [edi + 0x1ccc]
lea eax, [edi - 4]
cmp eax, 9
ja case.0x40b0ab.8
jmp dword [eax*4 + 0x40b378]
mov edx, dword [esp + 0x20]
push 0x4b61a0
push edx
call fcn.00463ffe
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 8
test eax, eax
je 0x40aee1
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Adware_Scan_Day
push ecx
call esi
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jle 0x40b130
jmp 0x40b0fa
mov edx, dword [esp + 0x20]
push 0x4b61a0
push edx
call fcn.00463ffe
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 8
test eax, eax
je 0x40af32
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Virus_Scan_Day
push ecx
call esi
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jle 0x40af71
push eax
lea edx, [esp + 0xc]
push str._06d
push edx
call fcn.0047617b
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Virus_Find
push ecx
call esi
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
jle case.0x40b0ab.8
push eax
lea edx, [esp + 0xc]
push str._06d
push edx
call fcn.0047617b
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Virus_Delete
push ecx
call esi
jmp case.0x40b0ab.8
mov edx, dword [esp + 0x20]
push 0x4b61a0
push edx
call fcn.00463ffe
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 8
test eax, eax
je 0x40aff8
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Registry_Scan_Day
push ecx
call esi
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jle 0x40b1f6
jmp 0x40b1c0
mov edx, dword [esp + 0x20]
push 0x4b61a0
push edx
call fcn.00463ffe
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 8
test eax, eax
je 0x40b049
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Hard_Scan_Day
push ecx
call esi
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jle 0x40b2bc
jmp 0x40b286
mov edx, dword [esp + 0x20]
push 0x4b61a0
push edx
call fcn.00463ffe
add esp, 8
test eax, eax
je case.0x40b0ab.8
jmp 0x40b313
mov esi, dword [esi + 0xd4]
lea eax, [esp + 0xc]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edi, dword [edi + 0x1ccc]
lea eax, [edi - 4]
cmp eax, 9
ja case.0x40b0ab.8
xor ecx, ecx
mov cl, byte [eax + 0x40b3b4]
jmp dword [ecx*4 + 0x40b3a0]
mov edx, dword [esp + 0x20]
push 0x4b61a0
push edx
call fcn.00463ffe
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 8
test eax, eax
je 0x40b0f1
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Adware_Scan_Day
push ecx
call esi
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jle 0x40b130
push eax
lea edx, [esp + 0xc]
push str._06d
push edx
call fcn.0047617b
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Adware_Find
push ecx
call esi
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
jle case.0x40b0ab.8
push eax
lea edx, [esp + 0xc]
push str._06d
push edx
call fcn.0047617b
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Adware_Delete
push ecx
call esi
jmp case.0x40b0ab.8
mov edx, dword [esp + 0x20]
push 0x4b61a0
push edx
call fcn.00463ffe
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 8
test eax, eax
je 0x40b1b7
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Registry_Scan_Day
push ecx
call esi
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jle 0x40b1f6
push eax
lea edx, [esp + 0xc]
push str._06d
push edx
call fcn.0047617b
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Registry_Find
push ecx
call esi
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
jle case.0x40b0ab.8
push eax
lea edx, [esp + 0xc]
push str._06d
push edx
call fcn.0047617b
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Registry_Delete
push ecx
call esi
jmp case.0x40b0ab.8
mov edx, dword [esp + 0x20]
push 0x4b61a0
push edx
call fcn.00463ffe
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 8
test eax, eax
je 0x40b27d
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Hard_Scan_Day
push ecx
call esi
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jle 0x40b2bc
push eax
lea edx, [esp + 0xc]
push str._06d
push edx
call fcn.0047617b
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Hard_Find
push ecx
call esi
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
jle case.0x40b0ab.8
push eax
lea edx, [esp + 0xc]
push str._06d
push edx
call fcn.0047617b
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Hard_Delete
push ecx
call esi
jmp case.0x40b0ab.8
mov edx, dword [esp + 0x20]
push 0x4b61a0
push edx
call fcn.00463ffe
add esp, 8
test eax, eax
je case.0x40b0ab.8
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.History_Scan_Day
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc