Function at 0x405910
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a9ad
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x44a120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
mov dword [ebp - 4], 1
call fcn.00408c30
mov dword [ebp - 0x284], eax
mov byte [eax + 0x2d], 1
mov eax, dword [ebp - 0x284]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x284]
mov dword [eax], eax
mov eax, dword [ebp - 0x284]
mov dword [eax + 8], eax
mov dword [ebp - 0x280], ebx
push ebx
push 2
mov byte [ebp - 4], 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x290], esi
jne 0x4059c6
push eax
push ebx
lea eax, [ebp - 0x2c]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00407880
jmp 0x405b52
lea edx, [ebp - 0x278]
push edx
push esi
mov dword [ebp - 0x278], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebx
jne 0x4059ed
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405b37
call dword [section..data]
mov dword [ebp - 0x298], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x28c], ebx
mov eax, dword [ebp - 0x270]
cmp eax, ebx
je 0x405ae4
cmp eax, 4
je 0x405ae4
lea edx, [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x405a77
add eax, eax
mov dword [ebp - 0x29c], eax
call fcn.00428860
mov esi, esp
cmp esi, ebx
je 0x405a77
mov eax, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x298]
push ebx
push ebx
push eax
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x254]
push ecx
push ebx
push edx
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x405a79
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
lea esi, [ecx + 1]
jmp 0x405a90
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x405a90
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00407f10
lea edx, [ebp - 0x270]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 3
call fcn.00407720
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.00407880
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0x10
jb 0x405ade
mov edx, dword [ebp - 0x44]
push edx
call fcn.0041c4fe
add esp, 4
mov esi, dword [ebp - 0x290]
mov eax, dword [ebp - 0x294]
cmp dword [ebp - 0x270], eax
jne 0x405afe
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x28c], ecx
lea edx, [ebp - 0x278]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x405a0b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x28c]
lea ecx, [ebp - 0x288]
call fcn.00407720
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407880
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00407880
lea eax, [ebp - 0x288]
mov dword [ebp - 0x27c], 1
mov byte [ebp - 4], 1
call fcn.00407cb0
cmp dword [ebp - 0x14], 0x10
jb 0x405b7d
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0041c4fe
add esp, 4
mov eax, edi
lea esp, [ebp - 0x2b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041cb94
mov esp, ebp
pop ebp
ret