Function at 0x10001719
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x10017f78
call fcn.10011b90
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [esi + 4]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x98]
cmp eax, ebx
je 0x100017b2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jl 0x10001778
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x68]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
call dword [sym.imp.OLEAUT32.dll_OleLoadPictureFile]
push dword [ebp - 0x14]
push dword [esi + 0x98]
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
cmp byte [ebp + 0x10], bl
je 0x100017ac
push ebx
push ebx
push ebx
push edi
push ebx
push dword [esi + 0x98]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x40], eax
test byte [esi + 0x50], 1
je 0x100017fd
cmp dword [ebp - 0x20], ebx
jle 0x100017c1
add dword [ebp - 0x20], 2
push 0xe
pop edi
add dword [ebp - 0x20], edi
cmp dword [ebp - 0x1c], edi
jg 0x100017cf
mov dword [ebp - 0x1c], edi
cmp byte [ebp + 0x10], bl
je 0x100017fa
mov eax, dword [ebp - 0x38]
push 0x4000
mov dword [ebp - 0x28], eax
push 1
lea ecx, [eax - 0xe]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.USER32.dll_DrawFrameControl]
sub dword [ebp - 0x38], edi
mov eax, dword [0x1001d060]
mov dword [ebp - 0x10], eax
mov edi, 0xff
lea ecx, [ebp - 0x10]
push edi
mov byte [ebp - 4], 1
call fcn.10002ce3
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10002d4a
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x100018d6
push dword [esi + 0x5c]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], eax
jle 0x10001850
add dword [ebp - 0x20], 2
lea eax, [ebp - 0x30]
push 0xc60
mov edi, dword [sym.imp.USER32.dll_DrawTextA]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
push dword [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], eax
jg 0x1000188c
mov dword [ebp - 0x1c], eax
cmp byte [ebp + 0x10], bl
je 0x100018ca
push 1
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [esi + 0x64]
lea eax, [ebp + 0x10]
push eax
push ebx
push esi
call dword [sym.imp.OLEAUT32.dll_OleLoadPictureFile]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x40]
push 0x865
push eax
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call edi
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
call fcn.10002be9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc