Function at 0x42153c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4291b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x429e90]
mov ebx, ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, eax
test ebx, 0x100000
je 0x421571
xor ecx, ecx
inc ecx
call fcn.0040ccae
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x4e0
push dword [0x42adac]
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push esi
push 0xb8
push dword [0x42adac]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
neg eax
push esi
sbb eax, eax
push 0xe
push dword [0x42adac]
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 0x4215df
push edi
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
jmp 0x421742
lea eax, [ebp - 0x24]
push eax
push dword [0x42a92c]
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 [0x42adac]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [0x429e8c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.00412e39
mov ebx, eax
test ebx, ebx
jne 0x42163c
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 0x4215d8
push 0xffffffffffffffec
push dword [0x42adac]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push dword [0x429e2c]
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 0x421687
push edi
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x42162c
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.00412e6e
xor ebx, ebx
push ebx
push ebx
push 0xbd
push dword [0x42adac]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [0x42a92c]
mov dword [0x429e98], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [ebp - 0x30]
push 0xb9
push dword [0x42adac]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0x4e1
push dword [0x42adac]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [0x42adac]
call dword [sym.imp.USER32.dll_SetFocus]
push edi
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [0x42aba0], ebx
je 0x42173f
lea eax, [ebp - 0x14]
push eax
push dword [0x42a92c]
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.0040cc0b
call fcn.0040f0f0
push 5
push dword [0x42adb0]
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.00426f20
leave
ret