Function at 0x40a300
Capabilities:
Enumerate process modules
Enumerate processes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4349a0
mov eax, dword fs:[0]
push eax
sub esp, 0x8ac
mov eax, dword [0x44c040]
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
push str..mailslotFPSMonitor_ScanGraphicsProcesses
lea ecx, [ebp - 0x254]
call fcn.00404ac0
push 0x43e014
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], 0
call fcn.00406010
cmp dword [ebp - 0x240], 7
lea eax, [ebp - 0x254]
push 0
cmova eax, dword [ebp - 0x254]
push 0x80
push 3
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x8b4], ebx
cmp ebx, 0xffffffff
jne 0x40a3f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.CreateFile_for
mov esi, eax
mov dword [0x44cba0], 2
call dword [edx + 0x1c]
lea ecx, [ebp - 0x254]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push str._failed:
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
jmp 0x40a94c
push 0
push 2
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x8b8], esi
cmp esi, 0xffffffff
jne 0x40a47b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.scan_graphics:
mov esi, eax
mov dword [0x44cba0], 2
call dword [edx + 0x1c]
push str.CreateToolhelp32Snapshot_failed:
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
test ebx, ebx
je 0x40a94c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a94c
lea eax, [ebp - 0x488]
mov dword [ebp - 0x488], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40a4b0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
test ebx, ebx
je 0x40a94c
push ebx
call esi
jmp 0x40a94c
mov ebx, dword [sym.imp.KERNEL32.dll_Module32NextW]
mov edi, dword [ebp - 0x480]
push edi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40a916
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00418c8e
mov esi, eax
add esp, 8
test esi, esi
je 0x40a916
add esi, 2
lea ecx, [ebp - 0x23c]
push esi
call fcn.00404ac0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00420573
add esp, 8
lea edx, [ebp - 0x218]
mov ecx, esi
call fcn.004071f0
test eax, eax
jne 0x40a8d6
mov ecx, str.amddvr.exe
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a57c
test dx, dx
je 0x40a578
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a57c
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a556
xor eax, eax
jmp 0x40a581
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
mov ecx, str.igfxem.exe
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a5b6
test dx, dx
je 0x40a5b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a5b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a590
xor eax, eax
jmp 0x40a5bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
mov ecx, str.winstore.app.exe
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a5f6
test dx, dx
je 0x40a5f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a5f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a5d0
xor eax, eax
jmp 0x40a5fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
mov ecx, str.systemsettings.exe
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a636
test dx, dx
je 0x40a632
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a636
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a610
xor eax, eax
jmp 0x40a63b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
mov ecx, str.standardcollector.service.exe
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a676
test dx, dx
je 0x40a672
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a676
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a650
xor eax, eax
jmp 0x40a67b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
mov ecx, str.skypehost.exe
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a6b6
test dx, dx
je 0x40a6b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a6b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a690
xor eax, eax
jmp 0x40a6bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
mov ecx, str.skypebrowserhost.exe
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a6f6
test dx, dx
je 0x40a6f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a6f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a6d0
xor eax, eax
jmp 0x40a6fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
mov ecx, str.scriptedsandbox64.exe
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a736
test dx, dx
je 0x40a732
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a736
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a710
xor eax, eax
jmp 0x40a73b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
mov ecx, str.nvdisplay.container.exe
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a776
test dx, dx
je 0x40a772
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a776
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a750
xor eax, eax
jmp 0x40a77b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
mov ecx, str.lockapp.exe
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a7ac
test dx, dx
je 0x40a7a8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a7ac
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a786
xor eax, eax
jmp 0x40a7b1
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
mov eax, str.far.exe
nop word [eax + eax]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x40a7e6
test cx, cx
je 0x40a7e2
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x40a7e6
add esi, 4
add eax, 4
test cx, cx
jne 0x40a7c0
xor eax, eax
jmp 0x40a7eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a7f3
xor eax, eax
jmp 0x40a7f8
mov eax, 1
test eax, eax
jne 0x40a8d6
push edi
push 8
mov dword [ebp - 0x8b0], 0x428
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40a8d6
lea eax, [ebp - 0x8b0]
xor edi, edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
cmp eax, 1
jne 0x40a872
lea eax, [ebp - 0x8b0]
push eax
push esi
call ebx
cmp eax, 1
jne 0x40a872
lea eax, [ebp - 0x890]
push 0x100
push eax
call fcn.00420573
add esp, 8
lea ecx, [ebp - 0x890]
call fcn.00407cd0
or edi, eax
lea eax, [ebp - 0x8b0]
push eax
push esi
call ebx
cmp eax, 1
je 0x40a842
test esi, esi
je 0x40a87d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x40a8d6
cmp dword [ebp - 0x228], 7
lea eax, [ebp - 0x21c]
mov esi, dword [ebp - 0x8b4]
lea ecx, [ebp - 0x23c]
cmova ecx, dword [ebp - 0x23c]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push eax
mov eax, dword [ebp - 0x22c]
add eax, eax
mov dword [ebp - 0x224], 0
push eax
push ecx
push esi
call edi
push 0
lea eax, [ebp - 0x21c]
push eax
push 2
lea eax, [ebp - 0x224]
push eax
push esi
call edi
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40a916
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a90c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a9a4
push ecx
push edx
call fcn.0041739d
add esp, 8
mov esi, dword [ebp - 0x8b8]
lea eax, [ebp - 0x488]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40a4b6
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40a93f
push esi
call ebx
mov eax, dword [ebp - 0x8b4]
test eax, eax
je 0x40a94c
push eax
call ebx
mov ecx, dword [ebp - 0x240]
cmp ecx, 7
jbe 0x40a988
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a97e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a9a4
push ecx
push edx
call fcn.0041739d
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.0041713e
mov esp, ebp
pop ebp
ret
call fcn.0041b1e4
int3