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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496b96
mov eax, dword fs:[0]
push eax
sub esp, 0x478
push esi
push edi
push ecx
lea edi, [ebp - 0x484]
mov ecx, 0x11e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4b62b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x18], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x42a61f
xor eax, eax
jmp 0x42a7f7
mov dword [ebp - 0x24c], 0x22c
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
jne 0x42a662
mov esi, esp
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00492e6b
xor eax, eax
jmp 0x42a7f7
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x244]
jne 0x42a7c7
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x258], ecx
mov esi, esp
mov edx, dword [ebp - 0x258]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
je 0x42a7c7
lea ecx, [ebp - 0x264]
call fcn.0040f5f0
mov dword [ebp - 4], 0
call fcn.0045b5c0
test eax, eax
je 0x42a75a
mov word [ebp - 0x474], 0
push 0x206
push 0
lea eax, [ebp - 0x472]
push eax
call fcn.00472c50
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x474]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x42a758
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x480]
push ecx
call fcn.0042a2c0
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x480]
push edx
push 0x4a48f4
mov esi, 0x4ba4f8
call fcn.00458e60
add esp, 8
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp + 8]
call fcn.004023d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x480]
call fcn.004023a0
jmp 0x42a7b3
push 0x104
push 0x105
lea ecx, [ebp - 0x264]
call fcn.004026a0
push eax
push 0
mov ecx, dword [ebp - 0x25c]
push ecx
call sub.PSAPI.DLL_GetModuleFileNameExW
push 0xffffffffffffffff
lea ecx, [ebp - 0x264]
call fcn.0040f7b0
mov edx, dword [ebp - 0x264]
push edx
push str.get_parent_process:__s
mov esi, 0x4ba4f8
call fcn.00458e60
add esp, 8
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp + 8]
call fcn.004023d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.004023a0
jmp 0x42a7df
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42a662
mov esi, esp
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00492e6b
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x42a834]
call fcn.00492e8e
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472710
add esp, 0x484
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret 4