Function at 0x100053d0
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push 0xffffffffffffffff
push 0x10088358
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x50], 0
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x1b], 0
push eax
push 1
push 0
push 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
test eax, eax
je 0x10005742
xor edi, edi
cmp dword [esp + 0x24], edi
jbe 0x10005742
mov ebp, dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
xor esi, esi
lea esp, [esp]
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push dword [esi + eax + 8]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
push 0
lea eax, [esp + 0x5c]
mov byte [esp + 0x54], 1
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::compare_class_QString_const___enum_Qt::CaseSensitivity_const]
test eax, eax
jne 0x100055ce
mov eax, dword [esp + 0x5c]
cmp byte [eax], 0
jne 0x10005542
mov eax, dword [esp + 0x18]
push dword [esi + eax + 0xc]
lea eax, [esp + 0x24]
push eax
call fcn.10005f20
add esp, 8
lea eax, [esp + 0x2c]
mov byte [esp + 0x50], 2
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call ebp
mov ecx, eax
lea eax, [esp + 0x20]
mov byte [esp + 0x50], 3
push eax
mov eax, dword [esp + 0x1c]
push str._user
push dword [esi + eax + 4]
push str.pid
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___unsigned_long_int_]
mov ecx, eax
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___class_QString_const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
push 0
push str.system
push 6
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::compare_class_QLatin1String__enum_Qt::CaseSensitivity_const]
mov byte [esp + 0x50], 1
lea ecx, [esp + 0x20]
test eax, eax
jne 0x1000553c
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x100055ce
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
mov ebx, dword [esi + eax + 4]
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call ebp
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 4
push ecx
push 0x1009e984
lea ecx, [esp + 0x64]
push ecx
push str.existProcess_in
mov ecx, eax
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___class_QString_const__]
mov ecx, eax
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___class_QString_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___unsigned_long_int_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
push ebx
push 0
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
jne 0x100055f0
mov ebp, dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
inc edi
add esi, 0x10
cmp edi, dword [esp + 0x24]
jb 0x10005450
jmp 0x10005742
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QTime::start_void_]
push 0x2710
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100056d8
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
mov ecx, eax
call esi
push str.process_islive2
mov ecx, eax
mov byte [esp + 0x54], 5
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call edi
lea ecx, [esp + 0x5c]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QTime::elapsed_void_const]
cmp eax, 0x1388
jge 0x10005677
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 6
push ecx
push str.openProcess_sucess
mov ecx, eax
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___class_QString_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call edi
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x58]
push eax
call fcn.10005a70
test al, al
jne 0x100056e4
mov ecx, dword [esp + 0x28]
push ebx
call fcn.100063f0
jmp 0x100056e4
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 7
push ecx
push str.leave_waitfor
mov ecx, eax
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___class_QString_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call edi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], 1
mov byte [esp + 0x50], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push dword [esp + 0x18]
call sub.WTSAPI32.dll_WTSFreeMemory
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8