Function at 0x42bbad
Capabilities:
Enumerate processes

Disassembly:
push 0x28c
mov eax, 0x45cad4
call fcn.0043aa77
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x264], 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 - 0x268], edi
cmp edi, 0xffffffff
je 0x42bf8b
push 0x228
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.0043c020
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 0x42bc3c
mov dword [ebp - 0x270], 0x4057b0
lea eax, [ebp - 0x270]
push 0x460640
jmp 0x42bfa0
cmp dword [ebp - 0x254], esi
je 0x42bc6f
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42bc3c
mov dword [ebp - 0x274], 0x4057fc
lea eax, [ebp - 0x274]
push 0x460640
jmp 0x42bfa0
mov ebx, dword [ebp - 0x244]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x42bf14
lea eax, [ebp - 0x25c]
push eax
push edi
lfence
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42bcae
mov dword [ebp - 0x278], 0x405840
lea eax, [ebp - 0x278]
push 0x460640
jmp 0x42bfa0
cmp dword [ebp - 0x254], ebx
je 0x42bce1
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42bcae
mov dword [ebp - 0x27c], 0x4058a0
lea eax, [ebp - 0x27c]
push 0x460640
jmp 0x42bfa0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041407d
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x42bd02
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
cmp eax, 8
jb 0x42bd0d
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
lea eax, [ecx + eax*2]
cmp esi, eax
je 0x42bd2c
movzx eax, word [esi]
push eax
call fcn.00443f40
mov word [esi], ax
add esi, 2
mov eax, dword [ebp - 0x1c]
pop ecx
jmp 0x42bd02
mov eax, dword [ebp + 0x1c]
lea esi, [ebp + 8]
cmp eax, 8
jb 0x42bd3a
mov esi, dword [ebp + 8]
lea ecx, [ebp + 8]
cmp eax, 8
jb 0x42bd45
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
lea eax, [ecx + ebx*2]
cmp esi, eax
je 0x42bd64
movzx eax, word [esi]
push eax
call fcn.00443f40
mov word [esi], ax
add esi, 2
mov eax, dword [ebp + 0x1c]
pop ecx
jmp 0x42bd3a
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x30]
push 0xffffffffffffffff
push eax
lea ecx, [ebp + 8]
call fcn.004304e8
sub ebx, esi
cmp eax, ebx
jne 0x42bf0c
push dword [ebp - 0x18]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x260], esi
test esi, esi
jne 0x42bdb5
mov dword [ebp - 0x280], 0x4058dc
lea eax, [ebp - 0x280]
push 0x460640
jmp 0x42bfa0
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42bde0
mov dword [ebp - 0x284], 0x405918
lea eax, [ebp - 0x284]
push 0x460640
jmp 0x42bfa0
cmp dword [ebp - 0x18], 0x103
jne 0x42be22
cmp ebx, 0x19
jae 0x42be22
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 0x42be1f
mov dword [ebp - 0x288], 0x405988
lea eax, [ebp - 0x288]
push 0x460640
jmp 0x42bfa0
inc ebx
jmp 0x42bde0
push esi
lfence
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp dword [ebp - 0x18], 0x103
mov dword [ebp - 0x260], ebx
jne 0x42be57
mov dword [ebp - 0x28c], 0x4059e0
lea eax, [ebp - 0x28c]
push 0x460640
jmp 0x42bfa0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
jb 0x42be63
mov eax, dword [ebp + 8]
push ebx
push ebx
push 3
push ebx
push ebx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x264], esi
cmp esi, 0xffffffff
jne 0x42bf05
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x42becb
cmp ebx, 0x19
jae 0x42bec6
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
jb 0x42bea7
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]
mov esi, eax
inc ebx
mov dword [ebp - 0x264], esi
cmp esi, 0xffffffff
je 0x42be83
cmp esi, 0xffffffff
jne 0x42bf05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x460640
cmp eax, 0x20
jne 0x42bef0
mov dword [ebp - 0x290], 0x405a40
lea eax, [ebp - 0x290]
jmp 0x42bfa0
mov dword [ebp - 0x294], 0x405ae8
lea eax, [ebp - 0x294]
jmp 0x42bfa0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.00415705
test edi, edi
je 0x42bf1f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00415705
call fcn.0043a9c9
ret
mov dword [ebp - 0x26c], 0x405768
lea eax, [ebp - 0x26c]
push 0x460640
push eax
call fcn.0043b678
int3