Function at 0x101ba6f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
lea edi, [ebx + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x24], eax
call esi
push 0x800
mov dword [ebp - 0x20], eax
call fcn.0103560f
mov dword [esp], 0x400
push eax
push dword [edi]
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x44]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, edi
call fcn.0101b948
test al, al
je 0x101bb00
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0
jmp 0x101bb0c
push dword [ebx + 0x30]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push dword [ebx + 0x30]
push 1
push 0
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
call esi
push dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
push dword [ebp - 4]
call esi
push dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_Rectangle]
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebx + 0x4c]
test cl, 1
je 0x101bb72
test cl, 2
je 0x101bb72
test eax, 0x10000
je 0x101bb72
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0
push 0
push 0x31
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp - 4]
call esi
push 1
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, edi
call fcn.0101b948
test al, al
je 0x101bbbf
xor edi, edi
cmp dword [ebx + 0x40], edi
je 0x101bbb0
cmp dword [ebx + 0x34], edi
je 0x101bbb0
mov ebx, dword [ebx + 0x2c]
jmp 0x101bbb3
mov ebx, dword [ebx + 0x24]
push ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x101bbdf
cmp dword [ebx + 0x40], 0
je 0x101bbd0
cmp dword [ebx + 0x34], 0
je 0x101bbd0
mov ebx, dword [ebx + 0x28]
jmp 0x101bbd3
mov ebx, dword [ebx + 0x24]
push ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SetTextColor]
xor edi, edi
mov ebx, dword [ebp - 4]
push 0x8024
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push 0xcc0020
push edi
push edi
push ebx
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push edi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x14]
push edi
call esi
push dword [ebp - 0x18]
push edi
call esi
push dword [ebp - 0x1c]
push edi
call esi
push dword [ebp - 8]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x20]
push ebx
call esi
push dword [ebp - 0x24]
call edi
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x10]
call fcn.01034c6d
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4