Function at 0x423221
Capabilities:
Enumerate processes

Disassembly:
push 0x294
mov eax, 0x4495dd
call fcn.0042f42b
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x268], esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push 2
mov edi, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x26c], ebx
cmp ebx, 0xffffffff
jne 0x42327d
mov dword [ebp - 0x290], 0x405388
push 0x44cd88
lea eax, [ebp - 0x290]
push eax
call fcn.0042ee98
mov esi, 0x22c
push esi
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.0042f6d0
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
push ebx
mov dword [ebp - 0x25c], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4232c2
mov dword [ebp - 0x29c], 0x405338
push 0x44cd88
lea eax, [ebp - 0x29c]
jmp 0x423277
cmp dword [ebp - 0x254], edi
je 0x4232f2
lea eax, [ebp - 0x25c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4232c2
mov dword [ebp - 0x298], 0x4052f8
push 0x44cd88
lea eax, [ebp - 0x298]
jmp 0x423277
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x260], esi
test esi, esi
je 0x4235b9
lea eax, [ebp - 0x25c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x423331
mov dword [ebp - 0x27c], 0x405298
push 0x44cd88
lea eax, [ebp - 0x27c]
jmp 0x423277
cmp dword [ebp - 0x254], esi
je 0x423364
lea eax, [ebp - 0x25c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x423331
mov dword [ebp - 0x274], 0x40525c
push 0x44cd88
lea eax, [ebp - 0x274]
jmp 0x423277
and dword [ebp - 0x20], 0
xor eax, eax
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
call fcn.0040b36d
mov esi, dword [ebp - 0x30]
push 8
pop ebx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
jae 0x42339b
lea esi, [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jb 0x4233a0
mov eax, dword [ebp - 0x30]
jmp 0x4233a3
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + ecx*2]
cmp esi, eax
je 0x4233bf
movzx eax, word [esi]
push eax
call fcn.00431840
mov word [esi], ax
pop ecx
add esi, 2
jmp 0x423396
mov esi, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x4233cf
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jb 0x4233d4
mov eax, dword [ebp + 8]
jmp 0x4233d7
lea eax, [ebp + 8]
mov edi, dword [ebp + 0x18]
lea eax, [eax + edi*2]
cmp esi, eax
je 0x4233f3
movzx eax, word [esi]
push eax
call fcn.00431840
mov word [esi], ax
pop ecx
add esi, 2
jmp 0x4233ca
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x4233fe
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
lea ecx, [ebp + 8]
push 0xffffffffffffffff
push eax
call fcn.00421677
sub edi, dword [ebp - 0x20]
cmp eax, edi
jne 0x4235a7
push dword [ebp - 0x260]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x264], edi
test edi, edi
jne 0x423450
mov dword [ebp - 0x284], 0x405220
push 0x44cd88
lea eax, [ebp - 0x284]
jmp 0x423277
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
and dword [ebp - 0x270], 0
lea eax, [ebp - 0x260]
push eax
push edi
call esi
test eax, eax
jne 0x423485
mov dword [ebp - 0x294], 0x4051b0
push 0x44cd88
lea eax, [ebp - 0x294]
jmp 0x423277
mov ebx, 0x103
cmp dword [ebp - 0x260], ebx
jne 0x4234d3
cmp dword [ebp - 0x270], 0x19
jae 0x4234d3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x260]
push eax
push edi
call esi
test eax, eax
jne 0x4234cb
mov dword [ebp - 0x28c], 0x405158
push 0x44cd88
lea eax, [ebp - 0x28c]
jmp 0x423277
inc dword [ebp - 0x270]
jmp 0x42348a
xor esi, esi
cmp edi, esi
je 0x4234e6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x264], esi
cmp dword [ebp - 0x260], ebx
jne 0x423508
mov dword [ebp - 0x278], 0x4050f8
push 0x44cd88
lea eax, [ebp - 0x278]
jmp 0x423277
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x423514
lea eax, [ebp + 8]
push esi
push esi
push 3
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push eax
call esi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
jne 0x4235a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x423566
cmp edi, 0x19
jae 0x423566
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x423558
lea eax, [ebp + 8]
push ebx
push ebx
push 3
push ebx
push ebx
push 2
push eax
call esi
inc edi
jmp 0x423529
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x44cd88
cmp eax, 0x20
jne 0x42358b
mov dword [ebp - 0x280], 0x405050
lea eax, [ebp - 0x280]
jmp 0x423277
mov dword [ebp - 0x288], 0x404fd8
lea eax, [ebp - 0x288]
jmp 0x423277
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040aa24
mov ebx, dword [ebp - 0x26c]
test ebx, ebx
je 0x4235c4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040aa24
call fcn.0042f496
ret