Function at 0x454a60
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50518b
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x567e00]
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
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x454ac6
push str.Invalid_Args.
push str.kupdate::KProcessUtils::IsProcessExists
push 0x165
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412230
add esp, 0x14
xor al, al
jmp 0x454d30
push 0x228
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x460], 0x22c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x468], eax
cmp eax, 0xffffffff
jne 0x454b32
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x454b0c
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_CreateToolhelp32Snapshot:_0x_08x.
push str.kupdate::KProcessUtils::IsProcessExists
push 0x16e
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412230
add esp, 0x18
xor al, al
jmp 0x454d30
lea ecx, [ebp - 0x460]
mov byte [ebp - 0x461], 0
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x454ced
mov edi, edi
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x454ccb
jmp 0x454b60
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x454b6a
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x454b8c
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x454b60
jmp 0x454ccb
mov edi, 7
mov dword [ebp - 0x234], 0
xor eax, eax
mov byte [ebp - 0x461], 1
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], edi
mov word [ebp - 0x234], ax
push dword [ebp - 0x458]
mov dword [ebp - 4], eax
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x470], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x454c8e
cmp esi, 0xffffffff
je 0x454c8e
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x454c87
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454c22
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00403a70
push esi
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x46c]
lea ecx, [ebp - 0x234]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x454c77
mov ecx, eax
call fcn.004133c0
add dword [esi + 4], 0x18
mov edi, dword [ebp - 0x220]
jmp 0x454c8e
push eax
mov ecx, esi
call fcn.0040e160
mov edi, dword [ebp - 0x220]
jmp 0x454c8e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x454ccb
mov ecx, dword [ebp - 0x234]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x454cc1
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454ce7
push edi
push ecx
call fcn.004c6f6f
add esp, 8
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x468]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x454b50
jmp 0x454d1e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x454cff
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_Process32First:_0x_08x.
push str.kupdate::KProcessUtils::IsProcessExists
push 0x18a
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412230
add esp, 0x18
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x461]
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.004c6f8b
mov esp, ebp
pop ebp
ret