Function at 0x41cda0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4267e4
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4430f4]
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
test byte [0x447bb0], 1
mov edi, ecx
jne 0x41ce0b
or dword [0x447bb0], 1
push 0x436270
mov ecx, 0x447b94
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x42db50
call fcn.00410cc1
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push 0x436274
push 0x447b94
call ebx
add esp, 8
test al, al
je 0x41ce9a
lea esi, [ebp - 0x2c]
mov eax, edi
call fcn.0041c910
mov dword [ebp - 4], 1
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov ecx, dword [eax]
push ecx
push 0x436278
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp eax, dword [ecx]
je 0x41ce8a
mov edx, dword [ecx]
push edx
add eax, 1
push eax
lea eax, [ebp - 0x274]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
mov ecx, 0x447b94
mov byte [ebp - 4], 2
call dword [0x42e210]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x43627c
push 0x447b94
call ebx
add esp, 8
test al, al
jne 0x41cf3b
push 0x228
lea ecx, [ebp - 0x254]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x258], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41cf3b
lea edx, [ebp - 0x258]
push edx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41cf34
mov edi, dword [sym.imp.MSVCR80.dll__wcsicmp]
mov ebx, 8
lea ecx, [ecx]
cmp dword [0x447bac], ebx
mov eax, dword [0x447b98]
jae 0x41cf12
mov eax, 0x447b98
push eax
lea eax, [ebp - 0x234]
push eax
call edi
add esp, 8
test eax, eax
je 0x41cf59
lea ecx, [ebp - 0x258]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41cf00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
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.00410d2a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x41cf3d