Function at 0x1001fdd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a6a6
mov eax, dword fs:[0]
push eax
sub esp, 0x8fc
mov eax, dword [0x1003e01c]
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 [0x100a9a20]
mov esi, dword [0x100a9a1c]
cmp esi, edi
je 0x1001fe3f
mov edi, edi
cmp dword [esi + 0x14], 0x10
jb 0x1001fe21
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 0x1001fe10
mov esi, dword [0x100a9a1c]
push 0
push 0xf
mov dword [0x100a9a20], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x8ec], esi
cmp esi, 0xffffffff
je 0x10020170
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 0x1002016d
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
mov ecx, 0x10034740
lea eax, [ebp - 0x8c4]
jmp 0x1001fea0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001fec6
test dx, dx
je 0x1001fec2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001fec6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001fea0
xor eax, eax
jmp 0x1001fecb
sbb eax, eax
or eax, 1
test eax, eax
je 0x10020144
mov eax, 0x100345a0
lea ecx, [ebp - 0x8c4]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1001ff06
test dx, dx
je 0x1001ff02
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1001ff06
add ecx, 4
add eax, 4
test dx, dx
jne 0x1001fee0
xor eax, eax
jmp 0x1001ff0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10020144
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 0x10034880
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 0x1001ffa8
push dword [ebp - 0x8e0]
push 1
push 0x100430
call ebx
mov edi, eax
test edi, edi
jne 0x1001ffa8
push dword [ebp - 0x8e0]
push eax
push 0x1fffff
call ebx
mov edi, eax
test edi, edi
je 0x1002013e
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 0x10020133
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 0x10020133
lea eax, [ebp - 0x688]
mov dword [ebp - 0x68c], 0
push eax
lea ecx, [ebp - 0x68c]
call fcn.1001d230
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x68c]
test esi, esi
je 0x10020031
cmp dword [esi + 4], 0
jne 0x1002002c
push dword [esi]
call fcn.10027300
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x10020033
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.1001a0b0
push 0x10034884
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.10019770
mov esi, dword [sym.imp.MSVCR120.dll_strcat_s]
lea eax, [ebp - 0x480]
push 0x10034868
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, 0x100a9a1c
call fcn.10007f60
cmp dword [ebp - 0x8f0], 0x10
jb 0x10020100
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.1001d2e0
mov esi, dword [ebp - 0x8ec]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x10020144
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 0x1001fe90
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.1002769f
mov esp, ebp
pop ebp
ret