Function at 0x40fc64
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 [0x43b004]
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.00411bb8
lea eax, [ebp - 0x218]
push eax
call fcn.0040f77b
pop ecx
mov esi, esp
push 0x4334cc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp esi, esp
call fcn.00411bb8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x40fd32
mov esi, esp
push 0x433560
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00411bb8
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x40fd32
mov eax, dword [ebp - 8]
jmp 0x40fed0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0xffffffff
jne 0x40fd70
cmp dword [ebp - 0x228], 0
je 0x40fd68
mov esi, esp
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00411bb8
mov eax, dword [ebp - 8]
jmp 0x40fed0
mov dword [ebp - 0x458], 0x22c
lea eax, [ebp - 0x458]
push eax
push dword [ebp - 0x228]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40fdb6
cmp dword [ebp - 0x228], 0
je 0x40fdae
mov esi, esp
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00411bb8
mov eax, dword [ebp - 8]
jmp 0x40fed0
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.00411bb8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40fe42
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 [0x414344]
cmp edi, esp
call fcn.00411bb8
call dword [ebp - 0x67c]
cmp esi, esp
call fcn.00411bb8
lea eax, [ebp - 0x668]
push eax
call fcn.0040f77b
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.00411bb8
test eax, eax
jne 0x40fe7d
mov eax, dword [ebp - 0x450]
mov dword [ebp - 8], eax
jmp 0x40fe97
lea eax, [ebp - 0x458]
push eax
push dword [ebp - 0x228]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40fdb6
cmp dword [ebp - 0x228], 0
je 0x40feb5
mov esi, esp
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00411bb8
cmp dword [ebp - 0xc], 0
je 0x40fecd
mov esi, esp
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00411bb8
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x40fefc]
call fcn.00411b62
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411bf0
add esp, 0x67c
cmp ebp, esp
call fcn.00411bb8
leave
ret