Function at 0x14000ba48
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x828]
sub rsp, 0x910
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140034ab8]
xor rax, rsp
mov qword [rbp + 0x800], rax
mov rsi, rdx
mov rdi, rcx
xor r12d, r12d
cmp dword [r9 + 0x10], 0xffffff2f
je 0x14000c06f
cmp dword [r9 + 0x10], 0xffffff31
je 0x14000bb3e
cmp dword [r9 + 0x10], 0xffffff38
jne 0x14000c06a
lea rcx, [rsp + 0x40]
call fcn.140015078
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 8]
call fcn.1400081fc
test eax, eax
je 0x14000bb18
mov r8d, 0x104
lea rdx, [rbp + 0x90]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rcx, [rsp + 0x40]
call fcn.140014a28
test eax, eax
je 0x14000bb18
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.14001714c
test eax, eax
je 0x14000bb18
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rcx, rdi
call fcn.1400063b0
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.140004e60
nop
lea rcx, [rsp + 0x40]
call fcn.1400149a0
jmp 0x14000c06a
mov r8d, 0x104
lea rdx, [rbp - 0x80]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, 0x3a
lea rcx, [rbp - 0x80]
jmp 0x14000bb71
lea rdx, [rbp - 0x80]
mov rcx, rax
sub rcx, rdx
cmp rcx, 1
jne 0x14000bb7f
lea rcx, [rax + 1]
mov edx, ebx
call fcn.140017b84
test rax, rax
jne 0x14000bb5d
jmp 0x14000bbf5
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400147a4
nop
mov r9d, 0x51
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400147a4
nop
lea rcx, [rsp + 0x60]
call fcn.1400145b4
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.1400145b4
mov rdx, rax
mov r9d, MsiDatabaseExportA
mov r8, rbx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_MessageBoxA]
or r12, 0xffffffffffffffff
lea rcx, [rsp + 0x48]
call fcn.140014484
nop
lea rcx, [rsp + 0x60]
jmp 0x14000c065
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, 3
jle 0x14000bff4
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x5e0]
lea r8, [rbp + 0x3c0]
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x80]
call fcn.140018844
lea rdx, [rbp + 0x3c0]
lea rcx, [rbp + 0x1a0]
call fcn.140018460
lea rax, [rbp + 0x2b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x1a0]
mov rdx, rsi
mov rcx, qword [rdi + 8]
call fcn.140009dcc
test eax, eax
je 0x14000bfee
lea rax, [rbp + 0x4d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x5e0]
mov rdx, rsi
mov rcx, qword [rdi + 8]
call fcn.14000a31c
test eax, eax
je 0x14000bf81
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp - 0x80]
call fcn.140018500
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp - 0x80]
call fcn.140018460
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x80]
call fcn.140018460
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1a0]
call fcn.140013ab8
test eax, eax
jne 0x14000bd4d
lea r9d, [rax + 4]
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400147a4
nop
mov r9d, 0x25
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400147a4
nop
lea rcx, [rsp + 0x48]
call fcn.1400145b4
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.1400145b4
mov rdx, rax
mov r9d, MsiDatabaseExportA
mov r8, rbx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_MessageBoxA]
or r12, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
call fcn.140014484
nop
jmp 0x14000c060
mov r8d, 0x104
lea rdx, [rbp + 0x6f0]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x6f0]
call fcn.140017eb0
test eax, eax
je 0x14000bd86
lea rdx, [rbp - 0x80]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_SetWindowTextA]
and qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x4000080
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
or rsi, 0xffffffffffffffff
cmp rax, rsi
jne 0x14000be2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x14000be37
lea r9d, [rsi + 5]
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400147a4
nop
lea r9d, [rsi + 0x25]
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400147a4
nop
lea rcx, [rsp + 0x48]
call fcn.1400145b4
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.1400145b4
mov rdx, rax
lea r9d, [rsi + 0x11]
mov r8, rbx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov r12, rsi
lea rcx, [rsp + 0x60]
call fcn.140014484
nop
jmp 0x14000c060
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str..mst
lea rcx, [rbp + 0x90]
call fcn.14001784c
test eax, eax
jne 0x14000bf11
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140013a68
cmp eax, 1
jne 0x14000bef4
cmp dword [rdi + 0x28], r12d
jne 0x14000bef4
lea r9d, [rax + 3]
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400147a4
nop
mov r9d, 0x55
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400147a4
nop
lea rcx, [rsp + 0x48]
call fcn.1400145b4
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.1400145b4
mov rdx, rax
mov r9d, 0x34
mov r8, rbx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x14000bed8
mov r12, rsi
jmp 0x14000bedf
mov dword [rdi + 0x28], 1
lea rcx, [rsp + 0x60]
call fcn.140014484
nop
lea rcx, [rsp + 0x48]
call fcn.140014484
lea rdx, [rbp - 0x80]
mov rcx, qword [rdi + 8]
call fcn.14000821c
test eax, eax
jne 0x14000c06a
mov r12, rsi
jmp 0x14000c06a
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400147a4
nop
mov r9d, reloc.msi.dll_MsiEnableUIPreview
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400147a4
nop
lea rcx, [rsp + 0x48]
call fcn.1400145b4
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.1400145b4
mov rdx, rax
mov r9d, MsiDatabaseExportA
mov r8, rbx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov r12, rsi
lea rcx, [rsp + 0x60]
call fcn.140014484
nop
jmp 0x14000c060
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400147a4
nop
mov r9d, MsiOpenProductA
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400147a4
nop
lea rcx, [rsp + 0x48]
call fcn.1400145b4
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.1400145b4
mov rdx, rax
mov r9d, MsiDatabaseExportA
mov r8, rbx
mov rcx, rsi
call qword [sym.imp.USER32.dll_MessageBoxA]
or r12, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
call fcn.140014484
nop
jmp 0x14000c060
or r12, 0xffffffffffffffff
jmp 0x14000c06a
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400147a4
nop
mov r9d, reloc.msi.dll_MsiEnableUIPreview
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400147a4
nop
lea rcx, [rsp + 0x48]
call fcn.1400145b4
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.1400145b4
mov rdx, rax
mov r9d, MsiDatabaseExportA
mov r8, rbx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_MessageBoxA]
or r12, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
call fcn.140014484
nop
lea rcx, [rsp + 0x48]
call fcn.140014484
mov rax, r12
jmp 0x14000c076
call fcn.140004e98
cdqe
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.140017020
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret