Function at 0x4c0b30
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x742800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2e0
cmp byte [0xa968b0], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x8450d0]
push esi
push edi
mov dword [ebp - 0x2c], eax
je 0x4c0ba3
cmp byte [0x8f63f8], 0
je 0x4c0ba3
test cl, cl
je 0x4c0c7d
cmp cl, 6
jb 0x4c0c7d
shr ecx, 8
cmp cl, 4
jb 0x4c0c7d
jmp 0x4c0bab
test cl, cl
je 0x4c0c7d
push dword [ebx + 8]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x18], 0x97ca88
mov edi, dword [ebp - 0x18]
push eax
sub edi, 0x219df8
call fcn.00519050
add esp, 8
mov edx, eax
mov eax, dword [0x8450d0]
mov ecx, edi
mov dword [ebp - 0x20], eax
mov eax, dword [str.DesktopInstaller]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c0be8
sub ecx, esi
cmp dword [edx + 0x14], 0x10
mov esi, edx
jb 0x4c0bfb
mov esi, dword [edx]
mov eax, dword [edx + 0x10]
lea edx, [ebp - 0x30]
push 1
sub esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, esp
mov dword [ebp - 0x30], esi
push ecx
push edi
push 4
push dword [ebp - 0x18]
mov dword [eax], 0xd
push dword [ebp - 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], edx
call fcn.00518420
mov edx, dword [ebp - 0x64]
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4c0c6b
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c0c61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1062
push edx
push ecx
call fcn.00516d60
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4c0cac
movzx eax, ax
or eax, 0x80070000
push 0x400
push 0
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00570860
mov edx, eax
add esp, 0x10
cmp dword [edx + 0x14], 8
jb 0x4c0ccd
mov edx, dword [edx]
push edx
cmp esi, 0xffffffff
push str.failed_to_create_snapshot:__s
sete al
push eax
mov eax, dword [ebx + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x4c
push eax
call fcn.004946a0
mov edx, dword [ebp - 0x7c]
add esp, 0x18
cmp edx, 8
jb 0x4c0d2a
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c0d20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1067
push edx
push ecx
call fcn.00516d60
add esp, 8
xor eax, eax
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x2f0], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4c0f19
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x4c], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0d80
sub ecx, edx
lea eax, [ebp - 0x2cc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00486be0
mov eax, dword [ebx + 8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4c0dac
mov ecx, dword [eax]
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 8
mov esi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x50]
cmovae eax, esi
cmp edx, dword [edi + 0x10]
mov edi, dword [ebp - 0x4c]
jne 0x4c0dda
push edx
push ecx
push eax
call fcn.00495990
add esp, 0xc
mov byte [ebp - 0x11], 1
test eax, eax
je 0x4c0dde
mov byte [ebp - 0x11], 0
cmp edi, 8
jb 0x4c0e12
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x4c0e08
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1062
push ecx
push esi
call fcn.00516d60
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x4c0f02
push dword [ebp - 0x2e8]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4c0e46
movzx eax, ax
or eax, 0x80070000
push 0x400
push 0
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00570860
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4c0e65
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 4]
push str.failed_to_access_client_process_info:__s
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x57
push eax
call fcn.0049b8c0
mov edx, dword [ebp - 0x94]
add esp, 0x18
cmp edx, 8
jb 0x4c0ebf
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c0eb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1062
push edx
push ecx
call fcn.00516d60
add esp, 8
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
test ecx, ecx
je 0x4c0f02
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x4c0ef6
mov dword [eax], ecx
add dword [edx + 4], 4
jmp 0x4c0f02
lea ecx, [ebp - 0x24]
push ecx
push eax
mov ecx, edx
call fcn.004bf5c0
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x18]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4c0d62
cmp byte [0xa968b0], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x8450d0]
mov dword [ebp - 0x34], eax
je 0x4c0f58
cmp byte [0x8f63f8], 0
je 0x4c0f58
test cl, cl
je 0x4c103c
cmp cl, 6
jb 0x4c103c
shr ecx, 8
cmp cl, 4
jb 0x4c103c
jmp 0x4c0f60
test cl, cl
je 0x4c103c
push dword [ebx + 8]
mov dword [ebp - 0x20], 0xa28849
lea eax, [ebp - 0xc0]
mov edi, dword [ebp - 0x20]
sub edi, 0x2c5b19
push eax
mov dword [ebp - 0x24], edi
call fcn.00519050
add esp, 8
mov esi, eax
mov ecx, dword [ebx + 0xc]
mov edx, edi
mov byte [ebp - 4], 2
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
lea ecx, [edx + 1]
sar eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [0x8450d0]
mov dword [ebp - 0x30], eax
mov eax, dword [str.DesktopInstaller]
mov dword [ebp - 0x34], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4c0fb0
sub edx, ecx
mov edi, esi
cmp dword [esi + 0x14], 0x10
jb 0x4c0fc3
mov edi, dword [esi]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x10]
mov esi, dword [ebp - 0x20]
push 1
sub esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, esp
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x40], edi
push edx
push dword [ebp - 0x24]
mov dword [eax], 0xd2
push 4
push dword [ebp - 0x34]
mov dword [eax + 4], 0
push dword [ebp - 0x30]
mov dword [eax + 8], ecx
call fcn.00518420
mov edx, dword [ebp - 0xac]
add esp, 0x28
cmp edx, 0x10
jb 0x4c103c
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1032
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c106c
push edx
push ecx
call fcn.00516d60
add esp, 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4c104f
cmp eax, 0xffffffff
je 0x4c104f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0070f5b4
call fcn.0070f5b4
call fcn.0070f5b4
int3