Function at 0x4023a0
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ef4a
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x42b018]
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 eax, 1
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x26c], eax
xor edi, edi
mov dword [ebp - 0x274], eax
mov al, byte [0x42cc94]
mov byte [ebp - 0x25c], al
mov dword [ebp - 0x264], edi
nop dword [eax]
test edi, edi
je 0x40240b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.explorer.exe
lea ecx, [ebp - 0x28]
call fcn.00403530
mov dword [ebp - 4], 0
xor esi, esi
xor edi, edi
mov dword [ebp - 0x270], esi
xor ebx, ebx
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x278], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x26c]
or eax, 1
push 0x228
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x254]
push ebx
push eax
call fcn.0040e8e0
add esp, 0xc
mov dword [ebp - 0x258], 0x22c
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], edx
cmp eax, 0xffffffff
jne 0x40249a
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 4], ebx
jmp 0x402590
lea ecx, [ebp - 0x258]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x402573
cmp dword [ebp - 0x14], 8
mov esi, dword [ebp - 0x18]
setae byte [ebp - 0x25d]
nop
lea eax, [ebp - 0x234]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4024d0
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
cmp byte [ebp - 0x25d], 0
cmovne ecx, dword [ebp - 0x268]
cmp esi, eax
jne 0x40254c
lea edx, [ebp - 0x234]
test esi, esi
je 0x402513
nop
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x402549
add ecx, 2
add edx, 2
sub esi, 1
jne 0x402500
cmp edi, ebx
je 0x40252a
mov eax, dword [ebp - 0x250]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x27c], edi
jmp 0x402549
lea eax, [ebp - 0x250]
push eax
push edi
lea ecx, [ebp - 0x280]
call fcn.00404140
mov ebx, dword [ebp - 0x278]
mov edi, dword [ebp - 0x27c]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4024c0
mov esi, dword [ebp - 0x280]
mov dword [ebp - 0x270], esi
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x268]
xor eax, eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 4], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4025cb
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4025c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402890
push ecx
push edx
call fcn.0040b7f8
add esp, 8
push 0x208
mov dword [ebp - 0x274], 0
call fcn.0040b806
mov edi, esi
mov dword [ebp - 0x268], eax
add esp, 4
cmp edi, dword [ebp - 0x27c]
je 0x4026c7
mov eax, dword [edi]
push eax
push 0
push 0x410
mov dword [ebp - 0x274], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x402628
push 0x104
push dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
mov ecx, dword [ebp - 0x268]
call fcn.00401d20
test al, al
jne 0x4026c1
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 4
cmp edi, dword [ebp - 0x27c]
jne 0x4025f6
push dword [ebp - 0x268]
call fcn.0040b4bd
add esp, 4
mov edi, dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x402847
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x402400
sub ebx, esi
mov eax, esi
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x4026b2
mov esi, dword [eax - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402890
push ebx
push esi
call fcn.0040b7f8
add esp, 8
jmp 0x402400
mov eax, dword [ebp - 0x268]
push eax
call fcn.0040b4bd
mov eax, dword [ebp - 0x274]
add esp, 4
test eax, eax
je 0x402660
mov edi, dword [ebp - 0x264]
test edi, edi
je 0x402666
cmp byte [ebp - 0x25c], 0
je 0x40274d
mov ecx, dword [ebp - 0x284]
cmp ecx, eax
je 0x4026fb
test ecx, ecx
jne 0x40274d
push 0x2710
mov dword [ebp - 0x284], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x402400
sub ebx, esi
mov eax, esi
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x40273e
mov esi, dword [eax - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402890
push ebx
push esi
call fcn.0040b7f8
add esp, 8
jmp 0x402400
lea eax, [ebp - 0x29c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2a4]
movlpd qword [ebp - 0x28c], xmm0
push eax
lea eax, [ebp - 0x2ac]
movlpd qword [ebp - 0x2ac], xmm0
push eax
lea eax, [ebp - 0x28c]
movlpd qword [ebp - 0x2a4], xmm0
push eax
push edi
movlpd qword [ebp - 0x29c], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x402847
mov edi, dword [ebp - 0x288]
lea eax, [ebp - 0x294]
xor esi, esi
xorps xmm0, xmm0
add esi, dword [ebp - 0x28c]
push eax
adc edi, 0
movlpd qword [ebp - 0x294], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x290]
xor ecx, ecx
add ecx, dword [ebp - 0x294]
adc eax, 0
sub ecx, esi
sbb eax, edi
test eax, eax
ja 0x402841
jb 0x4027e7
cmp ecx, 0x5f5e100
jae 0x402841
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x270]
mov edi, dword [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x402400
sub ebx, ecx
mov eax, ecx
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x40282c
mov ecx, dword [eax - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402890
push ebx
push ecx
call fcn.0040b7f8
mov edi, dword [ebp - 0x264]
add esp, 8
jmp 0x402400
mov esi, dword [ebp - 0x270]
test esi, esi
je 0x402874
sub ebx, esi
mov eax, esi
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x40286a
mov esi, dword [eax - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402890
push ebx
push esi
call fcn.0040b7f8
add esp, 8
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.0040b4af
mov esp, ebp
pop ebp
ret
call fcn.0041047a
int3