Function at 0x41b0ed
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x421148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x421dc8]
mov ebx, ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, eax
test ebx, 0x100000
je 0x41b122
xor ecx, ecx
inc ecx
call fcn.0040a08b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x4e0
push dword [0x422c8c]
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push esi
push 0xb8
push dword [0x422c8c]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
neg eax
push esi
sbb eax, eax
push 0xe
push dword [0x422c8c]
neg eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x28], eax
lea ecx, [eax*2 + 2]
push ecx
push 2
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x41b190
push edi
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
jmp 0x41b2f3
lea eax, [ebp - 0x24]
push eax
push dword [0x422c94]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalLock]
mov ecx, dword [ebp - 0x28]
push eax
inc ecx
mov dword [ebp - 0x2c], eax
push ecx
push 0xd
push dword [0x422c8c]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [0x421dc0]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.00410be3
mov ebx, eax
test ebx, ebx
jne 0x41b1ed
push edi
call dword [sym.imp.USER32.dll_SetCursor]
push esi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalUnlock]
push esi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
jmp 0x41b189
push 0xffffffffffffffec
push dword [0x422c8c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push dword [0x421dbc]
push 0x30
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x2c]
push 0
push 0xc
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x41b238
push edi
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x41b1dd
push esi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalUnlock]
push esi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov ecx, ebx
call fcn.00410c12
xor ebx, ebx
push ebx
push ebx
push 0xbd
push dword [0x422c8c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [0x422c94]
mov dword [0x421dd0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [ebp - 0x30]
push 0xb9
push dword [0x422c8c]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0x4e1
push dword [0x422c8c]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [0x422c8c]
call dword [sym.imp.USER32.dll_SetFocus]
push edi
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [0x422a84], ebx
je 0x41b2f0
lea eax, [ebp - 0x14]
push eax
push dword [0x422c94]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
call fcn.0040a01f
call fcn.0040c567
push 5
push dword [0x422c90]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fb30
leave
ret