Function at 0x6c647160
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x868
mov r12, rcx
cmp edx, 0x110
je 0x6c6472b8
cmp edx, 0x111
je 0x6c6471f0
cmp edx, 0x4e
je 0x6c6471a8
xor eax, eax
add rsp, 0x868
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [r9 + 0x10]
cmp edx, 0xffffff31
je 0x6c647300
xor eax, eax
cmp edx, 0xffffff38
jne 0x6c647191
call qword [sym.imp.user32.dll_GetParent]
mov r9d, 3
xor r8d, r8d
mov edx, 0x470
mov rcx, rax
call qword [sym.imp.user32.dll_PostMessageW]
mov eax, 1
jmp 0x6c647191
cmp r8, 0xa8e
jne 0x6c64718f
mov edx, 0x10
lea rdi, [rsp + 0x60]
lea r14, [0x6c6558e0]
mov r13d, 2
call qword [sym.imp.user32.dll_GetWindowLongPtrW]
mov ecx, 0x13
mov qword [rsp + 0x48], rdi
mov r15, r14
mov r8, rax
xor eax, eax
lea rbx, [r14 + 0x70]
rep stosq qword [rdi], rax
mov qword [rsp + 0x68], r12
lea rdi, [rsp + 0x460]
mov dword [rsp + 0x60], 0x98
mov ebp, dword [r8 + 8]
test ebp, ebp
sete sil
jmp 0x6c647266
test sil, sil
jne 0x6c64726e
test ebp, eax
jne 0x6c64726e
add r15, 0x10
cmp rbx, r15
je 0x6c647378
mov eax, dword [r15 + 4]
test eax, eax
jne 0x6c647250
mov rcx, qword [0x6c663008]
xor r9d, r9d
mov edx, dword [r15]
mov r8, rdi
call qword [sym.imp.user32.dll_LoadStringW]
mov rcx, qword [r15 + 8]
cmp word [rcx], 0
je 0x6c6472aa
mov rdx, rcx
nop dword [rax]
add rdx, 2
cmp word [rdx], 0
jne 0x6c647298
sub rdx, rcx
sar rdx, 1
add eax, edx
lea r13d, [r13 + rax + 2]
jmp 0x6c647259
mov rbx, qword [r9 + 0x30]
mov edx, 0x10
mov r8, rbx
call qword [sym.imp.user32.dll_SetWindowLongPtrW]
cmp qword [rbx + 0x38], 0
je 0x6c64718f
mov edx, 0xa8d
mov rcx, r12
call qword [sym.imp.user32.dll_GetDlgItem]
mov r9, qword [rbx + 0x38]
xor r8d, r8d
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.user32.dll_SendMessageW]
xor eax, eax
jmp 0x6c647191
mov edx, 0xa8d
call qword [sym.imp.user32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xe
mov rcx, rax
mov rdi, qword [sym.imp.user32.dll_SendMessageW]
mov r13, rax
call rdi
mov edx, 0x10
mov rcx, r12
mov rbx, rax
call qword [sym.imp.user32.dll_GetWindowLongPtrW]
mov rsi, rax
test ebx, ebx
jne 0x6c6474f0
test byte [rax + 8], 1
jne 0x6c647359
mov rdx, qword [rax + 0x10]
mov r8d, 0x420
mov rcx, r12
call sym.import_warning.part.0
mov r8d, 1
xor edx, edx
mov rcx, r12
call qword [sym.imp.user32.dll_SetWindowLongPtrW]
mov eax, 1
jmp 0x6c647191
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
movsxd r8, r13d
xor edx, edx
add r8, r8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x6c64745e
mov r15, rax
jmp 0x6c6473c6
test sil, sil
jne 0x6c6473ce
test ebp, eax
jne 0x6c6473ce
add r14, 0x10
cmp rbx, r14
je 0x6c647458
mov eax, dword [r14 + 4]
test eax, eax
jne 0x6c6473b0
mov edx, dword [r14]
mov rcx, qword [0x6c663008]
xor r9d, r9d
mov r8, rdi
call qword [sym.imp.user32.dll_LoadStringW]
mov rdx, qword [rsp + 0x460]
mov rcx, r15
movsxd r8, eax
lea r13, [r8 + r8]
mov r8, r13
call sym.memcpy
xor ecx, ecx
lea r8, [r15 + r13]
xor eax, eax
mov word [r8], cx
mov rcx, qword [r14 + 8]
nop
movzx edx, word [rcx + rax]
mov word [r8 + rax + 2], dx
add rax, 2
test dx, dx
jne 0x6c647410
cmp word [rcx], 0
je 0x6c6475c0
mov rax, rcx
add rax, 2
cmp word [rax], 0
jne 0x6c647430
sub rax, rcx
sar rax, 1
add eax, 1
cdqe
add rax, rax
lea r15, [r8 + rax + 2]
jmp 0x6c6473b9
xor edx, edx
mov word [r15], dx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x90], rdi
mov dword [rsp + 0x98], 0x104
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
xor eax, eax
mov word [rsp + 0x460], ax
call qword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
jne 0x6c6474c0
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, qword [rsp + 0x78]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6c64718f
mov rbx, qword [rsp + 0x90]
mov rcx, r12
mov edx, 0xa8d
call qword [sym.imp.user32.dll_GetDlgItem]
xor r8d, r8d
mov edx, 0xc
mov rcx, rax
mov r9, rbx
call qword [sym.imp.user32.dll_SendMessageW]
jmp 0x6c647494
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
lea r14d, [rbx + 1]
xor edx, edx
mov rbx, qword [sym.imp.kernel32.dll_HeapAlloc]
lea r8, [r14 + r14]
mov rcx, qword [rax + 0x30]
call rbx
mov rbp, rax
test rax, rax
je 0x6c64718f
mov rcx, r13
mov r9, rax
mov r8, r14
mov edx, 0xd
call rdi
mov dword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, rbp
mov qword [rsp + 0x30], 0
mov r8d, 1
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.kernel32.dll_CreateFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x6c6475d0
mov ecx, dword [rsi + 8]
lea r8, [rsi + 0x40]
mov rdx, rbp
call sym.open_store_from_file
mov rbx, rax
test rax, rax
je 0x6c6477d7
mov ecx, dword [rsi + 8]
test ecx, 0xe0000
jne 0x6c647801
mov dword [rsi + 0x1c], 5
mov rcx, r13
mov qword [rsi + 0x20], rbx
mov dword [rsi + 0x44], 1
call qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [rsi + 0x38], rbp
xor eax, eax
jmp 0x6c647191
mov eax, 2
jmp 0x6c647448
mov rsi, qword [rsi + 0x10]
mov rcx, qword [0x6c663008]
mov r13, qword [sym.imp.user32.dll_LoadStringW]
test rsi, rsi
je 0x6c64782a
lea rdi, [rsp + 0x460]
mov r9d, 0x200
mov edx, 0x422
mov r8, rdi
call r13
xor r9d, r9d
xor edx, edx
mov ecx, 0x1100
mov rax, qword gs:[0x30]
mov r8d, dword [rax + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.kernel32.dll_FormatMessageW]
cmp word [rsp + 0x460], 0
je 0x6c64784c
mov rax, rdi
nop
add rax, 2
cmp word [rax], 0
jne 0x6c647650
sub rax, rdi
sar rax, 1
cmp word [rbp], 0
je 0x6c647682
mov rdx, rbp
nop word [rax + rax]
add rdx, 2
cmp word [rdx], 0
jne 0x6c647670
sub rdx, rbp
sar rdx, 1
add eax, edx
mov rcx, qword [rsp + 0x58]
cmp word [rcx], 0
je 0x6c6476a2
mov rdx, rcx
add rdx, 2
cmp word [rdx], 0
jne 0x6c647690
sub rdx, rcx
sar rdx, 1
add eax, edx
add eax, 3
movsxd r8, eax
mov rdx, qword gs:[0x30]
mov rax, qword [rdx + 0x60]
add r8, r8
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbx
mov rbx, rax
test rax, rax
je 0x6c64785b
mov rdx, rax
mov rax, rdi
nop word [rax + rax]
movzx ecx, word [rax]
add rax, 2
add rdx, 2
mov word [rdx - 2], cx
test cx, cx
jne 0x6c6476d8
cmp word [rsp + 0x460], 0
je 0x6c647853
mov rax, rdi
nop
add rax, 2
cmp word [rax], 0
jne 0x6c647700
sub rax, rdi
sar rax, 1
cdqe
lea rcx, [rbx + rax*2]
xor eax, eax
nop dword [rax + rax]
movzx edx, word [rbp + rax]
mov word [rcx + rax], dx
add rax, 2
test dx, dx
jne 0x6c647720
cmp word [rbp], 0
je 0x6c647756
mov rax, rbp
nop dword [rax]
add rax, 2
cmp word [rax], 0
jne 0x6c647740
sub rax, rbp
sar rax, 1
cdqe
lea rcx, [rcx + rax*2]
mov dword [rcx], 0xa003a
mov r8, qword [rsp + 0x58]
xor eax, eax
nop dword [rax + rax]
movzx edx, word [r8 + rax]
mov word [rcx + rax + 4], dx
add rax, 2
test dx, dx
jne 0x6c647768
mov rdx, rbx
mov r8, rsi
mov rcx, r12
mov r9d, 0x10
call qword [sym.imp.user32.dll_MessageBoxW]
mov r8, rbx
xor edx, edx
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
call rbx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.kernel32.dll_LocalFree]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, rbp
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbx
jmp 0x6c647359
mov r8d, 0x421
test byte [rsi + 8], 1
jne 0x6c647818
mov rdx, qword [rsi + 0x10]
mov rcx, r12
call sym.import_warning.part.0
mov rcx, r13
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6c6477ba
mov rdx, rax
call sym.check_store_context_type.part.0
mov r8d, 0x414
test eax, eax
je 0x6c6477dd
jmp 0x6c647593
mov rcx, r13
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6c6477ba
lea rsi, [rsp + 0x60]
mov r9d, 0x200
mov edx, 0x413
mov r8, rsi
call r13
mov rcx, qword [0x6c663008]
jmp 0x6c6475eb
xor eax, eax
jmp 0x6c647660
mov rcx, rbx
jmp 0x6c647716
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6c6477af