Function at 0x12e17ad0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x13199068]
sub esp, 0x620
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je 0x12e17af9
push str.IsScreenSketchSaveAs_____
push str.TAuxMod
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x12e17d10
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
mov word [esp + 0x428], bx
rep stosd dword es:[edi], eax
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x42c]
push eax
push esi
call ebp
cmp dword [0x13199068], ebx
je 0x12e17b5d
lea ecx, [esp + 0x428]
push ecx
push str.IsScreenSketchSaveAs_wszForegroundTitle__s_
push str.TAuxMod
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea edx, [esp + 0x428]
push 0x130fe960
push edx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12e17d10
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x12e17d10
push esi
call fcn.12e32f20
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x12e17d10
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x220]
push 0x104
push ecx
push esi
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [0x13199068], ebx
je 0x12e17bff
lea edx, [esp + 0x220]
push edx
push str.IsScreenSketchSaveAs_wszClass__s_
push str.TAuxMod
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea eax, [esp + 0x220]
push str.ApplicationFrameWindow
push eax
call fcn.12f5e2a4
add esp, 8
test eax, eax
je 0x12e17c35
lea ecx, [esp + 0x220]
push str.XamlWindow
push ecx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12e17d10
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x18]
push 0x104
push edx
push esi
stosw word es:[edi], ax
call ebp
cmp dword [0x13199068], ebx
je 0x12e17c77
lea eax, [esp + 0x18]
push eax
push str.IsScreenSketchSaveAs_wszTitle__s_
push str.TAuxMod
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea ecx, [esp + 0x18]
push 0x130fe884
push ecx
call fcn.12f5e2a4
add esp, 8
test eax, eax
je 0x12e17ca3
lea edx, [esp + 0x18]
push 0x130fe878
push edx
call fcn.12f5e2a4
add esp, 8
test eax, eax
jne 0x12e17d10
call fcn.12f9cad0
test eax, eax
jne 0x12e17cc0
lea eax, [esp + 0x18]
push eax
push 0x130fe840
push ebx
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
cmp esi, ebx
je 0x12e17d10
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [0x13199068], ebx
je 0x12e17cf5
mov edx, dword [esp + 0x10]
push edx
push str.IsScreenSketchSaveAs_dwPidUI__lu_
push str.TAuxMod
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x12e17d10
push eax
call fcn.12f2a6e0
add esp, 4
test eax, eax
je 0x12e17d10
mov ebx, 1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x620
ret