Function at 0x4011a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d311
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10464
call fcn.00451fd0
mov eax, dword [0x49cf34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
xor esi, esi
push 2
mov dword [ebp - 0x10474], eax
mov dword [ebp - 0x1044c], ebx
mov dword [ebp - 0x10454], esi
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x10450], edi
cmp edi, ebx
je 0x4014d0
cmp edi, 0xffffffff
je 0x4014b4
push 0x228
lea ecx, [ebp - 0x10444]
push ebx
push ecx
mov dword [ebp - 0x1044c], 1
call fcn.0044fd70
add esp, 0xc
lea edx, [ebp - 0x10448]
push edx
push edi
mov dword [ebp - 0x10448], 0x22c
call sub.KERNEL32.dll_Process32FirstW
lea esp, [esp]
cmp eax, ebx
je 0x4014b4
lea eax, [ebp - 0x10424]
push eax
call fcn.004513eb
add esp, 4
cmp eax, ebx
je 0x40147e
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x401274
sub ecx, edi
sar ecx, 1
add ecx, ecx
push ecx
push eax
push ebx
call fcn.00405b20
mov ecx, 0x6fcb9ae
add esp, 0xc
cmp eax, ecx
jne 0x401478
mov edx, dword [0x49ceb4]
mov eax, dword [edx + 0xc]
mov ecx, 0x49ceb4
call eax
add eax, 0x10
mov dword [ebp - 0x1046c], eax
mov byte [ebp - 4], 1
mov edx, dword [0x49ceb4]
mov eax, dword [edx + 0xc]
mov ecx, 0x49ceb4
call eax
add eax, 0x10
mov dword [ebp - 0x10468], eax
push ebx
mov byte [ebp - 4], 2
push 0x461098
lea ecx, [ebp - 0x10468]
mov dword [ebp - 0x10470], ebx
call fcn.00402ea0
mov dword [ebp - 0x10464], ebx
mov dword [ebp - 0x10460], ebx
mov dword [ebp - 0x1045c], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10440]
lea ecx, [ebp - 0x10458]
push ecx
push eax
mov dword [ebp - 0x10470], eax
mov dword [ebp - 0x10458], ebx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x401334
mov edx, dword [ebp - 0x10458]
mov dword [ebp - 0x10464], edx
mov eax, dword [ebp - 0x10440]
push eax
call fcn.00401520
mov ecx, dword [ebp - 0x10440]
push ecx
push ebx
push 0x410
mov dword [ebp - 0x10460], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x10454], esi
cmp esi, ebx
je 0x40141e
cmp esi, 0xffffffff
je 0x40141e
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x21c], dx
call fcn.0044fd70
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push ebx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x4013ba
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x1046c]
call fcn.00402850
push 0xfffe
lea ecx, [ebp - 0x1021a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x1021c], ax
call fcn.0044fd70
add esp, 0xc
lea edx, [ebp - 0x1021c]
push edx
mov ecx, esi
call fcn.00401690
cmp eax, ebx
jbe 0x4013fc
lea eax, [ebp - 0x1021c]
push eax
lea ecx, [ebp - 0x10468]
call fcn.00402850
mov ecx, dword [ebp - 0x10460]
mov edx, esi
call fcn.004017a0
push esi
mov dword [ebp - 0x1045c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x10454], esi
mov edx, dword [ebp - 0x10474]
lea ecx, [ebp - 0x10470]
push ecx
push edx
call fcn.00402a80
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10468]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401456
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1046c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401478
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x10450]
lea ecx, [ebp - 0x10448]
push ecx
push edi
mov dword [ebp - 0x10448], 0x22c
call sub.KERNEL32.dll_Process32NextW
jmp 0x401250
cmp edi, ebx
je 0x4014d0
cmp edi, 0xffffffff
je 0x4014d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10450], ebx
mov edi, dword [ebp - 0x10450]
cmp esi, ebx
je 0x4014e0
cmp esi, 0xffffffff
je 0x4014e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x4014f0
cmp edi, 0xffffffff
je 0x4014f0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1044c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044fd61
mov esp, ebp
pop ebp
ret 4