Function at 0x14001ec00
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x98
xor esi, esi
add rcx, 8
xor edx, edx
call fcn.14014d350
test al, al
jne 0x14001ee83
mov rbx, qword [0x14043c848]
test rbx, rbx
je 0x14001ee83
lea rcx, [rbp - 0x11]
call fcn.14018b290
mov rdi, rax
mov r8, qword [rbx]
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rbx, rax
mov qword [rbp - 9], rax
lea r8, [0x140393589]
lea rdx, [0x140393588]
mov rcx, rax
call fcn.14016b200
mov rdx, qword [rbx]
mov qword [rbp + 0x67], rdx
mov ecx, dword [rdx - 0x10]
nop
test ecx, 0x30000000
jne 0x14001ec84
lock inc dword [rdx - 0x10]
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
mov ebx, 0xffffffff
test eax, 0x30000000
jne 0x14001ecab
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, ebx
jne 0x14001ecab
call fcn.1400daaa8
lea rax, [rbp + 0x67]
mov qword [rbp + 0x77], rax
mov rdx, rdi
lea rcx, [rbp + 0x67]
call fcn.140181250
mov rcx, qword [rax]
mov qword [rbp + 0x77], rcx
mov eax, dword [rcx - 0x10]
nop
test eax, 0x30000000
jne 0x14001ecd5
lock inc dword [rcx - 0x10]
mov rcx, qword [rbp + 0x67]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14001ecfa
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14001ecfa
call fcn.1400daaa8
nop
mov rax, qword [0x140441ca8]
nop
test rax, rax
je 0x14001ee2e
mov rax, qword [rbp + 0x77]
mov qword [rbp + 0x6f], rax
mov ecx, dword [rax - 0x10]
nop
test ecx, 0x30000000
jne 0x14001ed23
lock inc dword [rax - 0x10]
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], rsi
lea rdx, [rbp + 7]
lea rcx, [0x1400209d0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [rbp + 0x13]
sub eax, 1
movsxd rdi, eax
js 0x14001edfc
nop dword [rax + rax]
mov qword [rbp + 0x17], 0xc403
mov rax, qword [rbp + 0x6f]
mov rdx, rsi
nop
movzx ecx, byte [rax]
inc rax
test cl, cl
jns 0x14001ed93
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x14001ed97
nop word [rax + rax]
inc rax
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
je 0x14001ed80
inc rdx
jmp 0x14001ed60
test ecx, ecx
je 0x14001ed9c
inc rdx
jmp 0x14001ed60
lea eax, [rdx*4 + 4]
mov dword [rbp + 0x1f], eax
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 0x19]
call fcn.140014bb0
mov rax, qword [rbp - 0x19]
mov qword [rbp + 0x27], rax
mov rax, qword [rbp + 7]
lea rcx, [rbp - 1]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x1f40
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x17]
mov r8, qword [0x14043c808]
mov edx, 0x4a
mov rcx, qword [rax + rdi*8]
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
sub rdi, 1
jns 0x14001ed50
mov dword [rbp + 0x13], esi
mov rcx, qword [rbp + 7]
call fcn.1400e1bf4
nop
mov rcx, qword [rbp + 0x6f]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14001ee2e
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14001ee2e
call fcn.1400daaa8
nop
mov rcx, qword [rbp + 0x77]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14001ee53
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14001ee53
call fcn.1400daaa8
nop
mov rcx, qword [rbp - 0x11]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14001ee75
lock xadd dword [rcx], ebx
dec ebx
cmp ebx, 0xffffffff
jne 0x14001ee75
call fcn.1400daaa8
mov al, 1
add rsp, 0x98
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor al, al
add rsp, 0x98
pop rdi
pop rsi
pop rbx
pop rbp
ret
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15, rcx
mov dword [rsp + 0x50], 0
mov ecx, 0x48
call fcn.1400daadc
mov r14, rax
mov qword [rsp + 0x68], rax
mov r8, qword [r15]
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rbx, rax
mov dword [rsp + 0x50], 1
lea rax, vtable.juce::JUCEApplicationBase::MultipleInstanceHandler.0
mov qword [r14], rax
lea rdx, str.juceAppLock_
lea rcx, [rsp + 0x58]
call fcn.1400199a0
nop
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140181250
mov rbx, qword [rax]
mov eax, dword [rbx - 0x10]
nop
test eax, 0x30000000
jne 0x14018b3de
lock inc dword [rbx - 0x10]
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
mov esi, 0xffffffff
test eax, 0x30000000
jne 0x14018b407
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jne 0x14018b407
call fcn.1400daaa8
mov qword [r14 + 8], 0
lea rcx, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [r14 + 0x40], rbx
mov eax, dword [rbx - 0x10]
nop
test eax, 0x30000000
jne 0x14018b42c
lock inc dword [rbx - 0x10]
mov eax, dword [rbx - 0x10]
nop
test eax, 0x30000000
jne 0x14018b44e
mov eax, esi
lock xadd dword [rbx - 0x10], eax
dec eax
cmp eax, esi
jne 0x14018b44e
lea rcx, [rbx - 0x10]
call fcn.1400daaa8
nop
mov rcx, qword [r15 + 0x10]
mov qword [r15 + 0x10], r14
test rcx, rcx
je 0x14018b466
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14018b489
lock xadd dword [rcx], esi
dec esi
cmp esi, 0xffffffff
jne 0x14018b489
call fcn.1400daaa8
mov rcx, qword [r15 + 0x10]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbx
jmp 0x14001ec00