Function at 0x40fca4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
push esi
push edi
lea edi, [ebp - 0x67c]
mov ecx, 0x19f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x43f004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
and dword [ebp - 0x220], 0
mov esi, esp
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
cmp esi, esp
call fcn.00411cf8
lea eax, [ebp - 0x218]
push eax
call fcn.0040f7af
pop ecx
mov esi, esp
push 0x436348
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp esi, esp
call fcn.00411cf8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x40fd72
mov esi, esp
push 0x436364
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00411cf8
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x40fd72
mov eax, dword [ebp - 8]
jmp 0x40ff10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0xffffffff
jne 0x40fdb0
cmp dword [ebp - 0x228], 0
je 0x40fda8
mov esi, esp
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00411cf8
mov eax, dword [ebp - 8]
jmp 0x40ff10
mov dword [ebp - 0x458], 0x22c
lea eax, [ebp - 0x458]
push eax
push dword [ebp - 0x228]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40fdf6
cmp dword [ebp - 0x228], 0
je 0x40fdee
mov esi, esp
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00411cf8
mov eax, dword [ebp - 8]
jmp 0x40ff10
push 0x208
push 0
lea eax, [ebp - 0x668]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [ebp - 0x674], 0x104
and dword [ebp - 0xc], 0
mov esi, esp
push dword [ebp - 0x450]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.00411cf8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40fe82
mov esi, esp
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x668]
push eax
push 0
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x67c], eax
mov edi, esp
mov ecx, dword [ebp - 0x67c]
call dword [0x414340]
cmp edi, esp
call fcn.00411cf8
call dword [ebp - 0x67c]
cmp esi, esp
call fcn.00411cf8
lea eax, [ebp - 0x668]
push eax
call fcn.0040f7af
pop ecx
mov esi, esp
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
cmp esi, esp
call fcn.00411cf8
test eax, eax
jne 0x40febd
mov eax, dword [ebp - 0x450]
mov dword [ebp - 8], eax
jmp 0x40fed7
lea eax, [ebp - 0x458]
push eax
push dword [ebp - 0x228]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40fdf6
cmp dword [ebp - 0x228], 0
je 0x40fef5
mov esi, esp
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00411cf8
cmp dword [ebp - 0xc], 0
je 0x40ff0d
mov esi, esp
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00411cf8
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x40ff3c]
call fcn.00411ca2
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411d30
add esp, 0x67c
cmp ebp, esp
call fcn.00411cf8
leave
ret