Function at 0x1400ba240
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
add rcx, 0x30
lea rdx, [rsp + 0x70]
call fcn.1400d4c30
nop
mov rbx, qword [rdi + 0x70]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
test rbx, rbx
je 0x1400ba2dc
mov qword [rsp + 0x48], rbx
mov eax, 1
lock xadd dword [rbx], eax
inc eax
cmp eax, 1
jle 0x1400ba2ca
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
cmp dword [rbx + 4], ecx
je 0x1400ba2d9
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
mov dword [rbx + 4], ecx
inc dword [rbx + 8]
xor r15d, r15d
mov qword [rsp + 0x68], r15
test r14, r14
je 0x1400ba327
mov dword [rsp + 0x20], 0x3075dbe3
mov dword [rsp + 0x24], 0x4cfa8718
mov dword [rsp + 0x28], 0x1421fb86
mov dword [rsp + 0x2c], 0x51a4a5c0
mov rax, qword [r14]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [rax + 0x10]
test eax, eax
jne 0x1400ba327
mov rbx, qword [rsp + 0x68]
jmp 0x1400ba32f
mov rbx, r15
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
mov rsi, qword [rdi + 0x78]
cmp rsi, rbx
je 0x1400ba35d
mov qword [rdi + 0x78], rbx
test rbx, rbx
je 0x1400ba34e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test rsi, rsi
je 0x1400ba35d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
test rbx, rbx
je 0x1400ba36c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rdi + 0x78]
mov qword [rsp + 0x30], rcx
test rcx, rcx
je 0x1400ba37f
mov rax, qword [rcx]
call qword [rax]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.140098e40
nop
movzx esi, byte [rdi + 0x620]
cmp qword [rdi + 0x78], 0
je 0x1400ba3d3
mov ecx, dword [rbp - 0x40]
bt ecx, 8
jb 0x1400ba3ae
cmp byte [rdi + 0x621], 0
je 0x1400ba3d3
cmp byte [rdi + 0x623], 0
je 0x1400ba3d3
shr ecx, 5
and cl, 1
mov byte [rdi + 0x620], cl
mov rax, qword [rdi]
movzx edx, cl
mov rcx, rdi
call qword [rax + 0x78]
mov bl, 1
jmp 0x1400ba3f9
mov byte [rdi + 0x620], 0
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x78]
xor bl, bl
mov byte [rdi + 0x623], bl
lea rcx, [rdi + 0x158]
call fcn.1400c2e60
movzx ecx, byte [rdi + 0x620]
cmp sil, cl
je 0x1400ba419
mov rax, qword [rdi]
neg cl
sbb rdx, rdx
and edx, 5
mov rcx, rdi
call qword [rax + 0xa0]
movzx eax, byte [rdi + 0x4f8]
cmp bl, al
je 0x1400ba46c
test bl, bl
je 0x1400ba44c
test al, al
jne 0x1400ba44c
mov dword [rbp - 0x80], 7
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
lea rdx, [rbp - 0x80]
lea rcx, [0x140071840]
call qword [sym.imp.USER32.dll_EnumWindows]
mov byte [rdi + 0x4f8], bl
call fcn.1400616f0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8097
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rdi + 0x4f8], 0
je 0x1400ba4b9
cmp byte [rdi + 0x138], 0
jne 0x1400ba4b9
cmp byte [rdi + 0x624], 0
jne 0x1400ba4f2
lea rbx, [rdi + 0x4d0]
test rdi, rdi
cmove rbx, r15
call fcn.1400616f0
mov rcx, rax
mov r9, rbx
mov edx, 7
mov r8d, 0x8085
call fcn.1400572d0
mov byte [rdi + 0x624], 1
jmp 0x1400ba4f2
cmp byte [rdi + 0x624], 0
je 0x1400ba4f2
lea rbx, [rdi + 0x4d0]
test rdi, rdi
cmove rbx, r15
call fcn.1400616f0
mov rcx, rax
mov r9, rbx
mov edx, 7
mov r8d, 0x8085
call fcn.140057a80
mov byte [rdi + 0x624], 0
mov ecx, dword [rdi + 0x4e8]
mov dword [rsp + 0x38], ecx
mov edx, dword [rdi + 0x4ec]
mov dword [rsp + 0x3c], edx
add ecx, dword [rdi + 0x4f0]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rdi + 0x4f4]
add ecx, edx
mov dword [rsp + 0x44], ecx
movzx eax, byte [rdi + 0x4f8]
mov rcx, qword [rdi + 0x5b8]
mov byte [rcx + 0x10], al
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rcx + 0x14], xmm0
cmp qword [rdi + 0x610], 0
je 0x1400ba5a5
mov rcx, qword [rdi + 0x600]
dec rcx
and rcx, qword [rdi + 0x608]
mov rax, qword [rdi + 0x5f8]
mov rcx, qword [rax + rcx*8]
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x50], xmm1
lea rdx, [rbp - 0x60]
lea rcx, [0x14002eb20]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rdi + 0x610]
sub rax, 1
mov qword [rdi + 0x610], rax
jne 0x1400ba599
mov qword [rdi + 0x608], r15
jmp 0x1400ba5a0
inc qword [rdi + 0x608]
test rax, rax
jne 0x1400ba540
mov rdx, r14
mov rcx, rdi
call fcn.140085670
mov esi, eax
lea rcx, [rbp - 0x38]
call fcn.140012020
nop
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400ba600
add dword [rcx + 8], 0xffffffff
mov r8d, dword [rcx + 8]
jne 0x1400ba5d9
mov dword [rcx + 4], r15d
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
je 0x1400ba600
test r8d, r8d
jne 0x1400ba600
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400ba638
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400ba638
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400ba638
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, esi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret