Function at 0x50ab10
Capabilities:
Acquire debug privileges
Enumerate gui resources
Enumerate process modules

Disassembly:
push ebp
mov eax, 0x22cc
mov ebp, esp
push edi
push esi
push ebx
call fcn.00559808
sub esp, eax
movzx eax, byte [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2298], 0
mov byte [ebp - 0x22ad], al
mov eax, dword [sym.imp.Qt5Core.dll_QListData::shared_null]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [ebp - 0x2298]
mov dword [esp + 4], 0x28
mov dword [esp], eax
mov dword [esp + 8], edx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [ebp - 0x2298]
sub esp, 0xc
mov dword [esp + 8], 1
mov dword [esp + 4], str.SeDebugPrivilege
mov dword [esp], eax
call fcn.0053c440
mov eax, dword [ebp - 0x2298]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x22a4], eax
call eax
lea eax, [ebp - 0x2294]
sub esp, 4
mov dword [esp + 4], 0x2000
mov dword [esp + 8], eax
lea eax, [ebp - 0x2018]
mov dword [esp], eax
call sub.PSAPI.DLL_EnumProcesses
sub esp, 0xc
test eax, eax
jne 0x50abd0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp - 0x2294]
lea ecx, [ebp - 0x2274]
shr ebx, 2
call fcn.0053b840
test ebx, ebx
je 0x50b294
lea eax, [ebp - 0x2018]
mov dword [ebp - 0x229c], eax
lea eax, [eax + ebx*4]
mov ebx, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [ebp - 0x22a8], eax
mov esi, esi
lea edi, [edi]
mov eax, dword [ebp - 0x229c]
lea edi, [ebp - 0x2290]
mov dword [ebp - fcn.00596960], 0x6df284
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
mov eax, dword [eax]
mov dword [esp + 4], edi
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], 0
mov dword [esp], eax
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x2290], ebx
call fcn.00505240
test al, al
je 0x50b4c0
mov dword [esp], edi
lea ecx, [ebp - 0x2240]
call dword [method.QString.operator_QString_const_]
sub esp, 4
lea esi, [ebp - 0x2220]
xor eax, eax
mov ecx, 0x82
mov dword [ebp - 0x228c], 0x104
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2250]
mov dword [esp + 4], 0
mov dword [esp], 0x410
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
sub esp, 0xc
test eax, eax
mov dword [ebp - 0x22a0], eax
je 0x50b12a
mov dword [esp], str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
mov edi, eax
je 0x50b540
mov dword [esp + 4], str.QueryFullProcessImageNameW
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x50b534
mov ecx, dword [ebp - 0x22a0]
lea edx, [ebp - 0x228c]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp + 0xc], edx
mov dword [esp], ecx
call eax
sub esp, 0x10
mov dword [ebp - 0x22ac], eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp - 0x22ac]
sub esp, 4
test edi, edi
je 0x50b540
lea eax, [ebp - 0x2288]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [method.QString.fromUtf16_unsigned_short_const__int_]
mov eax, dword [ebp - 0x2248]
mov edx, dword [ebp - 0x2288]
mov dword [ebp - 0x2288], eax
mov dword [ebp - 0x2248], edx
mov edx, dword [eax]
test edx, edx
je 0x50b350
cmp edx, 0xffffffff
je 0x50ada9
lock sub dword [eax], 1
je 0x50b350
mov eax, dword [ebp - 0x2240]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x68c255
mov edx, dword [eax + 4]
mov dword [esp + 4], edx
add eax, dword [eax + 0xc]
mov dword [esp], eax
call dword [method.QString.compare_helper_QChar_const__int__char_const__int__Qt::CaseSensitivity_]
test eax, eax
lea esi, [ebp - 0x2248]
je 0x50b574
mov dword [esp], esi
lea ecx, [ebp - 0x227c]
call dword [method.QFileInfo.QFileInfo_QString_const_]
sub esp, 4
cmp byte [ebp - 0x22ad], 0
jne 0x50af38
mov eax, dword [ebp - 0x2248]
mov dword [ebp - 0x2268], 0
lea edi, [ebp - 0x226c]
mov dword [esp + 4], 0
xor ecx, ecx
lea esi, [ebp - 0x2264]
mov word [ebp - 0x2264], cx
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [ebp - 0x226c], esi
mov dword [esp], eax
call fcn.00615450
mov eax, dword [ebp - 0x2248]
sub esp, 8
mov ecx, dword [eax + 4]
add eax, dword [eax + 0xc]
lea edx, [ecx + ecx]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x226c]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x2248]
mov dword [esp + 4], 0
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00615450
lea eax, [ebp - 0x2278]
sub esp, 8
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x226c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [ebp - 0x226c]
sub esp, 0x14
cmp eax, esi
je 0x50aed3
mov dword [esp], eax
call fcn.0063e3b0
mov eax, dword [ebp - 0x2278]
test eax, eax
je 0x50af38
mov dword [esp + 4], eax
mov dword [esp], edi
lea esi, [ebp - 0x2254]
call dword [sym.imp.Qt5Gui.dll_qt_pixmapFromWinHICON_HICON___]
mov eax, dword [ebp - 0x2278]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [ebp - 0x2224]
sub esp, 4
test edx, edx
je 0x50b5c0
mov ecx, edi
mov esi, dword [method.QPixmap.isNull___const]
call esi
test al, al
mov ecx, dword [ebp - 0x2224]
je 0x50b600
test ecx, ecx
je 0x50b5c6
mov ecx, edi
call dword [method.QPixmap.QPixmap__]
lea eax, [ebp - 0x227c]
lea ecx, [ebp - 0x2284]
lea esi, [ebp - 0x2254]
mov dword [esp], eax
call dword [method.QFileInfo.fileName___const]
mov eax, dword [ebp - 0x224c]
mov edx, dword [ebp - 0x2284]
sub esp, 4
mov dword [ebp - 0x224c], edx
mov dword [ebp - 0x2284], eax
mov edx, dword [eax]
test edx, edx
je 0x50b374
cmp edx, 0xffffffff
je 0x50af87
lock sub dword [eax], 1
je 0x50b374
lea eax, [ebp - 0x2278]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x68c255
lea esi, [ebp - 0x2254]
mov dword [esp], eax
call dword [method.QString.fromUtf8_helper_char_const__int_]
mov eax, dword [ebp - 0x2238]
mov edx, dword [ebp - 0x2278]
mov dword [ebp - 0x2278], eax
mov dword [ebp - 0x2238], edx
mov edx, dword [eax]
test edx, edx
je 0x50b324
cmp edx, 0xffffffff
je 0x50afdd
lock sub dword [eax], 1
je 0x50b324
mov edx, dword [ebp - 0x2248]
mov byte [ebp - 0x222c], 0
mov dword [ebp - 0x226c], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x50b5b0
lea edi, [ebp - 0x226c]
lea ecx, [ebp - 0x2274]
mov dword [esp], edi
call fcn.0053b8a0
mov eax, dword [ebp - 0x226c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x50b2e0
cmp edx, 0xffffffff
je 0x50b03a
lock sub dword [eax], 1
mov eax, dword [ebp - 0x226c]
je 0x50b2e0
mov dword [esp + 4], 0xf
mov dword [esp], str.FileDescription
lea esi, [ebp - 0x2254]
call dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [ebp - 0x226c], eax
lea eax, [ebp - 0x2274]
lea ecx, [ebp - 0x2280]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0053b9a0
mov eax, dword [ebp - 0x226c]
sub esp, 0xc
mov edx, dword [eax]
test edx, edx
je 0x50b2c1
cmp edx, 0xffffffff
je 0x50b0a3
lock sub dword [eax], 1
mov eax, dword [ebp - 0x226c]
je 0x50b2c1
mov eax, dword [ebp - 0x2244]
mov edx, dword [ebp - 0x2280]
mov dword [ebp - 0x2280], eax
mov dword [ebp - 0x2244], edx
mov edx, dword [eax]
test edx, edx
je 0x50b300
cmp edx, 0xffffffff
je 0x50b0d4
lock sub dword [eax], 1
je 0x50b300
lea ecx, [ebp - 0x2274]
lea esi, [ebp - 0x2254]
call fcn.0053b870
mov eax, dword [ebp - 0x2244]
mov eax, dword [eax + 4]
test eax, eax
je 0x50b590
lea esi, [ebp - 0x2254]
mov ecx, dword [ebp + 8]
mov dword [esp], esi
call fcn.005932d0
sub esp, 4
lea ecx, [ebp - 0x227c]
call dword [method.QFileInfo.QFileInfo__]
mov eax, dword [ebp - 0x22a0]
mov dword [esp], eax
mov eax, dword [ebp - 0x22a4]
call eax
sub esp, 4
call dword [method.QThread.yieldCurrentThread__]
mov eax, dword [ebp - 0x2290]
mov edx, dword [eax]
test edx, edx
je 0x50b3a0
cmp edx, 0xffffffff
je 0x50b155
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2290]
je 0x50b3a0
mov ecx, dword [ebp - 0x2224]
mov dword [ebp - fcn.00596960], 0x6df284
test ecx, ecx
je 0x50b16e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2224], 0
mov edx, dword [eax]
test edx, edx
je 0x50b4a0
cmp edx, 0xffffffff
je 0x50b19d
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2234]
je 0x50b4a0
mov eax, dword [ebp - 0x2238]
mov edx, dword [eax]
test edx, edx
je 0x50b480
cmp edx, 0xffffffff
je 0x50b1c2
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2238]
je 0x50b480
mov eax, dword [ebp - 0x223c]
mov edx, dword [eax]
test edx, edx
je 0x50b460
cmp edx, 0xffffffff
je 0x50b1e7
lock sub dword [eax], 1
mov eax, dword [ebp - 0x223c]
je 0x50b460
mov eax, dword [ebp - 0x2240]
mov edx, dword [eax]
test edx, edx
je 0x50b3c0
cmp edx, 0xffffffff
je 0x50b20c
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2240]
je 0x50b3c0
mov eax, dword [ebp - 0x2244]
mov edx, dword [eax]
test edx, edx
je 0x50b3e9
cmp edx, 0xffffffff
je 0x50b231
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2244]
je 0x50b3e9
mov eax, dword [ebp - 0x2248]
mov edx, dword [eax]
test edx, edx
je 0x50b412
cmp edx, 0xffffffff
je 0x50b256
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2248]
je 0x50b412
mov eax, dword [ebp - 0x224c]
mov edx, dword [eax]
test edx, edx
je 0x50b43b
cmp edx, 0xffffffff
je 0x50b27b
lock sub dword [eax], 1
mov eax, dword [ebp - 0x224c]
je 0x50b43b
add dword [ebp - 0x229c], 4
mov eax, dword [ebp - 0x229c]
cmp eax, dword [ebp - 0x22a8]
jne 0x50ac10
mov eax, dword [ebp + 8]
mov dword [esp], 0x509690
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [ebp - 0x2274]
sub esp, 8
call fcn.0053b850
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50b0a3
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50b03a
mov eax, dword [ebp - 0x2280]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50b0d4
mov eax, dword [ebp - 0x2278]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50afdd
mov eax, dword [ebp - 0x2288]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50ada9
mov eax, dword [ebp - 0x2284]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50af87
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50b155
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x2244]
mov edx, dword [eax]
test edx, edx
jne 0x50b21c
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x2248]
mov edx, dword [eax]
test edx, edx
jne 0x50b241
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x224c]
mov edx, dword [eax]
test edx, edx
jne 0x50b266
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50b27b
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50b1e7
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50b1c2
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50b19d
lea eax, [ebp - 0x227c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x68c255
mov dword [esp], eax
call dword [method.QString.fromUtf8_helper_char_const__int_]
mov eax, dword [ebp - 0x2240]
mov edx, dword [ebp - 0x227c]
mov dword [ebp - 0x227c], eax
mov dword [ebp - 0x2240], edx
mov edx, dword [eax]
test edx, edx
je 0x50b510
cmp edx, 0xffffffff
je 0x50ac98
lock sub dword [eax], 1
jne 0x50ac98
mov eax, dword [ebp - 0x227c]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x50ac98
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 4
mov eax, dword [ebp - 0x228c]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x22a0]
mov dword [esp], eax
call sub.PSAPI.DLL_GetModuleFileNameExW
sub esp, 0x10
test eax, eax
je 0x50b116
jmp 0x50ad5d
mov dword [esp], esi
lea ecx, [ebp - 0x2240]
call dword [method.QString.operator_QString_const_]
sub esp, 4
jmp 0x50ade8
lea eax, [ebp - 0x224c]
lea ecx, [ebp - 0x2244]
mov dword [esp], eax
call dword [method.QString.operator_QString_const_]
sub esp, 4
jmp 0x50b0f6
lock add dword [edx], 1
jmp 0x50affe
mov esi, dword [method.QPixmap.isNull___const]
mov ecx, edi
call esi
test al, al
jne 0x50af30
mov dword [esp], 0x10
call fcn.0063e3f0
mov esi, eax
mov dword [esp], edi
mov ecx, eax
call dword [method.QPixmap.QPixmap_QPixmap_const_]
sub esp, 4
mov dword [ebp - 0x2224], esi
jmp 0x50af30
mov dword [esp], edi
call dword [method.QPixmap.operator_QPixmap_const_]
sub esp, 4
jmp 0x50af30