Function at 0x180045f30
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x3a0
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov rbp, rcx
mov rax, qword [rsp + 0x3d0]
xor ebx, ebx
mov dword [rax], ebx
add rcx, 0x70
lea rdx, [r11 - 0x258]
call fcn.180042630
nop
mov word [rsp + 0x180], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x182]
call fcn.1800c31a0
mov r8d, 0x208
lea rdx, [rsp + 0x180]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdi, [rsp + 0x180]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jne 0x180045ff9
cmp qword [rsp + 0x170], 8
jb 0x180045ff2
mov rcx, qword [rsp + 0x158]
call fcn.1800bf8b4
xor eax, eax
jmp 0x1800462df
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
mov r8, rcx
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.180014810
nop
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa8]
call fcn.180076470
nop
cmp qword [rax + 0x20], 8
jb 0x180046059
mov rdx, qword [rax + 8]
jmp 0x18004605d
lea rdx, [rax + 8]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.180014810
nop
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd8], bx
mov r8d, 0xa
lea rdx, str.__SEARCH__
lea rcx, [rsp + 0xd0]
call fcn.180014810
nop
mov qword [rsp + 0x148], 7
mov qword [rsp + 0x140], rbx
mov word [rsp + 0x130], bx
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x128]
call fcn.180003570
nop
lea r9, [rsp + 0x58]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x80]
call fcn.1800778a0
nop
mov r9, rsi
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.180003570
nop
cmp qword [rsp + 0xa0], 8
jb 0x18004614e
mov rcx, qword [rsp + 0x88]
call fcn.1800bf8b4
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], rbx
mov word [rsp + 0x88], bx
cmp qword [rsp + 0xc8], 8
jb 0x180046182
mov rcx, qword [rsp + 0xb0]
call fcn.1800bf8b4
mov qword [rsp + 0xc8], 7
mov qword [rsp + 0xc0], rbx
mov word [rsp + 0xb0], bx
cmp qword [rsp + 0x50], 8
jb 0x1800461b0
mov rcx, qword [rsp + 0x38]
call fcn.1800bf8b4
mov qword [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal], 7
mov qword [rsp + 0x118], rbx
mov word [rsp + 0x108], bx
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x100]
call fcn.180003570
xor r8d, r8d
lea rdx, [rsp + 0x100]
mov rcx, rbp
call fcn.1800464a0
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1800c0db0
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x18004623d
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, [rsp + 0x180]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
jne 0x180046240
mov ecx, 0x8007000e
call fcn.1800bf320
int3
mov rdi, rbx
mov qword [rsp + 0x20], rdi
test rdi, rdi
jne 0x180046255
mov ecx, 0x8007000e
call fcn.1800bf320
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x180046281
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, qword [rdi]
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov rbx, rax
test rax, rax
jne 0x180046281
mov ecx, 0x8007000e
call fcn.1800bf320
nop
lock xadd dword [rdi + 0x10], esi
add esi, 0xffffffff
jne 0x1800462af
mov rcx, qword [rdi]
test rcx, rcx
je 0x180046299
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800462a7
call fcn.1800bf8f0
mov rcx, rdi
call fcn.1800bf8b4
mov r9, rbx
xor r8d, r8d
mov edx, 0x5a5
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
cmp qword [rsp + 0x170], 8
jb 0x1800462dd
mov rcx, qword [rsp + 0x158]
call fcn.1800bf8b4
xor eax, eax
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1800bf8d0
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret