Function at 0x506280
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.005590c8
sub esp, eax
movzx eax, byte [ebp + 0xc]
mov esi, 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 [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [ebp - 0x2298]
mov dword [esp + 4], 0x28
mov dword [esp + 8], edx
mov dword [esp], eax
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.0053ace0
mov eax, dword [ebp - 0x2298]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x22a8], eax
call eax
sub esp, 4
lea eax, [ebp - 0x2294]
mov dword [esp + 8], eax
lea eax, [ebp - 0x2018]
mov dword [esp + 4], 0x2000
mov dword [esp], eax
call sub.PSAPI.DLL_EnumProcesses
sub esp, 0xc
test eax, eax
jne 0x506340
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.0053a040
test ebx, ebx
je 0x506a5d
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 - 0x22a4], eax
mov esi, esi
lea edi, [edi]
mov eax, dword [ebp - 0x229c]
lea esi, [ebp - 0x2290]
mov dword [ebp - fcn.005a0940], 0x706398
mov dword [ebp - 0x224c], ebx
mov eax, dword [eax]
mov dword [esp + 4], esi
mov dword [ebp - 0x2248], ebx
mov dword [esp], eax
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x2290], ebx
call fcn.00500cb0
test al, al
je 0x506a90
mov dword [esp], esi
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], 0x410
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
sub esp, 0xc
mov dword [ebp - 0x22a0], eax
test eax, eax
je 0x5068f3
mov dword [esp], str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
sub esp, 4
mov edi, eax
test eax, eax
je 0x5068b0
mov dword [esp + 4], str.QueryFullProcessImageNameW
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x5068a0
mov ecx, dword [ebp - 0x22a0]
lea edx, [ebp - 0x228c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0
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 0x5068b0
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 0x506cb0
cmp edx, 0xffffffff
je 0x506519
lock sub dword [eax], 1
je 0x506cb0
mov eax, dword [ebp - 0x2240]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x6b3175
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_]
lea esi, [ebp - 0x2248]
test eax, eax
je 0x506cd4
mov dword [esp], esi
lea ecx, [ebp - 0x227c]
call dword [method.QFileInfo.QFileInfo_QString_const_]
sub esp, 4
cmp byte [ebp - 0x22ad], 0
jne 0x5066bd
mov eax, dword [ebp - 0x2248]
xor ecx, ecx
lea esi, [ebp - 0x226c]
lea edi, [ebp - 0x2264]
mov dword [ebp - 0x2268], 0
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov word [ebp - 0x2264], cx
mov ecx, esi
mov dword [esp], eax
mov dword [ebp - 0x226c], edi
call fcn.0061b450
mov eax, dword [ebp - 0x2248]
sub esp, 8
mov edx, dword [ebp - 0x226c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x506618
add eax, dword [eax + 0xc]
mov dword [ebp - 0x22ac], eax
je 0x5065fd
lea eax, [ecx + ecx]
mov dword [esp], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x22ac]
mov dword [ebp - 0x22b4], ecx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x22b4]
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 4], 0
call fcn.0061b450
mov edx, dword [ebp - 0x226c]
sub esp, 8
lea eax, [ebp - 0x2278]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [ebp - 0x226c]
sub esp, 0x14
cmp eax, edi
je 0x506658
mov dword [esp], eax
call fcn.00641370
mov eax, dword [ebp - 0x2278]
test eax, eax
je 0x5066bd
mov dword [esp + 4], eax
lea edi, [ebp - 0x2254]
mov dword [esp], esi
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 0x506d20
mov ecx, esi
mov edi, dword [method.QPixmap.isNull___const]
call edi
mov ecx, dword [ebp - 0x2224]
test al, al
je 0x506d60
test ecx, ecx
je 0x506d26
mov ecx, esi
call dword [method.QPixmap.QPixmap__]
lea eax, [ebp - 0x227c]
lea ecx, [ebp - 0x2284]
mov dword [esp], eax
lea edi, [ebp - 0x2254]
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 0x506c84
cmp edx, 0xffffffff
je 0x50670c
lock sub dword [eax], 1
je 0x506c84
lea eax, [ebp - 0x2278]
mov dword [esp + 8], 0
lea edi, [ebp - 0x2254]
mov dword [esp + 4], 0x6b3175
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 0x506c60
cmp edx, 0xffffffff
je 0x506762
lock sub dword [eax], 1
je 0x506c60
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 0x506d10
lea esi, [ebp - 0x226c]
lea ecx, [ebp - 0x2274]
mov dword [esp], esi
call fcn.0053a0a0
mov eax, dword [ebp - 0x226c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x506c42
cmp edx, 0xffffffff
je 0x5067bf
lock sub dword [eax], 1
mov eax, dword [ebp - 0x226c]
je 0x506c42
mov dword [esp + 4], 0xf
lea edi, [ebp - 0x2254]
mov dword [esp], str.FileDescription
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], esi
mov dword [esp], eax
call fcn.0053a1b0
mov eax, dword [ebp - 0x226c]
sub esp, 0xc
mov edx, dword [eax]
test edx, edx
je 0x506c24
cmp edx, 0xffffffff
je 0x506828
lock sub dword [eax], 1
mov eax, dword [ebp - 0x226c]
je 0x506c24
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 0x506c00
cmp edx, 0xffffffff
je 0x506859
lock sub dword [eax], 1
je 0x506c00
lea ecx, [ebp - 0x2274]
lea edi, [ebp - 0x2254]
call fcn.0053a070
mov eax, dword [ebp - 0x2244]
mov eax, dword [eax + 4]
test eax, eax
je 0x506cf0
lea edi, [ebp - 0x2254]
mov ecx, dword [ebp + 8]
mov dword [esp], edi
call fcn.0059cc50
sub esp, 4
lea ecx, [ebp - 0x227c]
call dword [method.QFileInfo.QFileInfo__]
jmp 0x5068df
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 4
lea esi, [esi]
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
jne 0x5064cd
mov eax, dword [ebp - 0x22a0]
mov dword [esp], eax
mov eax, dword [ebp - 0x22a8]
call eax
sub esp, 4
call dword [method.QThread.yieldCurrentThread__]
mov eax, dword [ebp - 0x2290]
mov edx, dword [eax]
test edx, edx
je 0x506be0
cmp edx, 0xffffffff
je 0x50691e
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2290]
je 0x506be0
mov dword [ebp - fcn.005a0940], 0x706398
mov ecx, dword [ebp - 0x2224]
test ecx, ecx
je 0x506937
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x2224], 0
mov eax, dword [ebp - 0x2234]
mov edx, dword [eax]
test edx, edx
je 0x506bc0
cmp edx, 0xffffffff
je 0x506966
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2234]
je 0x506bc0
mov eax, dword [ebp - 0x2238]
mov edx, dword [eax]
test edx, edx
je 0x506ba0
cmp edx, 0xffffffff
je 0x50698b
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2238]
je 0x506ba0
mov eax, dword [ebp - 0x223c]
mov edx, dword [eax]
test edx, edx
je 0x506b80
cmp edx, 0xffffffff
je 0x5069b0
lock sub dword [eax], 1
mov eax, dword [ebp - 0x223c]
je 0x506b80
mov eax, dword [ebp - 0x2240]
mov edx, dword [eax]
test edx, edx
je 0x506b60
cmp edx, 0xffffffff
je 0x5069d5
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2240]
je 0x506b60
mov eax, dword [ebp - 0x2244]
mov edx, dword [eax]
test edx, edx
je 0x506b40
cmp edx, 0xffffffff
je 0x5069fa
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2244]
je 0x506b40
mov eax, dword [ebp - 0x2248]
mov edx, dword [eax]
test edx, edx
je 0x506b22
cmp edx, 0xffffffff
je 0x506a1f
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2248]
je 0x506b22
mov eax, dword [ebp - 0x224c]
mov edx, dword [eax]
test edx, edx
je 0x506b04
cmp edx, 0xffffffff
je 0x506a44
lock sub dword [eax], 1
mov eax, dword [ebp - 0x224c]
je 0x506b04
add dword [ebp - 0x229c], 4
mov eax, dword [ebp - 0x229c]
cmp eax, dword [ebp - 0x22a4]
jne 0x506380
mov eax, dword [ebp + 8]
mov dword [esp], 0x504ec0
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
sub esp, 8
lea ecx, [ebp - 0x2274]
call fcn.0053a050
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x227c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6b3175
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 0x506ae0
cmp edx, 0xffffffff
je 0x506408
lock sub dword [eax], 1
jne 0x506408
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 0x506408
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 0x506a44
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 0x506a1f
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 0x5069fa
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 0x5069d5
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 0x5069b0
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 0x50698b
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 0x506966
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 0x50691e
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 0x506859
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 0x506828
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 0x5067bf
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 0x506762
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 0x50670c
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 0x506519
mov dword [esp], esi
lea ecx, [ebp - 0x2240]
call dword [method.QString.operator_QString_const_]
sub esp, 4
jmp 0x506558
lea eax, [ebp - 0x224c]
lea ecx, [ebp - 0x2244]
mov dword [esp], eax
call dword [method.QString.operator_QString_const_]
sub esp, 4
jmp 0x50687b
lock add dword [edx], 1
jmp 0x506783
mov edi, dword [method.QPixmap.isNull___const]
mov ecx, esi
call edi
test al, al
jne 0x5066b5
mov dword [esp], 0x10
call fcn.006413b0
mov edi, eax
mov dword [esp], esi
mov ecx, eax
call dword [method.QPixmap.QPixmap_QPixmap_const_]
sub esp, 4
mov dword [ebp - 0x2224], edi
jmp 0x5066b5
mov dword [esp], esi
call dword [method.QPixmap.operator_QPixmap_const_]
sub esp, 4
jmp 0x5066b5