Function at 0x40a5e0
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [ebp - 0x44], ecx
mov dword [esp + 4], 0xc
mov dword [esp], 0x46934d
mov dword [ebp - 0x40], eax
call eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [method.QDir.currentPath__]
mov dword [ebp - 0x50], eax
call eax
mov eax, dword [ebp - 0x34]
mov edi, dword [eax]
mov dword [ebp - 0x30], eax
lea edx, [edi + 1]
cmp edx, 1
jbe 0x40a62f
lock add dword [eax], 1
setne dl
mov eax, dword [method.QString.fromUtf8_helper_char_const__int_]
lea ebx, [ebp - 0x1c]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 0x46935a
mov dword [esp], ebx
mov dword [ebp - 0x4c], eax
call eax
lea eax, [ebp - 0x30]
mov dword [esp], ebx
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov eax, dword [method.QString.append_QString_const_]
mov dword [ebp - 0x48], eax
call eax
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x40ad90
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x24]
mov dword [esp + 0x1c], 0x48c07c
mov dword [esp + 0x18], 0x48c080
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [esp + 8], edi
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x24], 0x5a
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x300000
mov dword [ebp - 0x2c], 2
mov dword [esp], eax
call fcn.00451950
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
test edx, edx
jne 0x40ad70
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
test edx, edx
jne 0x40ad50
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
test edx, edx
jne 0x40ad30
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
movzx eax, byte [0x468004]
mov dword [ebp - 0x1c], 2
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0x469372
mov dword [esp], edi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
call eax
mov dword [esp], 0x48c094
mov ecx, edi
call dword [ebp - 0x48]
sub esp, 4
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0
mov dword [esp], 0x46934c
call eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x18], 0x90
mov dword [esp + 0x14], str.Widget.cpp
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.004546e0
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
test edx, edx
jne 0x40ad10
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
test edx, edx
jne 0x40acf0
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004572e0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x48c094]
mov ecx, ebx
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004572e8
mov ecx, dword [ebp - 0x1c]
sub esp, 8
mov eax, dword [ecx - 4]
test eax, eax
js 0x40a86c
mov ecx, ebx
call fcn.004572f0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x48c094]
mov edx, dword [eax + 4]
add eax, dword [eax + 0xc]
mov dword [esp], ecx
add edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [0x48c094]
mov dword [esp + 4], 0
mov ecx, ebx
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004572e8
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0x1f0001
mov dword [esp + 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x54], eax
call eax
mov ecx, dword [ebp - 0x44]
sub esp, 0xc
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x1c]
mov eax, 0xffffffff
lock xadd dword [ecx - 4], eax
test eax, eax
jle 0x40adf1
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0xc
mov dword [esp], 0x46934d
test eax, eax
mov eax, dword [ebp - 0x40]
je 0x40ae20
call eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [ebp - 0x50]
call eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x30], eax
lea edx, [ecx + 1]
cmp edx, 1
jbe 0x40a92b
lock add dword [eax], 1
setne dl
mov dword [esp + 8], 0x17
mov dword [esp + 4], 0x46935a
mov dword [esp], ebx
mov eax, dword [ebp - 0x4c]
call eax
mov dword [esp], ebx
mov ecx, dword [ebp - 0x3c]
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x40adb3
cmp edx, 0xffffffff
je 0x40a970
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x40adb0
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x1c], 0x48c07c
mov dword [esp + 0x18], 0x48c080
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x24], 0x5a
mov dword [ebp - 0x28], 0x300000
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 2
mov dword [esp], eax
call fcn.00451950
mov ecx, dword [ebp - 0x3c]
call fcn.0045f6e0
lea ecx, [ebp - 0x34]
call fcn.0045f6e0
mov ecx, esi
call fcn.0045f6e0
movzx eax, byte [0x468004]
mov dword [ebp - 0x1c], 2
mov dword [esp + 4], 0x15
mov dword [esp], 0x4693d2
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
call eax
mov dword [esp + 4], 0
mov dword [ebp - 0x20], eax
mov dword [esp], 0x46934c
mov eax, dword [ebp - 0x40]
call eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x18], 0x98
mov dword [esp + 0x14], str.Widget.cpp
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.004546e0
mov ecx, edi
call fcn.0045f6e0
mov ecx, esi
call fcn.0045f6e0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004572e0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x48c088]
mov ecx, ebx
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004572e8
mov ecx, dword [ebp - 0x1c]
sub esp, 8
mov eax, dword [ecx - 4]
test eax, eax
js 0x40aaa0
mov ecx, ebx
call fcn.004572f0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x48c088]
mov edx, dword [eax + 4]
add eax, dword [eax + 0xc]
mov dword [esp], ecx
add edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [0x48c088]
mov dword [esp + 4], 0
mov ecx, ebx
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004572e8
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0x1f0001
mov dword [esp + 8], eax
call dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [edx + 0x20], eax
mov eax, 0xffffffff
lock xadd dword [ecx - 4], eax
test eax, eax
jle 0x40ae04
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
mov dword [esp + 4], 0xc
mov dword [esp], 0x46934d
test eax, eax
mov eax, dword [ebp - 0x40]
je 0x40af40
call eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [ebp - 0x50]
call eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x30], eax
lea edx, [ecx + 1]
cmp edx, 1
jbe 0x40ab58
lock add dword [eax], 1
setne dl
mov dword [esp + 8], 0x17
mov dword [esp + 4], 0x46935a
mov dword [esp], ebx
mov eax, dword [ebp - 0x4c]
call eax
mov dword [esp], ebx
mov ecx, dword [ebp - 0x3c]
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x40add1
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x1c], 0x48c07c
mov dword [esp + 0x18], 0x48c080
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x24], 0x5a
mov dword [ebp - 0x28], 0x300000
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 2
mov dword [esp], eax
call fcn.00451950
mov ecx, dword [ebp - 0x3c]
call fcn.0045f6e0
lea ecx, [ebp - 0x34]
call fcn.0045f6e0
mov ecx, esi
call fcn.0045f6e0
movzx eax, byte [0x468004]
mov dword [ebp - 0x1c], 2
mov dword [esp + 4], 0x15
mov dword [esp], 0x4693e8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
call eax
mov dword [esp + 4], 0
mov dword [ebp - 0x20], eax
mov dword [esp], 0x46934c
mov eax, dword [ebp - 0x40]
call eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x18], 0x9b
mov dword [esp + 0x14], str.Widget.cpp
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.004546e0
mov ecx, edi
call fcn.0045f6e0
mov ecx, esi
call fcn.0045f6e0
mov dword [ebp - 0x1c], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x409050
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x1c]
sub esp, 8
test eax, eax
je 0x40ace6
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x480
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x44]
sub esp, 0x10
mov dword [esp + 4], 0x1388
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 0xffffffff
je 0x40a820
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40a820
mov eax, dword [ebp - 0x24]
jmp 0x40a807
cmp edx, 0xffffffff
je 0x40a7fa
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40a7fa
mov eax, dword [ebp - 0x20]
jmp 0x40a7e1
cmp edx, 0xffffffff
je 0x40a756
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40a756
mov eax, dword [ebp - 0x20]
jmp 0x40a73d
cmp edx, 0xffffffff
je 0x40a730
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40a730
mov eax, dword [ebp - 0x34]
jmp 0x40a717
cmp edx, 0xffffffff
je 0x40a70a
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40a70a
mov eax, dword [ebp - 0x30]
jmp 0x40a6f1
cmp edx, 0xffffffff
je 0x40a68d
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40a68d
mov eax, dword [ebp - 0x1c]
jmp 0x40a674
mov eax, dword [ebp - 0x1c]
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 0x40a970
cmp edx, 0xffffffff
je 0x40aba2
lock sub dword [eax], 1
setne dl
test dl, dl
jne 0x40aba2
mov eax, dword [ebp - 0x1c]
jmp 0x40ab89
sub ecx, 0xc
mov dword [esp], esi
call fcn.004572f8
sub esp, 4
jmp 0x40a8e4
sub ecx, 0xc
mov dword [esp], esi
call fcn.004572f8
sub esp, 4
jmp 0x40ab11
call eax
lea edx, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x50]
mov dword [esp], edx
call ecx
lea edx, [ebp - 0x34]
mov dword [esp + 8], 0x46935a
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp], edx
call fcn.004602a0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x1c], 0x48c07c
mov dword [esp + 0x18], 0x48c080
mov dword [esp + 0x14], ebx
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x2c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 8], edi
mov dword [esp], ecx
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x24], 0x5a
mov dword [ebp - 0x28], 0x300000
mov dword [ebp - 0x2c], 2
call fcn.00451950
mov ecx, dword [ebp - 0x3c]
call fcn.0045f6e0
lea ecx, [ebp - 0x34]
call fcn.0045f6e0
mov ecx, ebx
call fcn.0045f6e0
movzx edx, byte [0x468004]
mov dword [ebp - 0x1c], 2
mov dword [esp + 4], 0x15
mov dword [esp], 0x46938a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], edx
call eax
mov dword [esp + 4], 0
mov dword [ebp - 0x20], eax
mov dword [esp], 0x46934c
mov eax, dword [ebp - 0x40]
call eax
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x18], 0x94
mov dword [esp + 0x14], str.Widget.cpp
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp], edi
mov dword [ebp - 0x24], eax
call fcn.004546e0
mov ecx, edi
call fcn.0045f6e0
mov ecx, esi
call fcn.0045f6e0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call eax
lea edx, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x50]
mov dword [esp], edx
call ecx
lea edx, [ebp - 0x34]
mov dword [esp + 8], 0x46935a
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp], edx
call fcn.004602a0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x1c], 0x48c07c
mov dword [esp + 0x18], 0x48c080
mov dword [esp + 0x14], ebx
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x2c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 8], edi
mov dword [esp], ecx
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x24], 0x5a
mov dword [ebp - 0x28], 0x300000
mov dword [ebp - 0x2c], 2
call fcn.00451950
mov ecx, dword [ebp - 0x3c]
call fcn.0045f6e0
lea ecx, [ebp - 0x34]
call fcn.0045f6e0
mov ecx, ebx
call fcn.0045f6e0
movzx edx, byte [0x468004]
mov dword [ebp - 0x1c], 2
mov dword [esp + 4], 0x15
mov dword [esp], 0x4693fe
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], edx
call eax
mov dword [esp + 4], 0
mov dword [ebp - 0x20], eax
mov dword [esp], 0x46934c
mov eax, dword [ebp - 0x40]
call eax
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x18], 0x9e
mov dword [esp + 0x14], str.Widget.cpp
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp], edi
mov dword [ebp - 0x24], eax
call fcn.004546e0
jmp 0x40ac78