Function at 0x10001d57
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x100472ef
call fcn.100464e0
sub esp, 0x25c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp edi, esi
mov dword [ebp - 0x14], esi
jne 0x10001d88
mov ecx, dword [ebp + 8]
push 0x10060aec
call sub.MFC42u.DLL_CString::CString_2
jmp 0x10001f65
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [ebp + 0xc]
and byte [ebp - 0x30], 0
mov dword [ebp - 0x1c], eax
mov al, byte [ebp + 0xb]
push 1
mov byte [ebp - 0x38], al
mov al, byte [ebp + 0xb]
pop ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x268], 0x22c
mov byte [ebp - 0x37], al
call fcn.10002bf2
push esi
push 2
mov byte [ebp - 4], 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x10001de6
mov ecx, dword [ebp + 8]
push 0x10060aec
call sub.MFC42u.DLL_CString::CString_2
jmp 0x10001f4b
lea eax, [ebp - 0x268]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10001ebc
lea eax, [ebp - 0x244]
lea ecx, [ebp + 0x10]
push eax
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
push dword [eax - 8]
push 0x5c
call sub.MFC42u.DLL_CString::ReverseFind
inc eax
lea ecx, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
call sub.MFC42u.DLL_CString::Mid
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
call fcn.100460f4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 5
call fcn.100460f4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x38]
push eax
call fcn.100026de
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [eax + 8]
call fcn.100460f4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
lea eax, [ebp - 0x268]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
jmp 0x10001df3
dec edi
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1000283a
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x34]
je 0x10001f38
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.1000283a
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x34]
je 0x10001f38
add eax, 0x18
lea ecx, [ebp + 0xc]
push eax
call fcn.100460c4
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.10046112
push 0x1005c1c0
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
call sub.MFC42u.DLL_CString::CString
mov eax, edi
dec edi
test eax, eax
jne 0x10001ebd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.100460c4
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
call fcn.1000275a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret