Function at 0x4107e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ed23
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x44cb90]
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 0x410845
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 0x41083e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x410a1c
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.0042a2d0
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 0x4108cb
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 0x4108bc
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 0x410822
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
jl 0x4108ef
push 0x4457c0
push eax
call fcn.00428997
add esp, 8
cmp eax, ebx
je 0x4108ef
sub eax, dword [ebp + 8]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4108fe
push 4
push 0x445978
lea ebx, [ebp + 8]
call fcn.00409d40
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 0x4109cd
lea ebx, [ebx]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x244]
push eax
call fcn.00429215
add esp, 8
test eax, eax
jne 0x4109b1
cmp dword [ebp + 0xc], eax
je 0x410a38
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 0x41098b
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 0x41099f
cmp eax, dword [ebp - 0x274]
jb 0x4109b1
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 0x410920
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 0x4109f0
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 0x410a16
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.00427fdd
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 0x410a67
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 0x410a8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x410a1c