Function at 0x140087888
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17c0]
mov eax, 0x18c0
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x17b0], rax
mov r14, r8
mov qword [rsp + 0x58], r8
mov r13b, r9b
mov qword [rsp + 0x60], rcx
mov r15, rdx
lea r9, [rsp + 0x44]
mov rdx, r14
lea r8, [rsp + 0x48]
mov rsi, rcx
call fcn.140086d70
lea rdx, [rsp + 0x68]
mov byte [rsp + 0x40], al
mov rcx, r15
mov bl, al
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp - 0x78]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClientRect]
mov r8d, dword [rsp + 0x70]
xor edi, edi
sub r8d, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x74]
inc r8d
sub r9d, dword [rsp + 0x6c]
mov r11d, r8d
mov ecx, dword [rbp - 0x70]
inc r9d
mov r10d, dword [rbp - 0x6c]
sub r11d, ecx
mov r12d, r9d
mov dword [rsp + 0x4c], r11d
sub r12d, r10d
test bl, bl
je 0x140087a04
test r13b, r13b
jne 0x140087a4c
imul ecx, dword [rsp + 0x48]
mov eax, 0x51eb851f
imul r10d, dword [rsp + 0x44]
imul ecx
mov r14d, edx
sar r14d, 5
mov eax, r14d
shr eax, 0x1f
add r14d, eax
mov eax, 0x51eb851f
imul r10d
add r14d, r11d
mov esi, edx
sub r8d, r14d
sar esi, 5
mov eax, r8d
cdq
mov ecx, esi
sub eax, edx
shr ecx, 0x1f
sar eax, 1
add esi, ecx
mov edi, eax
add esi, r12d
sub r9d, esi
mov rcx, r15
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
xor eax, eax
add edi, dword [rsp + 0x68]
cmovs edi, eax
add ebx, dword [rsp + 0x6c]
lea edx, [rax - 0x10]
cmovs ebx, eax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
shr rax, 0xa
mov r9d, ebx
not eax
mov r8d, edi
and eax, 2
xor edx, edx
or eax, 0x204
mov rcx, r15
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rsp + 0x68]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rsi, qword [rsp + 0x60]
xor edi, edi
mov r14, qword [rsp + 0x58]
test r13b, r13b
jne 0x140087a4c
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r9d, 0x400
mov qword [rsp + 0x28], r14
lea r8, [rbp - 0x50]
mov dword [rsp + 0x20], 1
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.140086e24
lea rdx, [rbp - 0x50]
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, 8
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, 5
mov rcx, r15
sub r12d, eax
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
mov r15, rax
test rax, rax
je 0x140087c47
mov r13b, byte [rsp + 0x40]
cmp edi, 0x200
jge 0x140087c47
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
cmp word [rbp - 0x50], ax
je 0x140087ad3
mov qword [rsp + 0x28], r14
lea r8, [rbp - 0x50]
mov r9d, 0x400
mov dword [rsp + 0x20], 1
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.140086e24
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
test r13b, r13b
je 0x140087c21
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rsp + 0x78]
mov r8d, 0x51eb851f
mov eax, dword [rsp + 0x4c]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, r8d
sub ecx, dword [rsp + 0x68]
imul ecx, dword [rsp + 0x48]
imul ecx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, r8d
mov dword [rsp + 0x58], ecx
mov ecx, dword [rsp + 0x7c]
sub ecx, r12d
sub ecx, dword [rsp + 0x6c]
imul ecx, dword [rsp + 0x44]
imul ecx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, r8d
mov dword [rsp + 0x54], ecx
mov ecx, dword [rbp - 0x80]
sub ecx, dword [rsp + 0x78]
inc ecx
imul ecx, dword [rsp + 0x48]
imul ecx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, r8d
mov dword [rsp + 0x50], ecx
mov r8d, 0x800
mov ecx, dword [rbp - 0x7c]
sub ecx, dword [rsp + 0x7c]
inc ecx
imul ecx, dword [rsp + 0x44]
imul ecx
mov rcx, rbx
mov esi, edx
lea rdx, [rbp + 0x7b0]
sar esi, 5
mov eax, esi
shr eax, 0x1f
add esi, eax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.COMBOBOX
lea rcx, [rbp + 0x7b0]
call fcn.14009116c
test eax, eax
jne 0x140087bf8
lea edx, [rax - 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
and al, 3
cmp al, 1
je 0x140087bf8
lea r9, [rbp - 0x68]
xor r8d, r8d
mov edx, 0x152
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rbp - 0x5c]
mov eax, 0x51eb851f
sub ecx, dword [rbp - 0x64]
inc ecx
imul ecx, dword [rsp + 0x44]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add esi, edx
mov eax, dword [rsp + 0x50]
xor edx, edx
mov r9d, dword [rsp + 0x54]
mov rcx, rbx
mov r8d, dword [rsp + 0x58]
mov dword [rsp + 0x30], 0x204
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
cmp rax, r15
je 0x140087c47
mov rsi, qword [rsp + 0x60]
inc edi
test rax, rax
jne 0x140087a7c
mov rcx, qword [rbp + 0x17b0]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x1918]
add rsp, 0x18c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret