Function at 0x4021b0
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4198a0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x798
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x124
mov edi, eax
lea eax, [ebp - 0x79c]
push 0
push eax
call fcn.00407760
add esp, 0xc
mov dword [ebp - 0x7a4], 0
mov dword [ebp - 0x7a0], 0x128
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x7a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x402269
cmp dword [ebp - 0x798], edi
je 0x40225d
lea eax, [ebp - 0x7a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x402241
jmp 0x402269
mov eax, dword [ebp - 0x788]
mov dword [ebp - 0x7a4], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push dword [ebp - 0x7a4]
mov dword [ebp - 0x7a8], 0x104
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4022b3
lea eax, [ebp - 0x7a8]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
test eax, eax
je 0x4022b3
push esi
call edi
push 0x104
lea eax, [ebp - 0x330]
push eax
push 0x104
lea eax, [ebp - 0x438]
push eax
push 0x104
lea eax, [ebp - 0x540]
push eax
push 0x104
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0040a3ae
add esp, 0x24
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
push 0
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.00409f3f
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, dword [0x424534]
xorps xmm0, xmm0
movups xmmword [ebp - 0x678], xmm0
mov dword [ebp - 0x668], 0xc
movq xmm0, qword [str.explorer.exe]
mov dword [ebp - 0x664], 0xf
movq qword [ebp - 0x678], xmm0
mov dword [ebp - 0x670], eax
mov byte [ebp - 0x66c], 0
mov eax, dword [str.cmd.exe]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x660], eax
lea edx, [ecx + 1]
mov ax, word [0x424540]
xorps xmm0, xmm0
mov word [ebp - 0x65c], ax
mov al, byte [0x424542]
movlpd qword [ebp - 0x658], xmm0
mov dword [ebp - 0x650], 7
mov dword [ebp - 0x64c], 0xf
mov byte [ebp - 0x65a], al
mov byte [ebp - 0x659], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4023b0
sub ecx, edx
cmp ecx, 0xc
jne 0x402405
lea ecx, [ebp - 0x678]
mov esi, 8
lea edx, [ebp - 0x120]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4023e5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4023d0
xor eax, eax
jmp 0x402456
cmp al, byte [edx]
jne 0x402451
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402451
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x402451
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x402451
xor eax, eax
jmp 0x402456
cmp ecx, 7
jne 0x40245e
lea ecx, [ebp - 0x660]
mov esi, 3
mov eax, dword [ecx]
lea edx, [ebp - 0x120]
cmp eax, dword [edx]
jne 0x40242a
add ecx, 4
add edx, 4
or esi, 0xffffffff
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x402451
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402451
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x402451
cmp esi, 0xffffffff
je 0x40244d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x402451
xor eax, eax
jmp 0x402456
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40245e
xor al, al
jmp 0x402460
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00405a9e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret