Function at 0x101b10b
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x1066c80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [ebp - 0x24c]
push eax
lea esi, [ebx + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
mov edi, dword [ebp - 0x24c]
mov ecx, ebx
mov dword [ebp - 0x258], edi
call fcn.0101b948
mov byte [ebp - 0x251], al
lea eax, [ebp - 0x280]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [ebp - 0x251], 0
je 0x101b1e5
mov eax, dword [esi]
push 0
push 0
push 0xf2
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x250], 0x4010
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x101b1a2
mov dword [ebp - 0x250], 0x4110
jmp 0x101b1ca
test byte [ebp - 0x25c], 4
je 0x101b1b7
mov dword [ebp - 0x250], 0x4210
jmp 0x101b1ca
cmp byte [ebx + 0xa0], 0
je 0x101b1ca
mov dword [ebp - 0x250], 0x5010
push dword [ebp - 0x250]
lea eax, [ebp - 0x280]
push 4
push eax
push edi
call dword [sym.imp.USER32.dll_DrawFrameControl]
jmp 0x101b2fa
mov ecx, ebx
call fcn.0101b028
fld qword [0x1069038]
call fcn.01036970
fld qword [0x1069030]
mov dword [ebp - 0x25c], eax
call fcn.01036970
push dword [ebx + 0x8c]
lea esi, [ebp - 0x280]
lea edi, [ebp - 0x26c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x258]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_FrameRect]
call esi
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x25c]
mov edi, dword [sym.imp.USER32.dll_InflateRect]
neg eax
push eax
neg ecx
mov dword [ebp - 0x270], eax
push ecx
lea eax, [ebp - 0x26c]
push eax
mov dword [ebp - 0x25c], ecx
call edi
push dword [ebx + 0x90]
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x258]
call esi
push dword [ebp - 0x270]
lea eax, [ebp - 0x26c]
push dword [ebp - 0x25c]
push eax
call edi
mov eax, dword [ebp - 0x260]
push dword [ebx + 0x94]
mov esi, dword [sym.imp.USER32.dll_FillRect]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x258]
call esi
mov eax, dword [ebp - 0x250]
push dword [ebx + 0x98]
add eax, eax
mov ecx, eax
mov eax, dword [ebp - 0x274]
sub eax, ecx
mov dword [ebp - 0x260], eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x258]
call esi
mov edi, dword [ebp - 0x258]
cmp byte [ebx + 0xa1], 0
fld qword [0x1002ee0]
je 0x101b370
mov eax, dword [ebp - 0x280]
fld qword [0x1069030]
mov dword [ebp - 0x26c], eax
fmul st(1)
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x260], eax
call fcn.01036970
fmul qword [0x1069038]
push eax
call fcn.01036970
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x26c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawFocusRect]
jmp 0x101b372
fstp st(0)
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101b390
sub eax, edx
sar eax, 1
cmp byte [ebp - 0x251], cl
mov dword [ebp - 0x250], eax
je 0x101b3b6
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x101b3bc
mov eax, dword [ebx + 0x9c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push edi
mov dword [ebp - 0x288], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x284]
lea esi, [ebx + 4]
push eax
mov ecx, esi
mov dword [ebp - 0x25c], esi
call fcn.0101aac0
mov eax, dword [eax]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0xa4], 0
mov dword [ebp - 0x284], eax
je 0x101b52c
push 0x424
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x250]
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
fld qword [0x1069030]
mov esi, dword [ebp - 0x264]
fld qword [0x1002ee0]
sub esi, dword [ebp - 0x26c]
fmul st(1)
mov dword [ebp - 0x270], esi
call fcn.01036970
fld qword [0x1069038]
fld qword [0x1002ed8]
mov edi, dword [ebp - 0x274]
neg eax
fmul st(1), st(0)
add eax, eax
fxch st(1)
sub edi, eax
sub edi, dword [ebp - 0x27c]
call fcn.01036970
fmulp st(1)
mov ecx, eax
mov eax, dword [ebp - 0x278]
sub eax, ecx
sub eax, edi
sub eax, esi
sub eax, dword [ebp - 0x280]
push 3
push 0
push 0
cdq
push edi
sub eax, edx
push edi
push dword [ebx + 0xa4]
mov esi, eax
sar esi, 1
call fcn.01036970
push eax
push esi
push dword [ebp - 0x258]
call dword [sym.imp.USER32.dll_DrawIconEx]
fld qword [0x1069038]
fmul qword [0x1002ee0]
call fcn.01036970
push dword [ebp - 0x274]
sub esi, eax
mov eax, dword [ebp - 0x270]
add esi, edi
add eax, esi
push eax
push dword [ebp - 0x27c]
lea eax, [ebp - 0x26c]
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x24
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x250]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.USER32.dll_DrawTextW]
mov edi, dword [ebp - 0x258]
mov esi, dword [ebp - 0x25c]
jmp 0x101b549
push 0x25
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x250]
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x284]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x288]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x28c]
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [ebp - 0x24c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.01034b54
leave
ret 0x10