Function at 0x40b507
Capabilities:
Create process on windows
Create thread
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9e4]
sub esp, 0xa64
mov eax, dword [0x42b268]
xor eax, ebp
mov dword [ebp + 0x9e0], eax
push ebx
push esi
push edi
xor eax, eax
push 0x3e
mov word [ebp + 0x9a0], ax
xor ebx, ebx
lea eax, [ebp + 0x9a2]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x78], 1
call fcn.0040de60
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x9a0]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x426898
push str.SoftwareAdClean
push 0x80000001
mov dword [ebp - 0x80], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
push 0x7fe
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push ebx
push eax
call fcn.0040de60
lea eax, [ebp + 0x9a0]
push eax
lea eax, [ebp - 0x68]
push str.http:__bcs.duapp.com_adclean_report_uninstall.html_pid_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x18
push str.AcReport.exe
add esi, 0x20c
push esi
lea eax, [ebp + 0x798]
push eax
call edi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 5
push ebx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x798]
push eax
push ebx
push ebx
call esi
mov eax, dword [ebp - 0x70]
push str.AcSvr.exe
add eax, 0x20c
push eax
lea eax, [ebp + 0x798]
push eax
call edi
push ebx
push ebx
push 0x424d34
lea eax, [ebp + 0x798]
push eax
push ebx
push ebx
call esi
call fcn.004025c1
mov ecx, eax
mov eax, dword [ecx + 0x40]
sub eax, dword [ecx + 0x3c]
add ecx, 0x30
cdq
mov ecx, 0xa0c
idiv ecx
mov dword [ebp - 0x7c], eax
cmp eax, ebx
mov dword [ebp - 0x74], ebx
jle 0x40b713
push dword [ebp - 0x74]
mov dword [ebp - 0x6c], ebx
call fcn.004025c1
lea edi, [ebp - 0x6c]
mov ecx, eax
call fcn.00402553
test eax, eax
je 0x40b704
mov esi, dword [ebp - 0x6c]
cmp esi, ebx
je 0x40b704
lea eax, [esi + 0x108]
push eax
mov dword [ebp - 0x6c], eax
call fcn.0040d340
pop ecx
test eax, eax
je 0x40b704
cmp dword [esi + 4], ebx
jne 0x40b685
push ebx
push ebx
push pe_nt_image_headers32
push dword [esi + 0x908]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40b704
lea edi, [esi + 0x90c]
cmp edi, ebx
je 0x40b6a1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x40b6a5
xor edi, edi
jmp 0x40b6bc
lea eax, [esi + esi]
call fcn.00417ef0
mov eax, esp
push 3
push esi
push edi
mov esi, eax
call fcn.0040bf7b
mov edi, eax
cmp dword [ebp - 0x6c], ebx
je 0x40b6d5
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x40b6d9
xor eax, eax
jmp 0x40b6f0
lea eax, [esi + esi]
call fcn.00417ef0
mov eax, esp
push 3
push esi
push dword [ebp - 0x6c]
mov esi, eax
call fcn.0040bf7b
mov ecx, dword [ebp - 0x70]
add ecx, 0x20c
push ecx
mov ecx, edi
mov edx, eax
call fcn.00403713
pop ecx
inc dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x7c]
jl 0x40b629
push dword [ebp - 0x70]
call fcn.0040bb27
call fcn.0040b9ea
call fcn.0040bc6c
push ebx
push ebx
push ebx
push 0x40c115
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00403dac
mov esi, eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40b76a
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b76a
mov eax, dword [esi + 4]
push ebx
push ebx
push 0x1414
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x70]
call fcn.0040b7a1
test eax, eax
je 0x40b77b
call fcn.0040bc6c
mov ecx, dword [ebp - 0x70]
call fcn.0040bca9
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9e0]
xor ecx, ebp
call fcn.0040d325
add ebp, 0x9e4
leave
ret