Function at 0x409e50
Capabilities:
Create process on windows
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x476467
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x144]
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
lea ecx, [esp + 0x84]
mov dword [esp + 0x148], eax
call fcn.004010f0
lea ecx, [esp + 0x80]
mov dword [esp + 0x150], edi
call fcn.00466fa3
cmp eax, 1
jne 0x40a087
xor esi, esi
mov byte [esp + 0x150], al
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x2001f
push edi
push edi
push edi
push str.SoftwareAdwareAlertAdwareAlertRegInfo
push SysReAllocString
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x409ee5
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push 0x2001f
push edi
push str.SoftwareAdwareAlertAdwareAlertRegInfo
push SysReAllocString
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x40a057
xor eax, eax
cmp esi, edi
je 0x409f19
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], esi
jne 0x40a057
lea ecx, [esp + 0x24]
call fcn.0043afc0
mov byte [esp + 0x150], 2
call fcn.00472326
mov eax, dword [eax + 4]
push str.none
push str.OrderName
push str.RegSweep
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00472f77
mov ebx, 3
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.A493N36S1QQBTC80
mov byte [esp + 0x15c], bl
call fcn.00405920
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
push eax
mov byte [esp + 0x160], 4
call fcn.00402360
lea edx, [esp + 0x24]
add esp, 4
add eax, 0x10
push edx
mov dword [edi], eax
mov byte [esp + 0x160], bl
call fcn.0043b030
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x10
push eax
mov edi, eax
call ebp
inc eax
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push 0
push str.OrderNo
push esi
call edi
mov eax, dword [esp + 0x14]
push eax
mov ebx, eax
call ebp
inc eax
push eax
push ebx
push 1
push 0
push str.Serial
push esi
call edi
test esi, esi
je 0x40a000
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a01e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x150], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a044
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 1
call fcn.0043b000
xor edi, edi
push 5
push 0x47e490
push 0x47e490
push str.http:__www.adwarealert.com_download_update.php
push 0x47e930
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp esi, edi
mov byte [esp + 0x150], 0
je 0x40a087
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0xf0]
test al, al
je 0x40a0ac
call fcn.00472326
mov eax, dword [eax + 4]
push edi
push str.CheckForAdwareAlert
push str.RegSweep
mov ecx, eax
call fcn.0046f82b
lea ecx, [esp + 0x80]
mov dword [esp + 0x150], 0xffffffff
call fcn.00401010
mov ecx, dword [esp + 0x148]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x13c]
xor ecx, dword [esp + 0x14c]
pop ebp
pop ebx
add esp, 0x144
jmp fcn.00456aa7