Function at 0x403950
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 0x41f1c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x798
mov eax, dword [0x429040]
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.00409100
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 0x403a09
cmp dword [ebp - 0x798], edi
je 0x4039fd
lea eax, [ebp - 0x7a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4039e1
jmp 0x403a09
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 0x403a53
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 0x403a53
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.004107ee
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.00410403
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, dword [0x426d80]
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 [0x426d8c]
xorps xmm0, xmm0
mov word [ebp - 0x65c], ax
mov al, byte [0x426d8e]
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 0x403b50
sub ecx, edx
cmp ecx, 0xc
jne 0x403ba7
lea ecx, [ebp - 0x678]
mov esi, 8
lea edx, [ebp - 0x120]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x403b85
add ecx, 4
add edx, 4
sub esi, 4
jae 0x403b70
xor eax, eax
jmp 0x403bf8
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x403bf3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x403bf3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x403bf3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x403bf3
xor eax, eax
jmp 0x403bf8
cmp ecx, 7
jne 0x403c00
lea ecx, [ebp - 0x660]
mov esi, 3
mov eax, dword [ecx]
lea edx, [ebp - 0x120]
cmp eax, dword [edx]
jne 0x403bcc
add ecx, 4
add edx, 4
or esi, 0xffffffff
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x403bf3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x403bf3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x403bf3
cmp esi, 0xffffffff
je 0x403bef
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x403bf3
xor eax, eax
jmp 0x403bf8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x403c00
xor al, al
jmp 0x403c02
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.0040730e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret