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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2166
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x53d9f8]
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 0x452e06
push str.Invalid_Args.
push str.kupdate::KProcessUtils::IsProcessExists
push 0xda
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412750
add esp, 0x14
xor al, al
jmp 0x453077
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 0x452e72
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x452e4c
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_CreateToolhelp32Snapshot:_0x_08x.
push str.kupdate::KProcessUtils::IsProcessExists
push 0xe3
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412750
add esp, 0x18
xor al, al
jmp 0x453077
lea ecx, [ebp - 0x460]
mov byte [ebp - 0x461], 0
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x453034
mov edi, edi
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x453012
jmp 0x452ea0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x452eaa
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 0x452ecc
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x452ea0
jmp 0x453012
mov edi, 7
mov byte [ebp - 0x461], 1
xor eax, eax
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 0x452fd5
cmp esi, 0xffffffff
je 0x452fc5
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 0x452fce
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
jmp 0x452f60
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452f60
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.004033b0
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 0x452fb5
mov ecx, eax
call fcn.00413820
add dword [esi + 4], 0x18
mov edi, dword [ebp - 0x220]
jmp 0x452fd5
push eax
mov ecx, esi
call fcn.0040e830
mov edi, dword [ebp - 0x220]
jmp 0x452fd5
test esi, esi
je 0x452fd5
cmp esi, 0xffffffff
je 0x452fd5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x453012
mov ecx, dword [ebp - 0x234]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x453008
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45302e
push edi
push ecx
call fcn.004bee2d
add esp, 8
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x468]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x452e90
jmp 0x453065
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 0x453046
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_Process32First:_0x_08x.
push str.kupdate::KProcessUtils::IsProcessExists
push 0xff
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412750
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.004bee49
mov esp, ebp
pop ebp
ret