Function at 0x41d990
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7580
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x632a40]
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
mov edx, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x28c], ebx
test edx, edx
je 0x41dc38
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x41d9e9
xor ecx, ecx
jmp 0x41d9ff
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d9f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00404db0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00420ff0
push 0x22c
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.0057ff70
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
je 0x41dc1f
call fcn.0043b740
test al, al
je 0x41da6b
push ebp
pop esi
pop edi
pop eax
push esp
pop edx
push ecx
pop ecx
pop ebx
push ecx
push eax
push esi
push esp
push ebp
push ebp
push edx
push edi
push edi
pop ecx
push esi
push esi
mov ebx, dword [ebp - 0x28c]
call fcn.0043b890
test al, al
je 0x41da84
pop eax
pop edi
pop ecx
push esp
push esp
push edi
push edi
pop esp
pop eax
pop esi
pop esi
pop ebp
pop esi
pop edi
push edi
pop esi
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x288]
push eax
push esi
mov dword [ebp - 0x288], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41dbb6
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x264], ax
jne 0x41dad1
xor ecx, ecx
jmp 0x41daef
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41dae0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404db0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00420ff0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405b30
test eax, eax
je 0x41db40
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00421290
or ebx, 1
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x28c], ebx
call fcn.00405b30
test eax, eax
je 0x41db40
xor bl, bl
jmp 0x41db42
mov bl, 1
mov eax, dword [ebp - 0x28c]
test al, 1
je 0x41db6a
and eax, 0xfffffffe
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41db6a
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00405130
test bl, bl
jne 0x41db9f
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41db86
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405130
lea eax, [ebp - 0x288]
push eax
push esi
call edi
test eax, eax
je 0x41dbb6
mov ebx, dword [ebp - 0x28c]
jmp 0x41dab0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x280]
lea ecx, [ebp - 0x28]
call fcn.00403d40
jmp 0x41dc21
call fcn.0043b5f0
test al, al
je 0x41dbd6
push esi
push edx
push edx
push ecx
pop eax
push ebp
push esp
pop edx
pop edi
push eax
push edx
pop ecx
pop ecx
push edi
push ebx
pop edx
pop esi
push esi
push edi
pop edx
pop eax
push eax
push eax
call fcn.0043b660
test al, al
je 0x41dbf6
pop esi
push ebp
pop ebx
push ecx
pop esp
pop ebx
push esi
push ecx
pop ebp
pop esi
pop edi
pop ebp
push esp
pop esi
pop edx
push ebp
push esp
push ecx
pop edx
pop esi
pop esp
pop eax
pop ebx
call fcn.0043bba0
test al, al
je 0x41dc12
pop esi
push eax
pop edx
pop esp
push edi
push ebp
push eax
push esp
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebx
pop eax
pop eax
pop edi
pop ebx
push esi
mov eax, dword [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x41dc36
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00405130
mov eax, esi
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.00579ec9
mov esp, ebp
pop ebp
ret