Function at 0x140101000
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push r12
sub rsp, 0x90
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor ebp, ebp
mov qword [r11 - 0x38], rbp
cmp dword [0x1402c2b30], ebp
jne 0x140101057
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [0x1402c2b30], 1
mov rcx, qword [0x1402c2b40]
test rcx, rcx
je 0x14010107b
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1401011a5
mov rcx, qword [0x1402c2b40]
call fcn.140085540
call fcn.140100360
mov ecx, 8
call fcn.1400854f0
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1401010a6
mov qword [rax], rbp
call fcn.140100360
jmp 0x1401010a9
mov rdi, rbp
mov qword [0x1402c2b40], rdi
mov qword [rsp + 0x78], rbp
mov dword [rsp + 0x80], reloc.OLEAUT32.dll_SetErrorInfo
mov dword [rsp + 0x84], reloc.OLEAUT32.dll_SetErrorInfo
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov r11, rax
mov rbx, qword [0x1402c2b40]
mov edi, dword [rsp + 0x84]
mov r8d, dword [rsp + 0x7c]
sub edi, r8d
mov edx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x78]
sub edx, eax
mov qword [rsp + 0x58], rbp
mov rcx, qword [0x1402c2d78]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], r11
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], eax
mov r9d, 0x80cc0000
xor r8d, r8d
lea rdx, str.AtlAxWin100
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbx], rax
mov qword [rsp + 0x30], rbp
lea rax, [0x14023fd40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
lea rdx, str.8856F961_340A_11D0_A96B_00C04FD705A2
mov rcx, qword [0x1402c2b40]
call fcn.1400fea10
mov edx, 0xfffffffc
mov rcx, qword [0x1402c2b40]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov qword [0x1402c2b58], rax
lea r8, [0x1400e9d50]
mov edx, 0xfffffffc
mov rcx, qword [0x1402c2b40]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
cmp qword [0x1402c2b40], 0
je 0x14010134b
mov rbx, qword [0x1402c2b50]
test rbx, rbx
jne 0x1401011d1
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1401012eb
mov rcx, qword [0x1402c2b40]
cmp rbx, qword [rcx]
je 0x1401012eb
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x7f]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
jne 0x140101234
xor r9d, r9d
lea edx, [rax + 0x7f]
lea r8d, [rax + 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
jne 0x140101234
lea edx, [rax - 0x22]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongPtrA]
test rax, rax
jne 0x140101234
mov edx, 0x7f02
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
test rax, rax
je 0x14010124f
mov r9, rax
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [0x1402c2b40]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea r12, str.___Help
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
add rcx, 0x104
call fcn.14010a204
mov rsi, rax
mov byte [rax], 0
mov r8d, 0x104
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x1401012e3
lea edx, [rax + 0x2d]
mov rcx, rsi
call fcn.140115ac0
test rax, rax
je 0x1401012ae
mov byte [rax], 0
mov rdi, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [r12 + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x1401012c0
mov rdx, rsi
mov rcx, qword [0x1402c2b40]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rcx, rsi
call fcn.14010d304
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
mov rax, qword [0x1402c2b40]
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x1402c2b1c]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdi, rax
mov qword [rsp + 0x68], rax
mov eax, 0x80004005
test rdi, rdi
cmovne eax, ebp
test eax, eax
js 0x14010133d
mov rax, qword [rdi]
lea r8, [rsp + 0x60]
lea rdx, [0x14023d0b0]
mov rcx, rdi
call qword [rax]
nop
test rdi, rdi
je 0x14010134b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
lea rdx, [0x1402ba120]
mov rcx, qword [rsp + 0x60]
call fcn.1400e9b10
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret