Function at 0x41bad0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461a8e
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x47f534]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x14]
call fcn.004031a0
mov dword [esp + 0x268], 0
lea edi, [esp + 0x10]
call fcn.0040f550
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.00403720
mov byte [esp + 0x268], 1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, 8
mov ebx, 2
jle 0x41bbb6
push 6
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.004067a0
mov byte [esp + 0x268], bl
push 0x46d304
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004024c0
add esp, 0xc
mov byte [esp + 0x268], 3
push eax
lea ecx, [esp + 0x18]
call fcn.004037b0
mov byte [esp + 0x268], bl
lea ecx, [esp + 0x20]
call fcn.00403830
mov byte [esp + 0x268], 1
lea ecx, [esp + 0x18]
call fcn.00403830
mov ecx, dword [esp + 0x14]
push 0
push ebx
mov dword [esp + 0x20], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41bbf3
mov byte [esp + 0x268], 0
lea ecx, [esp + 0x14]
call fcn.00403830
mov dword [esp + 0x268], ebx
lea ecx, [esp + 0x10]
call fcn.00403830
jmp 0x41bd30
lea edx, [esp + 0x24]
push edx
push ebx
mov dword [esp + 0x2c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41bcd6
push 0x104
lea eax, [esp + 0x150]
push 0
push eax
call fcn.0044c470
push 0x103
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x160]
push edx
call fcn.0044b5f0
lea eax, [esp + 0x164]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41bc46
sub eax, edx
mov edi, eax
xor esi, esi
test edi, edi
jle 0x41bc7f
lea esp, [esp]
movsx eax, byte [esp + esi + 0x14c]
push eax
call fcn.0044b59a
mov byte [esp + esi + 0x150], al
add esi, 1
add esp, 4
cmp esi, edi
jl 0x41bc60
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x150]
push edx
call fcn.00449350
add esp, 8
test eax, eax
jne 0x41bd56
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x41bcc3
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x150]
push edx
call fcn.00449350
add esp, 8
test eax, eax
jne 0x41bdb0
lea eax, [esp + 0x24]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41bc0e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x268], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bd05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bd30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00448f05
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x268], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bd7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bda9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41bd32
mov byte [esp + 0x268], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bdd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bda9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41bd32