Function at 0x4197d0
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467f6e
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x4846a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [ebp + 0x10], bl
je 0x419823
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x419823
mov byte [ebp + 0x10], bl
cmp byte [ebp + 0x14], bl
je 0x419b07
mov dword [ebp - 0x474], ebx
mov dword [ebp - 0x470], ebx
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x460], 0xa
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 1
call fcn.004196b0
test eax, eax
je 0x419877
lea ecx, [ebp - 0x474]
call fcn.0042c080
jmp 0x419c0d
mov eax, dword [ebp - 0x46c]
xor ecx, ecx
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], ecx
cmp eax, ebx
jle 0x419867
jmp 0x41989d
mov eax, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x454]
cmp ecx, eax
jb 0x4198a5
xor eax, eax
jmp 0x4198bc
mov eax, dword [ebp - 0x474]
cmp eax, ebx
jne 0x4198b3
xor eax, eax
jmp 0x4198bc
cmp ecx, ebx
jbe 0x4198bc
dec ecx
mov eax, dword [eax]
jne 0x4198b7
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x419a73
mov edi, dword [eax + 8]
push edi
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x419a4a
mov edx, dword [0x484034]
mov eax, dword [edx + 0xc]
mov ecx, 0x484034
call eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x44c], ecx
mov byte [ebp - 4], 2
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x104
or eax, edx
jge 0x41992c
mov eax, 0x104
lea ecx, [ebp - 0x44c]
call fcn.00401440
mov ecx, dword [ebp - 0x44c]
push 0x104
push ecx
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0045013c
add esp, 8
cmp eax, ebx
jl 0x419afd
mov ecx, dword [ebp - 0x44c]
cmp eax, dword [ecx - 8]
jg 0x419afd
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x44c]
xor ecx, ecx
push esi
mov word [edx + eax*2], cx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x450]
push ecx
mov ecx, eax
call fcn.00401110
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x450]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x419a02
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jbe 0x4199b4
cmp edi, eax
jne 0x419a02
cmp byte [ebp + 0x10], 0
je 0x419a7d
lea ecx, [ebp - 0x478]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x419a7d
mov edx, dword [ebp - 0x45c]
cmp edx, dword [ebp - 0x478]
je 0x419a7d
lea eax, [ebp - 0x450]
call fcn.004245a0
lea eax, [ebp - 0x44c]
mov byte [ebp - 4], 1
call fcn.004245a0
jmp 0x419a4a
mov eax, dword [ebp - 0x450]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419a24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419a4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x454]
inc eax
mov dword [ebp - 0x454], eax
cmp eax, dword [ebp - 0x458]
jl 0x419891
lea ecx, [ebp - 0x474]
call fcn.0042c080
jmp 0x419c0d
push 0x80004005
call fcn.00401680
mov eax, dword [ebp - 0x450]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419a9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419ac5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x474]
call fcn.0042c080
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419af6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x419c35
push 0x80070057
call fcn.00401680
push 0x228
lea ecx, [ebp - 0x444]
push ebx
push ecx
mov dword [ebp - 0x448], ebx
call fcn.00453220
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea edx, [ebp - 0x448]
mov edi, eax
push edx
push edi
mov dword [ebp - 0x448], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x419c02
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea esi, [ebp - 0x424]
lea eax, [ebp - 0x218]
sub esi, eax
mov edx, 0x104
lea eax, [ebp - 0x218]
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x419b8e
movzx ecx, word [esi + eax]
test cx, cx
je 0x419b8e
mov word [eax], cx
add eax, 2
dec edx
jne 0x419b70
jmp 0x419b92
test edx, edx
jne 0x419b95
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
call ebx
test eax, eax
jne 0x419bea
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x440]
test ecx, ecx
je 0x419bbc
cmp eax, ecx
jne 0x419bea
cmp byte [ebp + 0x10], 0
je 0x419c53
lea edx, [ebp - 0x458]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x419c53
mov eax, dword [ebp - 0x45c]
cmp eax, dword [ebp - 0x458]
je 0x419c53
lea ecx, [ebp - 0x448]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x419b61
xor ebx, ebx
cmp edi, ebx
je 0x419c0d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419c33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ebd7
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x419aea