Function at 0x41afb0
Capabilities:
Enumerate processes
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x461e8f
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x480aa4]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480aa4]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
xor ebx, ebx
push 0x228
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x268], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
call fcn.00447500
add esp, 0xc
lea ecx, [esp + 0x264]
call fcn.004160a0
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x41b0e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004321fd
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41b052
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
lea ecx, [esp + 0x18]
push str.IsProcessRunning_returning_FALSE:__ld
push ecx
mov byte [esp + 0x268], 1
call fcn.00402050
mov esi, dword [esp + 0x20]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov byte [esp + 0x25c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b0ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x264]
add eax, 0xfffffff0
mov dword [esp + 0x25c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b0d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41b40d
lea ecx, [esp + 0x24]
push ecx
push eax
mov dword [esp + 0x2c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41b2d2
call fcn.004321fd
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41b115
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [esp + 0x25c], 2
push str.Value_of_pe32.szExeFile
call ebp
lea ecx, [esp + 0x48]
push ecx
call ebp
lea eax, [esp + 0x48]
lea edx, [eax + 2]
jmp 0x41b150
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41b150
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x20]
call fcn.00401ce0
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], ebx
jle 0x41b200
push 0x5c
push esi
call fcn.004476a0
add esp, 8
cmp eax, ebx
je 0x41b200
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x41b200
push 0x5c
push esi
call fcn.00447720
add esp, 8
cmp eax, ebx
jne 0x41b1a7
or eax, 0xffffffff
jmp 0x41b1ab
sub eax, esi
sar eax, 1
mov esi, dword [esi - 0xc]
sub esi, eax
sub esi, 1
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call fcn.00416100
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x260], 3
call fcn.004059e0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x25c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b1fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41b222
push edi
lea ecx, [esp + 0x1c]
call fcn.004015a0
mov esi, dword [esp + 0x18]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.00448572
add esp, 8
cmp edi, ebx
jl 0x41b2c8
cmp edi, dword [esi - 8]
jg 0x41b2c8
mov dword [esi - 0xc], edi
mov word [esi + edi*2], bx
mov edi, dword [esp + 0x264]
cmp dword [edi - 0xc], ebx
jl 0x41b26a
push esi
push edi
call fcn.004476c2
add esp, 8
cmp eax, ebx
je 0x41b26a
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x41b283
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41b133
jmp 0x41b29c
push str.strProcess_found
call ebp
push esi
call ebp
push str.IsProcessRunning_returning_TRUE
mov dword [esp + 0x18], 1
call ebp
lea eax, [esi - 0x10]
mov byte [esp + 0x25c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b35a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41b35a
push 0x80070057
call fcn.00401090
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004321fd
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41b2f4
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
lea ecx, [esp + 0x18]
push str.returning_FALSE__ProcessFirst_failed:__ld
push ecx
mov byte [esp + 0x268], 4
call fcn.00402050
mov esi, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
push esi
call ebp
lea eax, [esi - 0x10]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x25c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b353
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x264]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], ebx
jne 0x41b3e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004321fd
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41b38d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push esi
lea ecx, [esp + 0x20]
push 0x46a470
push ecx
mov byte [esp + 0x268], 5
call fcn.00402050
mov esi, dword [esp + 0x28]
add esp, 0xc
push esi
call ebp
lea eax, [esi - 0x10]
mov byte [esp + 0x25c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b3e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x25c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.0044746c
add esp, 0x24c
ret 4