Function at 0x180048010
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0x340
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov rbx, rcx
xor ebp, ebp
mov word [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [r11 - 0x236]
call fcn.1800c31a0
mov r8d, 0x208
lea rdx, [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [rbp + 8]
call fcn.1800c0db0
test rax, rax
je 0x180048094
lea rcx, [rsp + 0x68]
mov qword [rax], rcx
jmp 0x180048097
mov rax, rbp
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rbp
cmp word [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal], 0
je 0x180048431
cmp qword [rbx + 0x360], 0
jne 0x1800480f5
mov ecx, 0x40
call fcn.1800c0db0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1800480eb
mov rcx, rax
call fcn.180072ae0
jmp 0x1800480ee
mov rax, rbp
mov qword [rbx + 0x360], rax
cmp qword [rbx + 0x380], 0
jne 0x18004823a
mov r8d, 0x3b
lea rdx, str.http:__api.widdit.com_suggestions__formatgoogleToolbarsi
lea rcx, [rbx + 0x368]
call fcn.180014810
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rbp
mov word [rsp + 0x48], bp
mov r8d, 5
lea rdx, str.70474
lea rcx, [rsp + 0x40]
call fcn.180014810
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.180076590
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbx + 0x368]
call fcn.180012ea0
nop
cmp qword [rsp + 0xb8], 8
jb 0x18004818b
mov rcx, qword [rsp + 0xa0]
call fcn.1800bf8b4
mov r8d, 5
lea rdx, str.gid
lea rcx, [rbx + 0x368]
call fcn.180012440
call fcn.180052d10
mov rdx, rax
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rbp
mov word [rsp + 0x48], bp
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x40]
call fcn.180014810
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.180076590
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbx + 0x368]
call fcn.180012ea0
nop
cmp qword [rsp + 0xb8], 8
jb 0x180048221
mov rcx, qword [rsp + 0xa0]
call fcn.1800bf8b4
mov r8d, 3
lea rdx, [0x180109aa8]
lea rcx, [rbx + 0x368]
call fcn.180012440
lea rdx, [rbx + 0x368]
mov qword [rsp + 0xe8], 7
mov qword [rsp + 0xe0], rbp
mov word [rsp + 0xd0], bp
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0xc8]
call fcn.180003570
nop
mov qword [rsp + 0xb8], 7
mov qword [rsp + 0xb0], rbp
mov word [rsp + 0xa0], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal]
lea rcx, [rsp + 0x98]
call fcn.180014810
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x40]
call fcn.180076470
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.180012ea0
nop
cmp qword [rsp + 0x60], 8
jb 0x1800482f9
mov rcx, qword [rsp + 0x48]
call fcn.1800bf8b4
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rbp
mov word [rsp + 0x48], bp
cmp qword [rsp + 0xb8], 8
jb 0x180048324
mov rcx, qword [rsp + 0xa0]
call fcn.1800bf8b4
cmp qword [rbx + 0x3a8], 0
je 0x180048363
mov r8d, 4
lea rdx, str.cc
lea rcx, [rsp + 0xc8]
call fcn.180012440
lea rdx, [rbx + 0x390]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0xc8]
call fcn.180012ea0
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x110], 7
mov qword [rsp + 0x108], rbp
mov word [rsp + 0xf8], bp
lea rdx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rdx, qword [rsp + 0xd0]
mov dword [rsp + 0x20], ebp
lea r9, [rsp + 0x30]
lea r8, [rsp + 0xf0]
mov rcx, qword [rbx + 0x360]
call fcn.180072db0
cmp qword [rsp + 0x108], 0
je 0x1800483e5
cmp dword [rsp + 0x30], 0xc8
jne 0x1800483e5
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.180047b30
nop
cmp qword [rsp + 0x110], 8
jb 0x1800483fd
mov rcx, qword [rsp + 0xf8]
call fcn.1800bf8b4
mov qword [rsp + 0x110], 7
mov qword [rsp + 0x108], rbp
mov word [rsp + 0xf8], bp
cmp qword [rsp + 0xe8], 8
jb 0x180048431
mov rcx, qword [rsp + 0xd0]
call fcn.1800bf8b4
mov rdi, qword [rbx + 0x2f8]
movabs r12, 0x6666666666666667
test rdi, rdi
je 0x180048486
mov rcx, qword [rsp + 0x88]
sub rcx, qword [rsp + 0x80]
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x18004847d
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x68]
call fcn.1800022c0
jmp 0x180048486
lea rcx, [rdi + 8]
call fcn.1800025b0
mov qword [rsp + 0x38], rbp
mov rcx, qword [rbx + 0x308]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x1800484c3
mov rcx, qword [rbx + 0x308]
mov rdx, qword [rcx]
call qword [rdx + 0x20]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1800484c3
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rsi, qword [rsp + 0x88]
mov rcx, rsi
mov rdi, qword [rsp + 0x80]
sub rcx, rdi
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180048515
xor r9d, r9d
mov edx, 0x100
lea r8d, [r9 + 0x28]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x18004855e
cmp rdi, rsi
je 0x180048556
add rdi, 0x20
cmp qword [rdi], 8
jb 0x180048532
mov rcx, qword [rdi - 0x18]
call fcn.1800bf8b4
mov qword [rdi], 7
mov qword [rdi - 8], rbp
mov word [rdi - 0x18], bp
add rdi, 0x28
lea rax, [rdi - 0x20]
cmp rax, rsi
jne 0x180048523
mov rdi, qword [rsp + 0x80]
mov rcx, rdi
call fcn.1800bf8b4
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rbp
mov rcx, qword [rsp + 0x68]
call fcn.1800bf8b4
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.1800bf8d0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret