Function at 0x1400bcf00
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c58]
mov eax, 0x2d58
call fcn.140139ab0
sub rsp, rax
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x2c40], rax
mov r13d, r9d
mov rbx, r8
mov r14d, edx
mov dword [rsp + 0x70], edx
mov rdi, rcx
mov qword [rbp - 0x50], rcx
mov r12, qword [rbp + 0x2cc8]
mov rsi, qword [rbp + 0x2ce0]
mov qword [rbp - 0x78], rsi
xor r15d, r15d
test rcx, rcx
je 0x1400bd460
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x1400bcf80
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400bcf80
mov qword [rdi + 0x40], r15
mov qword [rdi + 0x28], r15
cmp qword [rdi + 0x28], r15
je 0x1400bcf90
cmp qword [rdi + 0x28], rbx
jne 0x1400bd460
mov rdx, qword [rdi]
lea rcx, [rbp - 0x70]
call fcn.140114b28
nop
mov edx, 1
mov rcx, qword [0x14021c740]
call fcn.140087888
mov r15d, dword [rbp + 0x2cd0]
test eax, eax
je 0x1400bd1b4
mov rcx, qword [rbp - 0x68]
add rcx, 0x18
call fcn.14010a2b4
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov r8d, eax
lea rdx, str.SetGuiMode:_BackWndx_08X__Flagsx_04X__PID_u
lea rcx, [rbp + 0x2420]
call fcn.1400011bc
xor r14d, r14d
mov r15, qword [rbp - 0x78]
mov edi, dword [rbp + 0x2cc0]
xor esi, esi
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x2210]
call fcn.14013b230
mov ecx, r14d
test r14d, r14d
je 0x1400bd0a3
sub ecx, 1
je 0x1400bd084
sub ecx, 1
je 0x1400bd059
cmp ecx, 1
jne 0x1400bd118
test rbx, rbx
je 0x1400bd17d
lea rsi, str.Title
mov r8d, 0x102
lea rdx, [rbp + 0x2210]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400bd118
test rbx, rbx
je 0x1400bd17d
lea rsi, str.Class
mov r8d, 0x102
lea rdx, [rbp + 0x2210]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
jmp 0x1400bd118
lea rsi, str.File
mov r8d, 0x103
mov rdx, r12
lea rcx, [rbp + 0x2210]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x1400bd118
test rbx, rbx
je 0x1400bd17d
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp - 0x34]
mov dword [rsp + 0x68], eax
mov eax, dword [rbp - 0x38]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp - 0x3c]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x50], eax
mov eax, dword [r15 + 0xc]
mov dword [rsp + 0x48], eax
mov eax, dword [r15 + 8]
mov dword [rsp + 0x40], eax
mov eax, dword [r15 + 4]
mov dword [rsp + 0x38], eax
mov eax, dword [r15]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r13d
mov r9d, dword [rbp - 0x80]
mov r8d, ebx
lea rdx, str.hGuiWndx_08X__Stylex_08X__StyleExx_08X__Prev_i__i__i__i__Back_i__i__i__i
lea rcx, [rbp + 0x2210]
call fcn.1400a899c
lea r8, [0x14016b5dc]
mov edx, 0x410
lea rcx, [rbp + 0x2420]
call fcn.140001f38
test rsi, rsi
je 0x1400bd162
mov r8, rsi
mov esi, 0x410
mov edx, esi
lea rcx, [rbp + 0x2420]
call fcn.140001f38
lea r8, [0x140191780]
mov edx, esi
lea rcx, [rbp + 0x2420]
call fcn.140001f38
jmp 0x1400bd167
mov esi, 0x410
lea r8, [rbp + 0x2210]
mov rdx, rsi
lea rcx, [rbp + 0x2420]
call fcn.140001f38
inc r14d
cmp r14d, 3
jle 0x1400bcff9
mov r9b, 1
mov r8b, r9b
lea rdx, [rbp + 0x2420]
mov rdi, qword [rbp - 0x50]
mov rcx, qword [rdi + 8]
call fcn.140016cd0
mov r15d, dword [rbp + 0x2cd0]
mov rsi, qword [rbp - 0x78]
mov r14d, dword [rsp + 0x70]
mov ecx, r15d
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp qword [rdi + 0x28], 0
jne 0x1400bd1cc
movups xmm0, xmmword [rsi]
movdqu xmmword [rdi + 0x50], xmm0
mov dword [rdi + 0x4c], r14d
mov rcx, r12
call fcn.140125c18
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x2cd8]
mov r8d, r15d
mov rdx, rbx
mov rcx, rdi
call fcn.1400c4478
mov eax, r13d
shr eax, 0x1c
not al
and al, 1
mov byte [rdi + 0x65], al
mov dword [rdi + 0x68], r13d
mov esi, dword [rbp + 0x2cc0]
mov dword [rdi + 0x6c], esi
mov byte [rdi + 0x60], 0
test rbx, rbx
je 0x1400bd221
mov rcx, qword [rdi]
add rcx, 0x18
call fcn.14010b9c4
mov rcx, rdi
call fcn.1400b1cac
mov rcx, qword [rdi]
add rcx, 0x18
call fcn.14010a2c4
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400bd25f
xor edx, edx
call fcn.14011f298
test al, al
je 0x1400bd25f
mov rcx, qword [rdi + 0x4270]
call fcn.1400a28b0
mov edx, 0x2e
mov r8d, 0x698
lea rcx, [rbp - 0x30]
call fcn.14012639c
mov dword [rbp], r14d
mov eax, dword [0x14021c5e0]
mov dword [rbp + 0x10], eax
mov rcx, qword [rdi]
add rcx, 0x18
call fcn.14010a2c4
mov dword [rbp + 0x14], eax
mov rcx, qword [rdi]
add rcx, 0x18
call fcn.14010a2b4
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], ebx
mov dword [rbp + 0x38], r13d
mov dword [rbp + 0x3c], esi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
lea r9, [rdi + 0x88]
lea r8, [rbp + 0x40]
mov edx, esi
mov ecx, r13d
call fcn.1400ac908
mov dword [rbp + 4], r15d
xor esi, esi
test r12, r12
je 0x1400bd2df
mov rdx, r12
lea rcx, [rbp + 0x258]
call fcn.14000d278
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ebx, eax
mov ecx, dword [rdi + 0x690]
test ecx, ecx
jne 0x1400bd2f7
mov ecx, dword [rdi + 0x644]
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, qword [0x14021c5e0]
lea rdx, [rbp - 0x30]
call fcn.140126448
mov qword [rsp + 0x78], rax
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, ebx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rcx
lea rcx, str.ExecuteSrvCmd
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.1400dab50
cmp qword [rsp + 0x78], rsi
je 0x1400bd357
lea rcx, [rsp + 0x78]
call fcn.140125ef0
cmp qword [rdi + 0x28], rsi
je 0x1400bd457
mov byte [rdi + 0x63], 1
mov rcx, qword [rdi]
add rcx, 0x18
call fcn.14010a2c4
mov rbx, rax
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rbp - 0x40]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ValidateRect]
mov dword [rsp + 0x70], esi
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov rcx, qword [rdi + 0x28]
call fcn.14012c370
mov rcx, qword [rdi]
add rcx, 0x18
call fcn.14010a2b4
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x40]
add dword [rbp - 0x50], eax
mov eax, dword [rbp + 0x44]
add dword [rbp - 0x4c], eax
mov eax, dword [rbp + 0x48]
add dword [rbp - 0x48], eax
mov eax, dword [rbp + 0x4c]
add dword [rbp - 0x44], eax
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.1400c0df0
lea rbx, [rdi + 0xeda]
mov r8d, 0x3ff
mov rdx, rbx
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rdi + 0x1ede]
mov rdx, rbx
call fcn.1400a8b5c
mov word [rdi + 0x279e], si
mov byte [rdi + 0x321e], sil
mov rcx, rdi
call fcn.1400b5688
mov dl, 1
mov rcx, qword [rdi]
call fcn.14011f090
nop
lea rcx, [rbp - 0x70]
call fcn.140114c28
mov rcx, qword [rbp + 0x2c40]
xor rcx, rsp
call fcn.140139b10
add rsp, 0x2d58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret