Function at 0x404170
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44c3c1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x15dc
call fcn.00432ca0
mov eax, dword [0x461978]
xor eax, esp
mov dword [esp + 0x15d8], eax
push ebx
push esi
push edi
mov eax, dword [0x461978]
xor eax, esp
push eax
lea eax, [esp + 0x15f0]
mov dword fs:[0], eax
push str.Wallpaper
lea ecx, [esp + 0x18]
call fcn.00403410
push 4
xor ebx, ebx
push str..exe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1600], ebx
call fcn.00402a80
lea eax, [esp + 0x20]
push eax
push 0x1000
lea ecx, [esp + 0x2c]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x404224
push ebx
push ebx
push 0x4542dc
call fcn.00416667
mov dword [esp + 0x15f8], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x404483
mov eax, dword [esp + 0x20]
shr eax, 2
mov dword [esp + 0x1c], eax
mov edi, ebx
je 0x404464
jmp 0x404240
mov eax, dword [0x454300]
mov ecx, dword [str._unknown_]
mov edx, dword [0x4542fc]
push 0x1f4
mov dword [esp + 0x13e8], eax
mov dword [esp + 0x13e0], ecx
mov ecx, dword [0x454304]
mov dword [esp + 0x13e4], edx
mov edx, dword [0x454308]
lea eax, [esp + 0x13f4]
push ebx
push eax
mov dword [esp + 0x13f4], ecx
mov dword [esp + 0x13f8], edx
call fcn.00432680
mov ecx, dword [esp + edi*4 + 0x30]
add esp, 0xc
push ecx
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x404457
push 0x208
lea edx, [esp + 0x13e0]
push edx
push ebx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jbe 0x404450
lea eax, [esp + 0x13dc]
push eax
lea ecx, [esp + 0x14]
call fcn.00403410
mov byte [esp + 0x15f8], 1
mov ecx, dword [esp + 0x10]
push 0x5c
push ecx
call fcn.004302f0
add esp, 8
cmp eax, ebx
je 0x404304
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
jne 0x40433b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x15f8], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404457
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x404457
add eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.004058b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x15fc], 2
call fcn.00403670
mov byte [esp + 0x15f8], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404387
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push str.Wallpaper
push ecx
call fcn.0043025f
add esp, 8
test eax, eax
je 0x4043b3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0043025f
add esp, 8
test eax, eax
jne 0x404429
push 0x453f4c
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
jne 0x4043de
call fcn.004040e0
cmp eax, ebx
je 0x404416
push 0x453f4c
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp eax, ebx
je 0x404416
lea ecx, [esp + 0x1024]
push ecx
push 2
mov dword [esp + 0x102c], 0x3b8
mov dword [esp + 0x1030], eax
mov dword [esp + 0x1034], 0x80
mov dword [esp + 0x1038], 7
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x15f8], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404450
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
cmp edi, dword [esp + 0x1c]
jb 0x404240
mov dword [esp + 0x15f8], 0xffffffff
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 0x40448f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x15f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x15d8]
xor ecx, esp
call fcn.004306d1
mov esp, ebp
pop ebp
ret