Function at 0x10198b3
Capabilities:
Get graphical window text

Disassembly:
push 0x90c
mov eax, 0x1044c2e
call fcn.010383ac
mov esi, ecx
xor ebx, ebx
push 0xdd
mov dword [ebp - 0x8ec], esi
mov byte [ebp - 0x8b9], bl
call fcn.010176a2
push 0xe0
mov ecx, esi
mov dword [ebp - 0x8c0], eax
call fcn.010176a2
push 0xe1
mov ecx, esi
mov dword [ebp - 0x8e4], eax
call fcn.010176a2
push 0xe2
mov ecx, esi
mov dword [ebp - 0x8d4], eax
call fcn.010176a2
push 0xe3
mov ecx, esi
mov dword [ebp - 0x8d8], eax
call fcn.010176a2
mov dword [ebp - 0x8e0], eax
push 0x54
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x8d8]
mov dword [ebp - 0x8c4], ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x8c4]
push eax
push 0x54
lea eax, [ebp - 0xb8]
push eax
call fcn.01005cad
cmp eax, ebx
jne 0x1019e18
cmp dword [ebp - 0x8c4], ebx
jbe 0x1019e18
push 0x14
call fcn.01035ed2
pop ecx
cmp eax, ebx
je 0x101999c
push 4
pop ecx
push 0x1004b25
push fcn.010050c9
push ecx
lea esi, [eax + 4]
push ecx
push esi
mov dword [eax], ecx
call fcn.010387c5
mov dword [ebp - 0x8cc], esi
jmp 0x10199a2
mov dword [ebp - 0x8cc], ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 0x8c4], 0xffffffff
push ebx
push ebx
push ebx
push 0x147
push dword [ebp - 0x8c0]
mov dword [ebp - 0x8dc], ebx
mov dword [ebp - 0x8d0], ebx
mov dword [ebp - 0x8c8], ebx
mov dword [ebp - 0x8e8], ebx
mov dword [ebp - 0x8fc], ebx
call esi
push eax
mov edi, 0x150
push edi
push dword [ebp - 0x8c0]
call esi
lea ecx, [ebp - 0x8fc]
push ecx
lea ecx, [ebp - 0x8e8]
push ecx
mov ecx, eax
call fcn.0101388f
mov ecx, dword [ebp - 0x8e8]
call fcn.0101383f
mov ecx, dword [ebp - 0x8cc]
push eax
call fcn.010079c2
push dword [ebp - 0x8cc]
mov ecx, dword [0x104fc2c]
call fcn.0102ecda
push ebx
push ebx
push ebx
push 0x147
push dword [ebp - 0x8e4]
call esi
push eax
push edi
push dword [ebp - 0x8e4]
call esi
mov ecx, eax
call fcn.0101383f
mov ecx, dword [ebp - 0x8cc]
push eax
add ecx, 4
call fcn.010079c2
push ebx
push ebx
push ebx
push 0x147
push dword [ebp - 0x8d4]
call esi
push eax
push edi
push dword [ebp - 0x8d4]
call esi
mov ecx, eax
call fcn.0101383f
mov edi, dword [ebp - 0x8cc]
push eax
lea ecx, [edi + 8]
call fcn.010079c2
push 0x54
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x8d8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x54
lea eax, [ebp - 0xb8]
push eax
call fcn.0101c1ed
test eax, eax
je 0x1019ca5
push 0x10
push 4
push 0x54
lea eax, [ebp - 0xb8]
push eax
call fcn.0102e825
mov dword [ebp - 0x8c4], eax
cmp eax, ebx
jne 0x1019ca5
lea eax, [ebp - 0xb8]
lea ecx, [edi + 0xc]
push eax
call fcn.0100543e
push 0x10020d8
lea ecx, [ebp - 0x8d4]
call fcn.0100571e
push 4
push edi
lea eax, [ebp - 0x8d4]
push eax
mov eax, dword [ebp - 0x8ec]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], ebx
call fcn.010041ac
mov ecx, eax
call fcn.01012a1b
mov ecx, dword [ebp - 0x8d4]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
mov dword [ebp - 0x8c0], eax
call fcn.010047b9
cmp dword [ebp - 0x8c0], ebx
je 0x1019ca5
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
xor edi, edi
push 0x10
inc edi
push edi
lea ecx, [ebp - 0x918]
call fcn.0102d6db
mov ecx, dword [ebp - 0x8c0]
mov dword [ebp - 4], edi
call fcn.010050e1
mov edi, eax
cmp edi, ebx
je 0x1019c1a
mov eax, dword [ebp - 0x8ec]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
push dword [eax + 4]
lea eax, [ebp - 0x918]
push eax
lea ecx, [ebp - 0x8f0]
call fcn.01007c36
xor ecx, ecx
cmp word [edi], bx
je 0x1019bad
mov eax, edi
cmp word [eax], 0x2e
jne 0x1019ba4
mov dx, word [0x104e430]
mov word [eax], dx
inc ecx
lea eax, [edi + ecx*2]
cmp word [eax], bx
jne 0x1019b94
lea ecx, [ebp - 0x8f0]
call fcn.01007e8f
lea eax, [ebp - 0x8c4]
push eax
lea eax, [ebp - 0x8c8]
push eax
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x8dc]
push eax
push edi
lea ecx, [ebp - 0x918]
call fcn.0102d70b
lea ecx, [ebp - 0x8f0]
mov edi, eax
call fcn.01007c51
mov ecx, dword [ebp - 0x8c0]
push 0xffffffffffffffff
call fcn.01004de0
cmp edi, 1
jne 0x1019c1a
push dword [ebp - 0x8d0]
push dword [ebp - 0x8e0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 0x8b9], 1
jmp 0x1019c87
cmp dword [0x104ef6c], ebx
je 0x1019c87
mov al, byte [0x104ef70]
cmp al, 2
jae 0x1019c2f
cmp al, bl
jne 0x1019c87
mov edx, dword [0x104ef58]
mov edi, dword [0x104ef5c]
mov ecx, 0x10000
mov eax, 0x40000000
and edx, ecx
and edi, eax
or edx, edi
je 0x1019c87
mov edx, dword [0x104ef60]
mov edi, edx
and edi, ecx
mov ecx, dword [0x104ef64]
and ecx, eax
cmp edi, edx
jne 0x1019c87
cmp ecx, dword [0x104ef64]
jne 0x1019c87
push dword [ebp - 0x8c8]
push 0x1001828
push dword [0x104ef44]
push dword [0x104ef40]
call fcn.0101300f
mov ecx, dword [ebp - 0x8c0]
push 1
call fcn.0101ef7a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x918]
call fcn.0102d697
jmp 0x1019d11
cmp dword [0x104ef6c], ebx
je 0x1019d11
mov al, byte [0x104ef70]
cmp al, 2
jae 0x1019cba
cmp al, bl
jne 0x1019d11
mov edx, dword [0x104ef58]
mov edi, dword [0x104ef5c]
mov ecx, 0x10000
mov eax, 0x40000000
and edx, ecx
and edi, eax
or edx, edi
je 0x1019d11
mov edx, dword [0x104ef60]
mov edi, edx
and edi, ecx
mov ecx, dword [0x104ef64]
and ecx, eax
cmp edi, edx
jne 0x1019d11
cmp ecx, dword [0x104ef64]
jne 0x1019d11
push 0x1002a38
push 0x1001828
push dword [0x104ef44]
push dword [0x104ef40]
call fcn.0101300f
mov ecx, dword [ebp - 0x8cc]
cmp ecx, ebx
je 0x1019d22
push 3
call fcn.01018785
cmp byte [ebp - 0x8b9], bl
jne 0x1019dc2
mov dword [ebp - 0x8f8], 0x10
mov dword [ebp - 0x8f4], ebx
mov dword [ebp - 0x8f0], ebx
mov dword [ebp - 0x8ec], 5
cmp dword [ebp - 0x8c8], ebx
je 0x1019d6a
push dword [ebp - 0x8c8]
push dword [ebp - 0x8e0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x1019dd1
push 0x10018f8
push dword [ebp - 0x8e0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 0x8c4], 0x75
push 0x400
lea eax, [ebp - 0x8b8]
push eax
jne 0x1019d94
push 0x75
jmp 0x1019d99
push 0x334
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x8b8]
mov dword [ebp - 0x8f0], eax
lea eax, [ebp - 0x8f8]
push eax
push ebx
push 0x1503
jmp 0x1019dc9
push ebx
push ebx
push 0x1504
push dword [ebp - 0x8d8]
call esi
mov esi, dword [sym.imp.msvcrt.dll_free]
cmp dword [ebp - 0x8dc], ebx
je 0x1019dee
push dword [ebp - 0x8dc]
call esi
pop ecx
mov dword [ebp - 0x8dc], ebx
cmp dword [ebp - 0x8d0], ebx
je 0x1019e05
push dword [ebp - 0x8d0]
call esi
pop ecx
mov dword [ebp - 0x8d0], ebx
cmp dword [ebp - 0x8c8], ebx
je 0x1019e30
push dword [ebp - 0x8c8]
call esi
pop ecx
jmp 0x1019e30
push 0x10018f8
push dword [ebp - 0x8e0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 0x8b9], 1
mov al, byte [ebp - 0x8b9]
call fcn.0103843e
ret