Function at 0x1002f680
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x10040d6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x174]
lea ecx, [esp + 0x24]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x174], ebx
call fcn.100172b0
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x16c], 2
call fcn.10031f20
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x38]
push ebx
rep stosd dword es:[edi], eax
push 2
mov byte [esp + 0x174], 3
mov dword [esp + 0x40], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.10017290
lea edx, [esp + 0x38]
mov dword [esp + 0x34], esi
push edx
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
setne al
mov byte [esp + 0x160], al
cmp al, bl
mov byte [esp + 0x16c], 4
je 0x1002f80e
mov ebp, dword [sym.imp.MSVCRT.dll_tolower]
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x1002f78c
xor esi, esi
jmp 0x1002f793
mov edx, dword [esp + 0x1c]
lea esi, [edx + eax]
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [esp + 0x18]
push ebp
push edi
push esi
push eax
call fcn.100173c0
mov eax, dword [esp + 0x38]
add esp, 0x10
cmp eax, ebx
jne 0x1002f7ba
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x16c], 4
push 1
mov ecx, dword [edx]
cmp eax, ecx
lea ecx, [esp + 0x18]
jne 0x1002f839
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
setne al
cmp al, bl
mov byte [esp + 0x160], al
jne 0x1002f72f
lea ecx, [esp + 0x34]
mov byte [esp + 0x16c], 6
call fcn.10017290
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x1002f88b
mov al, byte [ecx - 1]
cmp al, bl
je 0x1002f881
cmp al, 0xff
je 0x1002f881
dec al
mov byte [ecx - 1], al
jmp 0x1002f88b
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x16c], 1
call fcn.10017270
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x170], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x178]
mov dword [esp + 0x170], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, 1
jmp 0x1002f8c0
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x178]
mov dword [esp + 0x28], ebx
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x1002f8be
mov al, byte [ecx - 1]
cmp al, bl
je 0x1002f8b4
cmp al, 0xff
je 0x1002f8b4
dec al
mov byte [ecx - 1], al
jmp 0x1002f8be
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor al, al
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x160
ret