Function at 0x1001fc30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029f76
mov eax, dword fs:[0]
push eax
sub esp, 0x8fc
mov eax, dword [0x1003d01c]
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 edi, dword [0x100a8a38]
mov esi, dword [0x100a8a34]
cmp esi, edi
je 0x1001fc9f
mov edi, edi
cmp dword [esi + 0x14], 0x10
jb 0x1001fc81
push dword [esi]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x1001fc70
mov esi, dword [0x100a8a34]
push 0
push 0xf
mov dword [0x100a8a38], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x8ec], esi
cmp esi, 0xffffffff
je 0x1001ffd0
lea eax, [ebp - 0x8e8]
mov dword [ebp - 0x8e8], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001ffcd
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
mov ecx, 0x10033784
lea eax, [ebp - 0x8c4]
jmp 0x1001fd00
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001fd26
test dx, dx
je 0x1001fd22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001fd26
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001fd00
xor eax, eax
jmp 0x1001fd2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001ffa4
mov eax, 0x1003376c
lea ecx, [ebp - 0x8c4]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1001fd66
test dx, dx
je 0x1001fd62
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1001fd66
add ecx, 4
add eax, 4
test dx, dx
jne 0x1001fd40
xor eax, eax
jmp 0x1001fd6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001ffa4
push 0x3ff
lea eax, [ebp - 0x47f]
mov byte [ebp - 0x480], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x8c4]
push 0x3ff
push eax
lea eax, [ebp - 0x480]
push eax
call dword [sym.imp.MSVCR120.dll_wcstombs]
add esp, 0xc
lea eax, [ebp - 0x480]
push 0x1003377c
push 0x400
push eax
call dword [sym.imp.MSVCR120.dll_strcat_s]
add esp, 0xc
push dword [ebp - 0x8e0]
push 0
push 0x1fffff
call ebx
mov edi, eax
test edi, edi
jne 0x1001fe08
push dword [ebp - 0x8e0]
push 1
push 0x100430
call ebx
mov edi, eax
test edi, edi
jne 0x1001fe08
push dword [ebp - 0x8e0]
push eax
push 0x1fffff
call ebx
mov edi, eax
test edi, edi
je 0x1001ff9e
lea eax, [ebp - 0x690]
mov dword [ebp - 0x690], 0x104
push eax
lea eax, [ebp - 0x688]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x1001ff93
lea eax, [ebp - 0x6b4]
push eax
push 0
lea eax, [ebp - 0x688]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1001ff93
lea eax, [ebp - 0x688]
mov dword [ebp - 0x68c], 0
push eax
lea ecx, [ebp - 0x68c]
call fcn.1001d120
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x68c]
test esi, esi
je 0x1001fe91
cmp dword [esi + 4], 0
jne 0x1001fe8c
push dword [esi]
call fcn.10026d80
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x1001fe93
xor esi, esi
push esi
lea eax, [ebp - 0x480]
push 0x400
push eax
call dword [sym.imp.MSVCR120.dll_strcat_s]
add esp, 0xc
lea edx, [ebp - 0x34]
mov ecx, esi
call fcn.10019fc0
push 0x100338b0
lea eax, [ebp - 0x480]
push 0x400
push eax
call dword [sym.imp.MSVCR120.dll_strcat_s]
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x480]
push 0x400
push eax
call dword [sym.imp.MSVCR120.dll_strcat_s]
add esp, 0xc
lea edx, [ebp - 0x80]
mov ecx, esi
call fcn.10019680
mov esi, dword [sym.imp.MSVCR120.dll_strcat_s]
lea eax, [ebp - 0x480]
push 0x100338b4
push 0x400
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x480]
push 0x400
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x480]
lea ecx, [ebp - 0x904]
push eax
call fcn.10003820
lea eax, [ebp - 0x904]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x100a8a34
call fcn.10007e80
cmp dword [ebp - 0x8f0], 0x10
jb 0x1001ff60
push dword [ebp - 0x904]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x68c]
mov dword [ebp - 0x8f0], 0xf
mov dword [ebp - 0x8f4], 0
mov byte [ebp - 0x904], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1001d1d0
mov esi, dword [ebp - 0x8ec]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x1001ffa4
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x8e8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0xc8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
mov esi, dword [ebp - 0x8ec]
jne 0x1001fcf0
push esi
call edi
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.1002711f
mov esp, ebp
pop ebp
ret