Function at 0x411a80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43feb3
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x44fb90]
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
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
jne 0x411ae5
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ade
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x411cbc
push 0x228
lea ecx, [ebp - 0x264]
push ebx
push ecx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x268], 0x22c
call fcn.0042b480
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x270], esi
push ebx
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x411b6b
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
jmp 0x411ac2
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
jl 0x411b8f
push 0x447808
push eax
call fcn.00429b47
add esp, 8
cmp eax, ebx
je 0x411b8f
sub eax, dword [ebp + 8]
sar eax, 1
cmp eax, 0xffffffff
jne 0x411b9e
push 4
push 0x447cc8
lea ebx, [ebp + 8]
call fcn.00409d50
lea ecx, [ebp - 0x268]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x411c6d
lea ebx, [ebx]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x244]
push eax
call fcn.0042a3c5
add esp, 8
test eax, eax
jne 0x411c51
cmp dword [ebp + 0xc], eax
je 0x411cd8
mov ecx, dword [ebp - 0x260]
push ecx
push eax
push 0x410
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0x28
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x411c2b
push 0x28
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
push esi
call ebx
cmp dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x18]
je 0x411c3f
cmp eax, dword [ebp - 0x274]
jb 0x411c51
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x274], eax
lea edx, [ebp - 0x268]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x411bc0
mov esi, dword [ebp - 0x270]
push edi
call ebx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x411cb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x26c]
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.0042918e
mov esp, ebp
pop ebp
ret
push edi
call ebx
mov esi, dword [ebp - 0x260]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x411d2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x411cbc