Function at 0x41c472
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x424210]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x424f38]
mov ebx, ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, eax
test ebx, 0x100000
je 0x41c4a7
xor ecx, ecx
inc ecx
call fcn.0040af8b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x4e0
push dword [0x425e04]
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push esi
push 0xb8
push dword [0x425e04]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
neg eax
push esi
sbb eax, eax
push 0xe
push dword [0x425e04]
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.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x41c515
push edi
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
jmp 0x41c678
lea eax, [ebp - 0x24]
push eax
push dword [0x425e0c]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov ecx, dword [ebp - 0x28]
push eax
inc ecx
mov dword [ebp - 0x2c], eax
push ecx
push 0xd
push dword [0x425e04]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [0x424f30]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.00412263
mov ebx, eax
test ebx, ebx
jne 0x41c572
push edi
call dword [sym.imp.USER32.dll_SetCursor]
push esi
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x41c50e
push 0xffffffffffffffec
push dword [0x425e04]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push dword [0x424f2c]
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 0x41c5bd
push edi
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x41c562
push esi
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, ebx
call fcn.00412292
xor ebx, ebx
push ebx
push ebx
push 0xbd
push dword [0x425e04]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [0x425e0c]
mov dword [0x424f40], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [ebp - 0x30]
push 0xb9
push dword [0x425e04]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0x4e1
push dword [0x425e04]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [0x425e04]
call dword [sym.imp.USER32.dll_SetFocus]
push edi
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [0x425bfc], ebx
je 0x41c675
lea eax, [ebp - 0x14]
push eax
push dword [0x425e0c]
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.0040af1f
call fcn.0040d3e0
push 5
push dword [0x425e08]
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.00421870
leave
ret