Function at 0x140004f2c
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x8b0
mov rax, qword [0x140018280]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov r14, r8
mov bpl, r9b
mov rbx, rdx
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x48]
mov rdx, r14
mov r13, rcx
call fcn.140004dec
lea rdx, [rsp + 0x68]
mov rcx, rbx
mov r12b, al
mov byte [rsp + 0x40], al
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x98]
mov edi, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x9c]
sub esi, r8d
sub esi, dword [rsp + 0x68]
sub edi, ecx
sub edi, dword [rsp + 0x6c]
inc esi
inc edi
test r12b, r12b
je 0x14000501f
test bpl, bpl
jne 0x14000506f
imul ecx, dword [rsp + 0x44]
imul r8d, dword [rsp + 0x48]
mov eax, 0x51eb851f
mov dword [rsp + 0x30], 0x206
xor r9d, r9d
imul ecx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, 0x51eb851f
add ecx, edi
mov dword [rsp + 0x28], ecx
mov rcx, rbx
imul r8d
sar edx, 5
xor r8d, r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, esi
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
test bpl, bpl
jne 0x14000506f
lea rdx, [rsp + 0xa0]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xa0]
mov r9d, 1
mov rcx, r13
mov qword [rsp + 0x20], r14
call fcn.140004c94
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, 8
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, 5
mov rcx, rbx
sub edi, eax
call qword [sym.imp.USER32.dll_GetWindow]
xor ebp, ebp
mov rbx, rax
mov qword [rsp + 0x78], rax
jmp 0x14000527f
cmp ebp, 0x200
jge 0x140005288
lea rdx, [rsp + 0xa0]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [rsp + 0xa0], 0
je 0x1400050fa
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xa0]
mov r9d, 1
mov rcx, r13
mov qword [rsp + 0x20], r14
call fcn.140004c94
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
test r12b, r12b
je 0x140005265
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rsp + 0x58]
mov r8d, 0x51eb851f
mov eax, esi
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 + 0x50], ecx
mov ecx, dword [rsp + 0x5c]
sub ecx, dword [rsp + 0x6c]
sub ecx, edi
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 [rsp + 0x60]
sub ecx, dword [rsp + 0x58]
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 r8d, 0x400
mov dword [rsp + 0x4c], ecx
mov ecx, dword [rsp + 0x64]
sub ecx, dword [rsp + 0x5c]
inc ecx
imul ecx, dword [rsp + 0x44]
imul ecx
mov rcx, rbx
mov r12d, edx
lea rdx, [rsp + 0x4a0]
sar r12d, 5
mov eax, r12d
shr eax, 0x1f
add r12d, eax
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rdx, str.COMBOBOX
lea rcx, [rsp + 0x4a0]
call fcn.140005680
test eax, eax
jne 0x140005236
lea edx, [rax - 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongA]
and al, 3
cmp al, 1
je 0x140005236
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, 0x152
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
mov r11d, dword [rsp + 0x8c]
mov eax, 0x51eb851f
sub r11d, dword [rsp + 0x84]
inc r11d
imul r11d, dword [rsp + 0x44]
imul r11d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add r12d, edx
mov eax, dword [rsp + 0x4c]
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x30], 0x204
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r12b, byte [rsp + 0x40]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
cmp rax, qword [rsp + 0x78]
je 0x140005288
inc ebp
test rax, rax
jne 0x140005099
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.140007160
add rsp, 0x8b0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret