Function at 0x10024fa0
Capabilities:
Enumerate processes on remote desktop session host
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1008d286
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ebx
push eax
push 1
push ebx
push ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0x44], bl
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
test eax, eax
je 0x100252af
xor ebp, ebp
cmp dword [esp + 0x28], ebx
jbe 0x100252af
mov esi, dword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
xor edi, edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
push dword [edi + eax + 0xc]
lea eax, [esp + 0x28]
push eax
call fcn.10025ba0
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
mov dword [esp + 0x7c], 0
push dword [edi + eax + 8]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1b]
call fcn.10024f60
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x7c], 2
or ebx, 1
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call esi
add esp, 8
test al, al
jne 0x100250d8
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1b]
call fcn.10024ee0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x7c], 3
or ebx, 2
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call esi
add esp, 8
test al, al
jne 0x100250d8
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1b]
call fcn.10024ec0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x7c], 4
or ebx, 4
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call esi
add esp, 8
mov byte [esp + 0x17], 1
test al, al
je 0x100250dd
mov byte [esp + 0x17], 0
mov dword [esp + 0x78], 3
test bl, 4
je 0x100250ff
and ebx, 0xfffffffb
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x78], 2
test bl, 2
je 0x10025121
and ebx, 0xfffffffd
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x78], 1
test bl, 1
je 0x1002513f
and ebx, 0xfffffffe
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x10025280
push 0xc
push str.explorer.exe
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x38], eax
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::toLower_void_]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 5
call ebx
mov esi, eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x78], 6
push eax
lea ecx, [esp + 0x30]
call ebx
push esi
mov esi, dword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
push eax
mov byte [esp + 0x80], 7
call esi
add esp, 8
mov byte [esp + 0x78], 6
lea ecx, [esp + 0x4c]
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x1002527c
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x6c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
mov ecx, eax
call ebx
push str.check_has_explorer
mov ecx, eax
mov byte [esp + 0x7c], 8
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
add eax, edi
push eax
call fcn.100265e0
test eax, eax
jne 0x1002527c
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
cmp ecx, dword [edi + eax + 4]
je 0x1002532e
lea eax, [esp + 0x58]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x6c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call ebx
push str.check_other_active_explorer
mov ecx, eax
mov byte [esp + 0x7c], 9
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov byte [esp + 0x34], 1
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
inc ebp
add edi, 0x10
cmp ebp, dword [esp + 0x28]
jb 0x10025010
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push dword [esp + 0x1c]
call sub.WTSAPI32.dll_WTSFreeMemory
lea eax, [esp + 0x80]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x6c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call ebx
push dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x7c], 0xa
push dword [esp + 0x34]
push str.check_active
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___bool_]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___bool_]
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
cmp byte [esp + 0x30], 0
jne 0x10025359
cmp byte [esp + 0x34], 0
je 0x10025359
xor al, al
jmp 0x1002535b
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30], 1
mov byte [esp + 0x78], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x100252b5
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4