Function at 0x41cf51
Capabilities:
Enumerate processes

Disassembly:
push 0x29c
mov eax, 0x443450
call fcn.00429961
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x264], edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push 2
mov ebx, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x260], eax
cmp eax, 0xffffffff
jne 0x41cfab
mov dword [ebp - 0x298], 0x4036f0
push 0x446da8
lea eax, [ebp - 0x298]
push eax
call fcn.004293cc
mov esi, 0x22c
push esi
lea eax, [ebp - 0x25c]
push edi
push eax
call fcn.004299e0
add esp, 0xc
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], esi
mov esi, dword [ebp - 0x260]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41cff5
mov dword [ebp - 0x2a4], 0x4036c8
push 0x446da8
lea eax, [ebp - 0x2a4]
jmp 0x41cfa5
cmp dword [ebp - 0x254], ebx
je 0x41d025
lea eax, [ebp - 0x25c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41cff5
mov dword [ebp - 0x2a0], 0x4036a8
push 0x446da8
lea eax, [ebp - 0x2a0]
jmp 0x41cfa5
mov ebx, dword [ebp - 0x244]
cmp ebx, edi
jbe 0x41d2d1
lea eax, [ebp - 0x25c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41d05e
mov dword [ebp - 0x284], 0x403678
push 0x446da8
lea eax, [ebp - 0x284]
jmp 0x41cfa5
cmp dword [ebp - 0x254], ebx
je 0x41d091
lea eax, [ebp - 0x25c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41d05e
mov dword [ebp - 0x27c], 0x403658
push 0x446da8
lea eax, [ebp - 0x27c]
jmp 0x41cfa5
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408c2d
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0041b70d
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [ebp - 0x270], ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041b735
cmp esi, dword [eax + 4]
je 0x41d0e3
movzx eax, word [esi]
push eax
call fcn.0042b4c0
mov word [esi], ax
inc esi
pop ecx
inc esi
jmp 0x41d0be
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp + 8]
call fcn.0041b70d
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [ebp - 0x270], ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp + 8]
call fcn.0041b735
cmp esi, dword [eax + 4]
je 0x41d122
movzx eax, word [esi]
push eax
call fcn.0042b4c0
mov word [esi], ax
inc esi
pop ecx
inc esi
jmp 0x41d0fd
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.0041b621
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp - 0x1c]
cmp eax, ecx
jne 0x41d2c6
push ebx
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x268], ebx
cmp ebx, edi
jne 0x41d171
mov dword [ebp - 0x28c], 0x403638
push 0x446da8
lea eax, [ebp - 0x28c]
jmp 0x41cfa5
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x26c]
push eax
push ebx
mov dword [ebp - 0x274], edi
call esi
test eax, eax
jne 0x41d1a5
mov dword [ebp - 0x29c], 0x403600
push 0x446da8
lea eax, [ebp - 0x29c]
jmp 0x41cfa5
cmp dword [ebp - 0x26c], 0x103
jne 0x41d1f2
cmp dword [ebp - 0x274], 0x19
jae 0x41d1f2
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x26c]
push eax
push ebx
call esi
test eax, eax
jne 0x41d1ea
mov dword [ebp - 0x294], 0x4035d4
push 0x446da8
lea eax, [ebp - 0x294]
jmp 0x41cfa5
inc dword [ebp - 0x274]
jmp 0x41d1a5
cmp ebx, edi
je 0x41d203
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x268], edi
cmp dword [ebp - 0x26c], 0x103
jne 0x41d229
mov dword [ebp - 0x280], 0x4035a4
push 0x446da8
lea eax, [ebp - 0x280]
jmp 0x41cfa5
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x41d235
lea eax, [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push edi
push 3
push edi
push edi
push 2
push eax
call esi
xor ebx, ebx
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
jne 0x41d2bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x41d285
cmp ebx, 0x19
jae 0x41d285
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x41d277
lea eax, [ebp + 0xc]
push edi
push edi
push 3
push edi
push edi
push 2
push eax
call esi
inc ebx
jmp 0x41d248
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x446da8
cmp eax, 0x20
jne 0x41d2aa
mov dword [ebp - 0x288], 0x403550
lea eax, [ebp - 0x288]
jmp 0x41cfa5
mov dword [ebp - 0x290], 0x403514
lea eax, [ebp - 0x290]
jmp 0x41cfa5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.00407d16
cmp dword [ebp - 0x260], edi
je 0x41d2e5
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00407d16
call fcn.004299cc
ret