Function at 0x404630
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4062f8
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x10], 0
jne 0x40466a
xor al, al
jmp 0x4048eb
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403690
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 0xf
mov esi, dword [ebp - 0x18]
mov edx, esi
cmova ecx, dword [ebp - 0x28]
push 1
sub esp, 8
call fcn.00404910
add esp, 0xc
cmp eax, 0xffffffff
je 0x4046ff
cmp edi, 0xf
lea ecx, [ebp - 0x28]
push 1
cmova ecx, dword [ebp - 0x28]
mov edx, esi
sub esp, 8
call fcn.00404910
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x158], ecx
cmp esi, ecx
jb 0x404906
mov eax, esi
or edx, 0xffffffff
sub eax, ecx
cmp eax, 0xffffffff
cmovb edx, eax
cmp edi, 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
sub esi, edx
add ecx, eax
mov eax, esi
sub eax, dword [ebp - 0x158]
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edi, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x18], esi
mov eax, edi
sub eax, esi
cmp eax, 4
jb 0x404726
lea eax, [esi + 4]
cmp edi, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov dword [esi + eax], 0x6578652e
mov byte [esi + eax + 4], 0
jmp 0x404744
push 4
push str..exe
mov byte [ebp - 0x158], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x158]
push 4
call fcn.004034b0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x150], 0x128
lea eax, [ebp - 0x150]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x404773
xor al, al
jmp 0x4048a9
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov edx, esp
lea esi, [eax + 1]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404795
sub eax, esi
mov ecx, edx
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.004030e0
lea ecx, [ebp - 0x188]
call fcn.00404a70
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ecx, esp
push eax
call fcn.00403690
lea ecx, [ebp - 0x170]
call fcn.00404a70
add esp, 0x18
mov ecx, esi
push eax
call fcn.004049d0
mov ecx, dword [ebp - 0x15c]
mov esi, eax
cmp ecx, 0xf
jbe 0x40481b
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404811
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4048d5
push ecx
push edx
call fcn.004050cf
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
cmp ecx, 0xf
jbe 0x404870
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404866
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4048d5
push ecx
push edx
call fcn.004050cf
add esp, 8
test esi, esi
je 0x404887
lea eax, [ebp - 0x150]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x404768
push dword [ebp - 0x148]
push 0
push 0x10
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4048a4
push eax
call esi
push edi
call esi
mov al, 1
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x151], al
cmp ecx, 0xf
jbe 0x4048eb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4048db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4048db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004050cf
mov al, byte [ebp - 0x151]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404e1d
mov esp, ebp
pop ebp
ret
call fcn.00402c60
int3