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

Disassembly:
push 0xffffffffffffffff
push 0x1008d63a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x40], ebx
xor eax, eax
mov dword [esp + 0x24], eax
mov edi, dword [sym.imp.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edi
mov esi, edi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x3c], esi
lea eax, [esp + 0x30]
mov byte [esp + 0x8c], 1
push eax
lea eax, [esp + 0x1c]
xor ebp, ebp
push eax
push 1
push ebp
push ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], ebp
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
test eax, eax
je 0x10026ce9
xor eax, eax
mov dword [esp + 0x34], eax
cmp dword [esp + 0x30], eax
jbe 0x10026c42
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
push dword [eax + ebp + 0xc]
lea eax, [esp + 0x24]
push eax
call fcn.10025ba0
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
mov byte [esp + 0x90], 2
push dword [eax + ebp + 8]
lea eax, [esp + 0x30]
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 + 0x20]
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c], 4
push ecx
mov ecx, eax
call esi
mov ebx, eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 6
push ecx
mov ecx, eax
call esi
mov edi, eax
mov esi, dword [esp + 0x18]
mov ecx, ebx
mov byte [esp + 0x8c], 7
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
push dword [esi + ebp]
mov ecx, edi
push dword [esi + ebp + 4]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
push str._s_tpid_d_tsessionid_d_tuserName_s
push 0
push 0
push 0
lea ecx, [esp + 0x90]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const__const]
add esp, 0x18
mov byte [esp + 0x8c], 6
lea ecx, [esp + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x8c], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1b]
call fcn.10024f20
mov ebx, dword [esp + 0x1c]
or ebx, 1
mov byte [esp + 0x8c], 8
mov dword [esp + 0x1c], ebx
mov edi, dword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ebx
push eax
call edi
add esp, 8
test al, al
jne 0x10026a04
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1b]
call fcn.10024ea0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x90], 9
or ebx, 2
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call edi
add esp, 8
test al, al
jne 0x10026a04
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1b]
call fcn.10024f40
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x90], 0xa
or ebx, 4
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call edi
add esp, 8
mov byte [esp + 0x17], 1
test al, al
je 0x10026a09
mov byte [esp + 0x17], 0
mov dword [esp + 0x8c], 9
test bl, 4
je 0x10026a2e
and ebx, 0xfffffffb
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x8c], 8
test bl, 2
je 0x10026a53
and ebx, 0xfffffffd
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x8c], 3
test bl, 1
je 0x10026a74
and ebx, 0xfffffffe
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x10026bb4
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 + 0x44], eax
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::toLower_void_]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 0xb
call ebx
mov esi, eax
lea eax, [esp + 0x64]
mov byte [esp + 0x8c], 0xc
push eax
lea ecx, [esp + 0x2c]
call ebx
push esi
push eax
mov byte [esp + 0x94], 0xd
call edi
add esp, 8
mov byte [esp + 0x8c], 0xc
lea ecx, [esp + 0x64]
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x10026bb4
lea eax, [esp + 0x6c]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x80]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
mov ecx, eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x8c], 0xe
push dword [eax + ebp]
push 0x1009ecc0
push dword [eax + ebp + 4]
push str.explorer_pid_sessionid
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___unsigned_long_int_]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8c], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
add eax, 4
add eax, ebp
push eax
call fcn.100342f0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
add eax, ebp
push eax
call fcn.100342f0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x94]
mov eax, dword [ecx + ebp]
cmp eax, dword [edx]
je 0x10026bf3
lea ecx, [esp + 0x28]
mov byte [esp + 0x8c], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x34]
add ebp, 0x10
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x30]
jae 0x10026c36
mov ebx, dword [esp + 0x40]
jmp 0x10026852
mov eax, dword [esp + 0x34]
add eax, eax
mov byte [esp + 0x8c], 2
mov ebp, dword [ecx + eax*8 + 4]
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], ebp
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test ebp, ebp
je 0x10026c36
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
jmp 0x10026ce9
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
xor ebp, ebp
cmp dword [esi + 4], ebp
jle 0x10026ce5
lea ecx, [ecx]
mov eax, dword [edi + 0xc]
lea ecx, [ebp*4]
add eax, ecx
add ecx, esi
mov eax, dword [eax + edi]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x6c], eax
mov dword [ecx], eax
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call fcn.100265e0
mov ebx, eax
lea ecx, [esp + 0x70]
lea eax, [esp + 0x68]
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 dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push ebx
push str.getsession_cur_state
mov ecx, eax
mov byte [esp + 0x94], 0xf
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_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
test ebx, ebx
je 0x10026ce5
mov ebx, dword [esp + 0x40]
inc ebp
cmp ebp, dword [esi + 4]
jl 0x10026c50
mov ebp, dword [esp + 0x2c]
push dword [esp + 0x18]
call sub.WTSAPI32.dll_WTSFreeMemory
lea eax, [esp + 0x6c]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x80]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push ebp
push str.getSession_result
mov ecx, eax
mov byte [esp + 0x94], 0x10
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_]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov eax, dword [esi]
or ebx, 0xffffffff
mov edx, dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_]
test eax, eax
je 0x10026d62
cmp eax, ebx
je 0x10026d72
mov eax, ebx
lock xadd dword [esi], eax
setne al
test al, al
jne 0x10026d72
push 4
push 4
push esi
call edx
mov edx, dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [edi]
test eax, eax
je 0x10026d89
cmp eax, 0xffffffff
je 0x10026d93
lock xadd dword [edi], ebx
dec ebx
setne cl
test cl, cl
jne 0x10026d93
push 4
push 4
push edi
call edx
add esp, 0xc
mov eax, ebp
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4