Function at 0x4c0ee0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d23b
mov eax, dword fs:[0]
push eax
mov eax, 0x1508
call fcn.00527d30
mov eax, dword [0x5d6b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x28]
mov esi, dword [ebp + 0x14]
call fcn.004652c0
mov dword [esi], 1
push dword [edi + 4]
call fcn.00488f50
lea esi, [edi + 0x70]
lea eax, [edi + 0x2c]
push esi
push eax
call fcn.00506820
mov eax, dword [esi]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x4c0f53
push 0x11
push 0x57c5a4
mov ecx, esi
call fcn.0045b6e0
cmp dword [edi + 0x28], 0x127
jne 0x4c0f63
mov ecx, edi
call fcn.004c1e40
mov ecx, edi
call fcn.004c16d0
test eax, eax
jne 0x4c0f7e
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
jmp 0x4c12ef
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, edi
mov dword [edi + 0x68], eax
call fcn.004c0e40
cmp dword [edi + 0x6c], 0
je 0x4c12c5
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x450]
push eax
push dword [edi + 4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x450], xmm0
call ebx
push 0x116
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [edi + 0x6c]
mov esi, eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x100
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0ff1
sub ecx, edx
lea eax, [ebp - 0x1514]
push eax
sar ecx, 1
lea eax, [ebp - 0x210]
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea eax, [ebp - 0x430]
push eax
push esi
call ebx
mov eax, dword [ebp - 0x428]
sub eax, dword [ebp - 0x430]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebp - 0x1514], eax
jle 0x4c10a3
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x150c]
call fcn.0045a3a0
push 0x57ad28
push dword [edi + 0x40]
lea ecx, [ebp - 0x150c]
mov dword [ebp - 4], 0
call fcn.00467d40
push dword [ebp - 0x150c]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 0x150c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c110a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4c110a
lea eax, [ebp - 0x430]
push eax
push dword [edi + 4]
call ebx
test eax, eax
je 0x4c10bf
lea eax, [ebp - 0x428]
push eax
push dword [edi + 4]
call ebx
mov eax, dword [ebp - 0x424]
mov edx, dword [ebp - 0x42c]
add eax, 5
mov ecx, dword [ebp - 0x430]
add edx, 5
push 0x45
mov dword [ebp - 0x424], eax
sub eax, edx
push eax
mov eax, dword [ebp - 0x428]
sub eax, ecx
mov dword [ebp - 0x42c], edx
push eax
push edx
push ecx
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x123
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x410]
push 0x100
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c1136
sub ecx, edx
lea eax, [ebp - 0x1514]
push eax
sar ecx, 1
lea eax, [ebp - 0x410]
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea eax, [ebp - 0x440]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x438]
sub eax, dword [ebp - 0x440]
cmp dword [ebp - 0x1514], eax
jle 0x4c1260
push 0x117
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x420]
push eax
push dword [edi + 4]
call ebx
test eax, eax
je 0x4c11c2
lea eax, [ebp - 0x418]
push eax
push dword [edi + 4]
call ebx
mov edx, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x414]
sub edx, 8
mov ecx, dword [ebp - 0x420]
sub eax, edx
push 1
push eax
mov eax, dword [ebp - 0x418]
sub eax, ecx
mov dword [ebp - 0x41c], edx
push eax
push edx
push ecx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push pe_nt_image_headers32
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x420]
push eax
push dword [edi + 4]
call ebx
test eax, eax
je 0x4c122e
lea eax, [ebp - 0x418]
push eax
push dword [edi + 4]
call ebx
mov edx, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x414]
sub edx, 8
mov ecx, dword [ebp - 0x420]
sub eax, edx
push 1
push eax
mov eax, dword [ebp - 0x418]
sub eax, ecx
mov dword [ebp - 0x41c], edx
push eax
push edx
push ecx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x117
push dword [edi + 4]
call ebx
push pe_nt_image_headers32
push dword [edi + 4]
call ebx
push 0x10b4
mov esi, eax
lea eax, [ebp - 0x1504]
push 0
push eax
call fcn.00525ee0
add esp, 0xc
mov dword [ebp - 0x1508], 3
lea eax, [ebp - 0x1508]
mov dword [ebp - 0x14fc], 0x10
mov dword [ebp - 0x1500], 0x10
push eax
push 0
push 0x702
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 1
push 0x117
push dword [edi + 4]
call esi
push 1
push pe_nt_image_headers32
push dword [edi + 4]
call esi
mov dword [edi + 0x44], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525878
mov esp, ebp
pop ebp
ret 0x10