Function at 0x1800545e0
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
xor esi, esi
add rcx, 8
xor edx, edx
call fcn.18015cbd0
test al, al
jne 0x180054846
mov rbx, qword [0x18067b500]
test rbx, rbx
je 0x180054846
lea rcx, [rbp - 0x38]
call fcn.1801f89d0
mov rdi, rax
mov rdx, qword [rbx]
mov r8, qword [rdx + 8]
lea rdx, [rbp + 0x48]
mov rcx, rbx
call r8
mov rbx, rax
mov qword [rbp + 0x38], rax
lea r8, [0x1805a8761]
lea rdx, [0x1805a8760]
mov rcx, rax
call fcn.18017cea0
mov rcx, qword [rbx]
mov qword [rbp + 0x30], rcx
add rcx, 0xfffffffffffffff0
lea r14, [0x180660020]
cmp rcx, r14
je 0x18005466a
lock inc dword [rcx]
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff0
mov ebx, 0xffffffff
cmp rcx, r14
je 0x18005468c
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, ebx
jne 0x18005468c
call fcn.18011d9c0
lea rax, [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.1801936e0
mov rcx, qword [rax]
mov qword [rbp + 0x40], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1800546b3
lock inc dword [rcx]
mov rcx, qword [rbp + 0x30]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1800546d3
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800546d3
call fcn.18011d9c0
nop
mov rax, qword [0x180686018]
nop
test rax, rax
je 0x1800547f9
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x38], rax
add rax, 0xfffffffffffffff0
cmp rax, r14
je 0x1800546f8
lock inc dword [rax]
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
lea rdx, [rbp - 0x28]
lea rcx, [0x180056650]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [rbp - 0x1c]
sub eax, 1
movsxd rdi, eax
js 0x1800547cc
mov qword [rbp - 0x18], 0xc403
mov rax, qword [rbp + 0x38]
mov rdx, rsi
nop
movzx ecx, byte [rax]
inc rax
test cl, cl
jns 0x180054763
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x180054767
nop word [rax + rax]
inc rax
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
je 0x180054750
inc rdx
jmp 0x180054730
test ecx, ecx
je 0x18005476c
inc rdx
jmp 0x180054730
lea eax, [rdx*4 + 4]
mov dword [rbp - 0x10], eax
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.180017e30
mov rax, qword [rbp - 0x40]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x28]
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x1f40
mov dword [rsp + 0x20], 3
lea r9, [rbp - 0x18]
mov r8, qword [0x18067b4b8]
mov edx, 0x4a
mov rcx, qword [rax + rdi*8]
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
sub rdi, 1
jns 0x180054720
mov dword [rbp - 0x1c], esi
mov rcx, qword [rbp - 0x28]
call fcn.180124068
nop
mov rcx, qword [rbp + 0x38]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1800547f9
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800547f9
call fcn.18011d9c0
nop
mov rcx, qword [rbp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x180054819
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180054819
call fcn.18011d9c0
nop
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x180054836
lock xadd dword [rcx], ebx
dec ebx
cmp ebx, 0xffffffff
jne 0x180054836
call fcn.18011d9c0
mov al, 1
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor al, al
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x28
mov r15, rcx
mov dword [rsp + 0x60], 0
mov ecx, 0x48
call fcn.18011dae8
mov r14, rax
mov qword [rsp + 0x78], rax
mov rdx, qword [r15]
mov r8, qword [rdx + 8]
lea rdx, [rsp + 0x70]
mov rcx, r15
call r8
mov rbx, rax
mov dword [rsp + 0x60], 1
lea rax, vtable.juce::JUCEApplicationBase::MultipleInstanceHandler.0
mov qword [r14], rax
lea rdx, str.juceAppLock_
lea rcx, [rsp + 0x68]
call fcn.18001d070
nop
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1801936e0
mov rbx, qword [rax]
lea rsi, [rbx - 0x10]
lea rbp, [0x180660020]
cmp rsi, rbp
je 0x1801f8b16
lock inc dword [rsi]
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff0
mov edi, 0xffffffff
cmp rcx, rbp
je 0x1801f8b3a
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, edi
jne 0x1801f8b3a
call fcn.18011d9c0
mov qword [r14 + 8], 0
lea rcx, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [r14 + 0x40], rbx
cmp rsi, rbp
je 0x1801f8b6d
lock inc dword [rsi]
mov eax, edi
lock xadd dword [rsi], eax
dec eax
cmp eax, edi
jne 0x1801f8b6d
mov rcx, rsi
call fcn.18011d9c0
nop
mov rbx, qword [r15 + 0x10]
mov qword [r15 + 0x10], r14
test rbx, rbx
je 0x1801f8b91
lea rcx, [rbx + 8]
call fcn.18015cce0
mov edx, 0x48
mov rcx, rbx
call fcn.18011d9c0
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff0
cmp rcx, rbp
je 0x1801f8baf
lock xadd dword [rcx], edi
dec edi
cmp edi, 0xffffffff
jne 0x1801f8baf
call fcn.18011d9c0
mov rcx, qword [r15 + 0x10]
add rsp, 0x28
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp 0x1800545e0