Function at 0x140007480
Capabilities:
Get graphical window text

Disassembly:
push rbp
push r12
push r13
push r14
lea rbp, [rsp - 0x3b8]
sub rsp, 0x4b8
mov rax, qword [0x1400731a0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r13, r8
mov r12, rdx
mov r14, rcx
call fcn.140008610
cmp eax, 0xffffffff
jle 0x1400074c2
xor eax, eax
jmp 0x140007784
mov qword [rsp + 0x4f8], rbx
mov qword [rsp + 0x4b0], rsi
mov rcx, r12
mov qword [rsp + 0x4a8], rdi
mov qword [rsp + 0x4a0], r15
call fcn.14000e280
mov rcx, qword [r14 + 0x28]
or edx, 0xffffffff
mov r8, rax
mov rbx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov rcx, rbx
mov r15d, eax
call qword [sym.imp.USER32.dll_DestroyIcon]
lea rdx, [rbp - 0x70]
mov r8d, 0x200
mov rcx, r12
call fcn.14001c5a0
lea rbx, [r14 + 0x80]
xor ecx, ecx
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx]
sar rdi, 3
cmp byte [r14 + 0x70], cl
je 0x140007648
mov rax, qword [rbx + 8]
mov edi, ecx
sub rax, qword [rbx]
sar rax, 3
test eax, eax
jle 0x140007648
mov esi, ecx
mov rax, qword [rbx]
lea rdx, [r13 + 0x24]
mov rcx, qword [rsi + rax]
call fcn.14000db90
test al, al
jne 0x14000757e
mov rax, qword [rbx + 8]
inc edi
add rsi, 8
sub rax, qword [rbx]
sar rax, 3
cmp edi, eax
jl 0x140007550
jmp 0x140007648
mov rcx, qword [r14 + 0x10]
xor eax, eax
lea r9, [rsp + 0x68]
movsxd r8, edi
mov edx, 0x417
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov dword [rbp - 0x7c], eax
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, dword [rsp + 0x6c]
mov rcx, qword [r14 + 0x10]
xor eax, eax
lea r9, [rsp + 0x38]
mov qword [rsp + 0x3c], rax
mov edx, 0x43f
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x38], 0x30
mov dword [rsp + 0x3c], 8
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, dword [rsp + 0x6c]
mov rcx, qword [r14 + 0x10]
or byte [rsp + 0x49], 8
lea r9, [rsp + 0x38]
mov edx, 0x440
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14 + 0x10]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x455
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14 + 0x10]
xor r8d, r8d
and eax, 0xffffffef
mov edx, 0x454
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
sar rax, 3
cmp edi, eax
jne 0x14000774d
mov ecx, 0x220
call fcn.14001f994
mov rsi, rax
test rax, rax
je 0x140007689
xor eax, eax
mov qword [rsi + 0x208], rax
mov qword [rsi + 0x210], rax
mov qword [rsi + 0x218], rax
mov word [rsi], ax
jmp 0x14000768c
mov rsi, rax
mov rax, qword [rbx + 8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rsi
cmp rcx, rax
jae 0x1400076e0
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
cmp rcx, rdx
ja 0x1400076e0
lea rsi, [rsp + 0x30]
sub rsi, rcx
sar rsi, 3
cmp rax, qword [rbx + 0x10]
jne 0x1400076cb
mov edx, 1
mov rcx, rbx
call fcn.140008220
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400076ff
mov rax, qword [rbx]
mov rcx, qword [rax + rsi*8]
mov qword [rdx], rcx
jmp 0x1400076ff
cmp rax, qword [rbx + 0x10]
jne 0x1400076f3
mov edx, 1
mov rcx, rbx
call fcn.140008220
mov rax, qword [rbx + 8]
test rax, rax
je 0x1400076ff
mov qword [rax], rsi
add qword [rbx + 8], 8
mov rcx, qword [r14 + 0x88]
lea rdx, [r13 + 0x24]
mov rcx, qword [rcx - 8]
call fcn.14000db40
lea rdx, [rbp - 0x70]
mov r8d, 0x100
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [r14 + 0x20]
lea r9, [rbp - 0x70]
inc edx
mov r8d, r15d
mov rcx, r14
add edx, r15d
mov byte [rsp + 0x28], 4
mov dword [rsp + 0x20], r12d
call fcn.140004dd0
mov rcx, qword [rbx]
movsxd r8, edi
mov rdx, r12
mov rcx, qword [rcx + r8*8]
call fcn.14000d9d0
mov r15, qword [rsp + 0x4a0]
mov rdi, qword [rsp + 0x4a8]
mov rsi, qword [rsp + 0x4b0]
mov rbx, qword [rsp + 0x4f8]
mov eax, 1
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140020e30
add rsp, 0x4b8
pop r14
pop r13
pop r12
pop rbp
ret