Function at 0x406e20
Capabilities:
Enumerate process modules
Get process image filename
Modify service
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432150
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x448090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movq xmm0, qword [str.PCKeeperService]
movq qword [ebp - 0x30], xmm0
movq xmm0, qword [0x43c658]
movq qword [ebp - 0x28], xmm0
movq xmm0, qword [0x43c660]
push 0xf003f
movq qword [ebp - 0x20], xmm0
movq xmm0, qword [0x43c668]
push 0
push 0
mov dword [ebp - 0x4c], 0
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x406f06
push 0xf01ff
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x406f03
mov ecx, esi
call fcn.00406230
test eax, eax
jne 0x406f00
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x78]
push eax
xorps xmm0, xmm0
push 2
movq qword [ebp - 0x78], xmm0
movq qword [ebp - 0x70], xmm0
push esi
mov dword [ebp - 0x78], 0x2a300
mov dword [ebp - 0x6c], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov dword [ebp - 0x4c], 1
push esi
call ebx
push edi
call ebx
xor ecx, ecx
mov eax, 0x2710
mov edx, 4
mul edx
seto cl
mov dword [ebp - 0x50], 0
neg ecx
or ecx, eax
push ecx
call fcn.00420b5d
add esp, 4
lea ecx, [ebp - 0x50]
push ecx
push 0x9c40
push eax
mov dword [ebp - 0x54], eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
mov eax, dword [ebp - 0x50]
shr eax, 2
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x406f74
push str.failed_to_enumerate_processes
push 3
push 3
push 0x190
push str.LegacyPCKUninstaller::DropProcesses
push str.LegacyPCKUninstaller.cpp
lea ecx, [ebp - 0x64]
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x10
mov eax, dword [0x448020]
mov ecx, 0x448020
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x40], edi
xor esi, esi
or ebx, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x48], esi
jbe 0x40720e
nop
mov eax, dword [ebp - 0x54]
push dword [eax + esi*4]
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x4071ef
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x3e8
or eax, ecx
jge 0x406fe8
push 0x3e8
lea ecx, [ebp - 0x40]
call fcn.004026b0
mov edi, dword [ebp - 0x40]
push 0x3e8
push edi
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
push dword [edi - 8]
push edi
call fcn.00420547
add esp, 8
test eax, eax
js 0x407253
cmp eax, dword [edi - 8]
jg 0x407253
xor ecx, ecx
push 0x5c
mov dword [edi - 0xc], eax
push edi
mov word [edi + eax*2], cx
call fcn.00420dd2
add esp, 8
test eax, eax
jne 0x407033
mov dword [ebp - 0x34], 0xffffffff
jmp 0x40703a
sub eax, edi
sar eax, 1
mov dword [ebp - 0x34], eax
mov eax, dword [0x448020]
mov ecx, 0x448020
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x38], esi
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
cmp ecx, 0xffffffff
je 0x4071ce
mov eax, dword [edi - 0xc]
sub eax, ecx
dec eax
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407cb0
mov byte [ebp - 4], 3
mov eax, dword [eax]
lea ecx, [esi - 0x10]
lea edx, [eax - 0x10]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], ecx
cmp edx, ecx
je 0x4070d5
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4070c6
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4070c3
push edx
call fcn.004028c0
add esp, 4
mov dword [ebp - 0x44], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4070bb
mov esi, dword [ebp - 0x34]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x44]
lea esi, [eax + 0x10]
mov dword [ebp - 0x38], esi
jmp 0x4070d5
mov eax, dword [ebp - 0x44]
push dword [eax - 0xc]
lea ecx, [ebp - 0x38]
push eax
call fcn.00402440
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4070f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x34], edx
test edx, edx
js 0x407253
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x407124
push edx
lea ecx, [ebp - 0x38]
call fcn.004026b0
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
lea eax, [edx + 1]
push eax
push esi
call fcn.0042100e
mov eax, dword [ebp - 0x34]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x407253
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, str.PCKEEPER.EXE
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407176
test dx, dx
je 0x407172
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407176
add eax, 4
add ecx, 4
test dx, dx
jne 0x407150
xor eax, eax
jmp 0x40717b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x4071c5
cmp dword [ebp - 0x4c], 0
je 0x4071ce
mov ecx, str.ZEOSERVICE.EXE
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4071b7
test dx, dx
je 0x4071b3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4071b7
add eax, 4
add ecx, 4
test dx, dx
jne 0x407191
xor eax, eax
jmp 0x4071bc
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x4071ce
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4071ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
test ebx, ebx
je 0x4071fe
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [ebp - 0x48]
jb 0x406fa0
or ebx, 0xffffffff
push dword [ebp - 0x54]
call fcn.00420566
add edi, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x407237
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fe49
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402950
int3