Function at 0x404a00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4378cd
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x44300c]
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 dword [ebp - 0x240], ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x258]
call fcn.00405090
push 0
push 0xf
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
nop
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404a80
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x404acc
lea edi, [ecx + ecx]
mov eax, edi
call fcn.004375a0
mov esi, esp
test esi, esi
je 0x404acc
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
mov byte [esi], 0
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x404ace
xor eax, eax
cmp dword [ebp - 0x244], 0x10
lea ecx, [ebp - 0x258]
cmovae ecx, dword [ebp - 0x258]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x404b02
test dl, dl
je 0x404afe
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x404b02
add eax, 2
add ecx, 2
test dl, dl
jne 0x404ae2
xor eax, eax
jmp 0x404b07
sbb eax, eax
or eax, 1
test eax, eax
je 0x404b75
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x404a70
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x404b5e
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404b54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404bae
push edx
push ecx
call fcn.0043689c
add esp, 8
mov eax, dword [ebp - 0x240]
mov esi, 1
mov dword [eax + 8], 0
jmp 0x404c16
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x244]
mov esi, dword [ebp - 0x234]
cmp edx, 0x10
jb 0x404bbe
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404bb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404bb4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0043689c
add esp, 8
mov ebx, dword [ebp - 0x240]
mov dword [ebx + 8], esi
test esi, esi
jne 0x404bd2
mov esi, 1
jmp 0x404c16
push esi
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebx + 4], eax
test eax, eax
jne 0x404bec
lea esi, [eax + 2]
jmp 0x404c16
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00405090
mov ecx, ebx
call fcn.004047d0
cdq
mov dword [ebx + 0x10], eax
or eax, edx
mov dword [ebx + 0x14], edx
jne 0x404c11
lea esi, [eax + 3]
jmp 0x404c16
mov byte [ebx], 1
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x404c4c
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404c42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404c42
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0043689c
add esp, 8
mov eax, esi
lea esp, [ebp - 0x268]
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.004362ef
mov esp, ebp
pop ebp
ret 0x18