Function at 0x402410
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 0x620dc6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x478
mov eax, dword [0x6b6538]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0x238]
xor eax, eax
mov dword [ebp - 0x484], esi
push eax
push 0x6a18f4
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.00402c20
push 0x22c
lea eax, [ebp - 0x480]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00526600
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x484], eax
cmp eax, 0xffffffff
jne 0x402523
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x6a18f4
mov word [esi], ax
call fcn.00402c20
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x40272f
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402514
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402751
push edx
push ecx
call fcn.0050d502
add esp, 8
jmp 0x40272f
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x480], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4026fe
xor eax, eax
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402570
sub ecx, edx
lea eax, [ebp - 0x45c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00402c20
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x478]
cmp edi, dword [ebx + 0xc]
je 0x402605
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x4025e5
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4025db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402751
push edx
push ecx
call fcn.0050d502
add esp, 8
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402543
jmp 0x4026fe
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00526600
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4026c2
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402651
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00402c20
cmp dword [ebp - 0x228], 0
jne 0x4026c2
lea eax, [ebp - 0x238]
push eax
push edi
call fcn.00402760
cmp dword [ebp - 0x228], 0
jne 0x4026c2
lea ecx, [ebp - 0x45c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4026a0
sub ecx, edx
lea eax, [ebp - 0x45c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00402c20
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x4026fe
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4026f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402756
push edx
push ecx
call fcn.0050d502
add esp, 8
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x238]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [esi + 0x10], xmm0
mov eax, esi
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.0050ce82
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0052bf71
call fcn.0052bf71
int3