Function at 0x402460
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 0x623ab6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x478
mov eax, dword [0x6ba4f8]
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 0x6a4324
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.00402c70
push 0x22c
lea eax, [ebp - 0x480]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005291a0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x484], eax
cmp eax, 0xffffffff
jne 0x402573
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x6a4324
mov word [esi], ax
call fcn.00402c70
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x40277f
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402564
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4027a1
push edx
push ecx
call fcn.005100a2
add esp, 8
jmp 0x40277f
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x480], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40274e
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 0x4025c0
sub ecx, edx
lea eax, [ebp - 0x45c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00402c70
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x478]
cmp edi, dword [ebx + 0xc]
je 0x402655
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x402635
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40262b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4027a1
push edx
push ecx
call fcn.005100a2
add esp, 8
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402593
jmp 0x40274e
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005291a0
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x402712
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 0x4026a1
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00402c70
cmp dword [ebp - 0x228], 0
jne 0x402712
lea eax, [ebp - 0x238]
push eax
push edi
call fcn.004027b0
cmp dword [ebp - 0x228], 0
jne 0x402712
lea ecx, [ebp - 0x45c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4026f0
sub ecx, edx
lea eax, [ebp - 0x45c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00402c70
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x40274e
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402744
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4027a6
push edx
push ecx
call fcn.005100a2
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.0050fa22
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0052ec30
call fcn.0052ec30
int3