Function at 0x41a1b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ad03
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, str._ZProgram::FindProcess_Start
mov dword [ebp - 4], ebx
call fcn.00408b90
push 0x7e
lea ecx, [ebp - 0x92]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x94], ax
call fcn.00509940
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2e8], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00404580
lea eax, [ebp - 0xb0]
push eax
call fcn.00420700
add esp, 0x20
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb0]
mov edi, 8
cmp dword [ebp - 0x9c], edi
jae 0x41a253
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x22c
lea edx, [ebp - 0x2e4]
push ebx
push edx
call fcn.00509940
add esp, 0xc
push ebx
push 2
mov dword [ebp - 0x2e4], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41a2d7
cmp dword [ebp - 0x9c], edi
jb 0x41a2a7
mov eax, dword [ebp - 0xb0]
push eax
call fcn.004ad85d
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], cx
jb 0x41a43e
mov edx, dword [ebp + 8]
push edx
jmp 0x41a436
lea eax, [ebp - 0x2e4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41a300
cmp dword [ebp - 0x9c], edi
jmp 0x41a402
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x2c0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x41a373
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x2dc]
cmp ecx, eax
jae 0x41a354
mov ecx, dword [esi]
lea edx, [ebp - 0x2dc]
cmp ecx, edx
ja 0x41a354
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x41a344
mov eax, esi
call fcn.00413500
mov eax, dword [esi + 4]
test eax, eax
je 0x41a36f
mov ecx, dword [esi]
mov edx, dword [ecx + edi*4]
mov dword [eax], edx
jmp 0x41a36f
cmp eax, dword [esi + 8]
jne 0x41a360
mov eax, esi
call fcn.00413500
mov eax, dword [esi + 4]
test eax, eax
je 0x41a36f
mov ecx, dword [ebp - 0x2dc]
mov dword [eax], ecx
add dword [esi + 4], 4
lea edx, [ebp - 0x2e4]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41a300
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
test eax, eax
je 0x41a3f1
mov edi, str._ZProgram::FindProcess_Success_End
call fcn.00408b90
cmp dword [ebp - 0x9c], 8
jb 0x41a3be
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.004ad85d
add esp, 4
xor edx, edx
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], dx
jb 0x41a3ed
mov eax, dword [ebp + 8]
push eax
call fcn.004ad85d
add esp, 4
mov al, 1
jmp 0x41a440
mov edi, str._ZProgram::FindProcess_End_Num__0
call fcn.00408b90
cmp dword [ebp - 0x9c], 8
jb 0x41a413
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.004ad85d
add esp, 4
xor edx, edx
cmp dword [ebp + 0x1c], 0x10
mov word [ebp - 0xb0], dx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], 7
jb 0x41a43e
mov eax, dword [ebp + 8]
push eax
call fcn.004ad85d
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00503edf
mov esp, ebp
pop ebp
ret