Function at 0x4a53c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6fea0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4a540e
movzx eax, ax
or eax, 0x80070000
push 0x400
push 0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0053c9f0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4a542a
mov eax, dword [eax]
push eax
cmp esi, 0xffffffff
push str.failed_to_create_snapshot:__s
sete al
movzx eax, al
push eax
mov eax, dword [ebp + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x5f
push eax
call fcn.00481110
mov edx, dword [ebp - 0x30]
add esp, 0x18
cmp edx, 8
jb 0x4a5487
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a547d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5658
push edx
push ecx
call fcn.004e7fa0
add esp, 8
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 0x22c
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4a5636
push ebx
push edi
nop word [eax + eax]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x18], 7
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a54d0
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00473710
mov ebx, dword [ebp + 8]
mov ecx, ebx
cmp dword [ebx + 0x14], 8
jb 0x4a54fc
mov ecx, dword [ebx]
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
cmp edi, 8
mov edx, dword [ebp - 0x1c]
cmovae eax, esi
cmp edx, dword [ebx + 0x10]
jne 0x4a5526
push edx
push ecx
push eax
call fcn.004827a0
add esp, 0xc
test eax, eax
jne 0x4a5526
mov bl, 1
jmp 0x4a5528
xor bl, bl
cmp edi, 8
jb 0x4a555c
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x4a5552
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5658
push ecx
push esi
call fcn.004e7fa0
add esp, 8
test bl, bl
je 0x4a561d
push dword [ebp - 0x268]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4a558b
movzx eax, ax
or eax, 0x80070000
push 0x400
push 0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0053c9f0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4a55a7
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 4]
push str.failed_to_access_client_process_info:__s
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x6a
push eax
call fcn.004a3af0
mov edx, dword [ebp - 0x30]
add esp, 0x18
cmp edx, 8
jb 0x4a55f7
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a55ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5658
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a561d
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x4a5611
mov dword [eax], ecx
add dword [edx + 4], 4
jmp 0x4a561d
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, edx
call fcn.004a3bf0
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4a54b0
pop edi
pop ebx
mov eax, dword [ebp - 0x10]
pop esi
test eax, eax
je 0x4a564a
cmp eax, 0xffffffff
je 0x4a564a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.006cc674
int3