Function at 0x427386
Capabilities:
Enumerate processes

Disassembly:
push 0x290
mov eax, 0x454c3a
call fcn.004331ee
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
jne 0x4273e2
mov dword [ebp - 0x270], 0x404e90
lea eax, [ebp - 0x270]
push 0x458ab4
push eax
call fcn.004342c1
mov ebx, 0x22c
lea eax, [ebp - 0x25c]
push ebx
push 0
push eax
call fcn.00434c90
add esp, 0xc
mov dword [ebp - 0x25c], ebx
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x427427
mov dword [ebp - 0x274], 0x404ed8
lea eax, [ebp - 0x274]
push 0x458ab4
jmp 0x4273dc
cmp dword [ebp - 0x254], esi
je 0x427457
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x427427
mov dword [ebp - 0x278], 0x404f24
lea eax, [ebp - 0x278]
push 0x458ab4
jmp 0x4273dc
mov ebx, dword [ebp - 0x244]
mov dword [ebp - 0x260], ebx
test ebx, ebx
je 0x427725
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x427496
mov dword [ebp - 0x27c], 0x404f68
lea eax, [ebp - 0x27c]
push 0x458ab4
jmp 0x4273dc
cmp dword [ebp - 0x254], ebx
je 0x4274c9
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x427496
mov dword [ebp - 0x280], 0x404fc8
lea eax, [ebp - 0x280]
push 0x458ab4
jmp 0x4273dc
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x30]
call fcn.00410573
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 2
cmp eax, 8
jae 0x4274ef
lea esi, [ebp - 0x30]
cmp eax, 8
jb 0x4274f4
mov ecx, dword [ebp - 0x30]
jmp 0x4274f7
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x20]
lea eax, [ecx + eax*2]
cmp esi, eax
je 0x427516
movzx eax, word [esi]
push eax
call fcn.0043cc41
mov word [esi], ax
add esi, 2
mov eax, dword [ebp - 0x1c]
pop ecx
jmp 0x4274ea
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
cmp eax, 8
jae 0x427529
lea esi, [ebp + 8]
cmp eax, 8
jb 0x42752e
mov eax, dword [ebp + 8]
jmp 0x427531
lea eax, [ebp + 8]
mov ebx, dword [ebp + 0x18]
lea eax, [eax + ebx*2]
cmp esi, eax
je 0x427550
movzx eax, word [esi]
push eax
call fcn.0043cc41
mov word [esi], ax
add esi, 2
mov eax, dword [ebp + 0x1c]
pop ecx
jmp 0x427524
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x42755c
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
lea ecx, [ebp + 8]
push 0xffffffffffffffff
push eax
call fcn.0042a667
sub ebx, dword [ebp - 0x20]
cmp eax, ebx
jne 0x427719
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 0x4275ae
mov dword [ebp - 0x284], 0x405004
lea eax, [ebp - 0x284]
push 0x458ab4
jmp 0x4273dc
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4275d9
mov dword [ebp - 0x288], 0x405040
lea eax, [ebp - 0x288]
push 0x458ab4
jmp 0x4273dc
mov eax, dword [ebp - 0x18]
cmp eax, 0x103
jne 0x42761c
cmp ebx, 0x19
jae 0x42761c
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 0x427619
mov dword [ebp - 0x28c], 0x4050b0
lea eax, [ebp - 0x28c]
push 0x458ab4
jmp 0x4273dc
inc ebx
jmp 0x4275d9
test esi, esi
je 0x427634
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 0x264], ebx
jmp 0x427636
xor ebx, ebx
cmp eax, 0x103
jne 0x427657
mov dword [ebp - 0x290], 0x405108
lea eax, [ebp - 0x290]
push 0x458ab4
jmp 0x4273dc
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x427663
lea eax, [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 - 0x260], ebx
mov dword [ebp - 0x268], esi
cmp esi, 0xffffffff
jne 0x427712
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x20
jne 0x4276d7
cmp dword [ebp - 0x260], 0x19
jae 0x4276d7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x4276b3
lea eax, [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 esi, eax
mov dword [ebp - 0x268], esi
cmp esi, 0xffffffff
je 0x42768f
cmp esi, 0xffffffff
jne 0x427712
call ebx
push 0x458ab4
cmp eax, 0x20
jne 0x4276fd
mov dword [ebp - 0x294], 0x405168
lea eax, [ebp - 0x294]
jmp 0x4273dc
mov dword [ebp - 0x298], 0x405210
lea eax, [ebp - 0x298]
jmp 0x4273dc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00411703
test edi, edi
je 0x427730
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00411703
call fcn.0043313b
ret