Function at 0x4076fd
Capabilities:
Get graphical window text

Disassembly:
push 0xb8
mov eax, 0x409b8d
call fcn.004092af
mov esi, ecx
mov dword [ebp - 0xc0], esi
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, eax
je 0x407728
lea ecx, [esi - 0x20]
mov dword [ebp - 0xbc], ecx
jmp 0x40772e
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xbc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esi + 4]
lea ebx, [esi + 0xc]
mov dword [ebp - 0xb8], eax
call fcn.0040377e
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
mov esi, eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00407ad7
mov eax, dword [ebp - 0xc0]
add eax, 8
mov dword [ebp - 0xb8], eax
call fcn.0040377e
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
mov esi, eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00407ad7
mov edi, dword [ebp - 0xbc]
xor ebx, ebx
push ebx
push ebx
push 0x7f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0xb8], eax
cmp eax, ebx
je 0x407836
mov eax, dword [ebp + 8]
push 3
push ebx
push ebx
push 0x32
mov dword [ebp - 0xbc], eax
call esi
push eax
push 0x31
call esi
push eax
push dword [ebp - 0xb8]
push 0x32
call esi
push 0x1b
pop ecx
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push 4
push dword [ebp - 0xbc]
call dword [sym.imp.USER32.dll_DrawIconEx]
xor eax, eax
push 0x7e
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x92]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x40
lea eax, [ebp - 0x94]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x94], bx
je 0x407938
mov edi, dword [ebp - 0x9c]
push 0x31
add edi, 0xfffffffc
call esi
add eax, 7
push 0x11
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], 0x1b
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push dword [ebp + 8]
mov dword [ebp - 0xc4], eax
call edi
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc0]
push dword [eax + 0x70]
push dword [ebp + 8]
call ebx
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
push 0x24
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0xb8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0xc0]
push dword [ebp + 8]
call ebx
push dword [ebp - 0xbc]
push dword [ebp + 8]
call edi
push dword [ebp - 0xc4]
push dword [ebp + 8]
call esi
or dword [ebp - 4], 0xffffffff
call fcn.00409332
ret 4