Function at 0x42a4df
Capabilities:
Enumerate processes

Disassembly:
push 0x290
mov eax, 0x45a816
call fcn.00438d0a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push 2
mov esi, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x26c], edi
cmp edi, 0xffffffff
je 0x42a8cf
push 0x228
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.0043a2b0
add esp, 0xc
mov dword [ebp - 0x25c], 0x22c
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42a56e
mov dword [ebp - 0x274], 0x405150
lea eax, [ebp - 0x274]
push 0x45e388
jmp 0x42a8e4
cmp dword [ebp - 0x254], esi
je 0x42a5a1
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42a56e
mov dword [ebp - 0x278], 0x40519c
lea eax, [ebp - 0x278]
push 0x45e388
jmp 0x42a8e4
mov ebx, dword [ebp - 0x244]
mov dword [ebp - 0x260], ebx
test ebx, ebx
je 0x42a8b4
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42a5e0
mov dword [ebp - 0x27c], 0x4051e0
lea eax, [ebp - 0x27c]
push 0x45e388
jmp 0x42a8e4
cmp dword [ebp - 0x254], ebx
je 0x42a613
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42a5e0
mov dword [ebp - 0x280], 0x405240
lea eax, [ebp - 0x280]
push 0x45e388
jmp 0x42a8e4
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x30]
call fcn.00413941
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x42a634
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
cmp eax, 8
jb 0x42a63f
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
lea eax, [ecx + eax*2]
cmp esi, eax
je 0x42a65e
movzx eax, word [esi]
push eax
call fcn.00442180
mov word [esi], ax
add esi, 2
mov eax, dword [ebp - 0x1c]
pop ecx
jmp 0x42a634
mov eax, dword [ebp + 0x1c]
lea esi, [ebp + 8]
cmp eax, 8
jb 0x42a66c
mov esi, dword [ebp + 8]
lea ecx, [ebp + 8]
cmp eax, 8
jb 0x42a677
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
lea eax, [ecx + ebx*2]
cmp esi, eax
je 0x42a696
movzx eax, word [esi]
push eax
call fcn.00442180
mov word [esi], ax
add esi, 2
mov eax, dword [ebp + 0x1c]
pop ecx
jmp 0x42a66c
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.0042ebe9
sub ebx, dword [ebp - 0x20]
cmp eax, ebx
jne 0x42a84c
push dword [ebp - 0x260]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x264], esi
test esi, esi
jne 0x42a6e8
mov dword [ebp - 0x284], 0x40527c
lea eax, [ebp - 0x284]
push 0x45e388
jmp 0x42a8e4
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42a713
mov dword [ebp - 0x288], 0x4052b8
lea eax, [ebp - 0x288]
push 0x45e388
jmp 0x42a8e4
cmp dword [ebp - 0x18], 0x103
jne 0x42a755
cmp ebx, 0x19
jae 0x42a755
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42a752
mov dword [ebp - 0x28c], 0x405328
lea eax, [ebp - 0x28c]
push 0x45e388
jmp 0x42a8e4
inc ebx
jmp 0x42a713
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
xor ecx, ecx
cmp dword [ebp - 0x18], 0x103
mov dword [ebp - 0x264], ecx
jne 0x42a789
mov dword [ebp - 0x290], 0x405380
lea eax, [ebp - 0x290]
push 0x45e388
jmp 0x42a8e4
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
jb 0x42a795
mov eax, dword [ebp + 8]
push ecx
push ecx
push 3
push ecx
push ecx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
and dword [ebp - 0x260], 0
mov ebx, eax
mov dword [ebp - 0x268], ebx
cmp ebx, 0xffffffff
jne 0x42a847
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x42a80d
cmp dword [ebp - 0x260], 0x19
jae 0x42a808
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
jb 0x42a7e4
mov eax, dword [ebp + 8]
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push ecx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
inc dword [ebp - 0x260]
mov ebx, eax
mov dword [ebp - 0x268], ebx
cmp ebx, 0xffffffff
je 0x42a7bc
cmp ebx, 0xffffffff
jne 0x42a847
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45e388
cmp eax, 0x20
jne 0x42a832
mov dword [ebp - 0x294], 0x4053e0
lea eax, [ebp - 0x294]
jmp 0x42a8e4
mov dword [ebp - 0x298], 0x405488
lea eax, [ebp - 0x298]
jmp 0x42a8e4
push ebx
call esi
jmp 0x42a852
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.00414f1b
jmp 0x42a8ba
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x42a8c1
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00414f1b
call fcn.00438c5c
ret
mov dword [ebp - 0x270], 0x405108
lea eax, [ebp - 0x270]
push 0x45e388
push eax
call fcn.00439908
int3