Function at 0x4612d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce4fd
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x98]
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x46153b
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x30], xmm0
push dword [ecx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
push 0x60
push 0x5f
push dword [esi + 0xf7c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], 0
call esi
mov ecx, dword [ebp - 0x34]
push 0x60
push 0x12
mov dword [ebp - 0x58], eax
push dword [ecx + 0xf7c]
call esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
push 0x60
push 3
push dword [eax + 0xf7c]
call esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x9c]
sub ecx, dword [eax + 0x98]
sar ecx, 2
test ecx, ecx
je 0x46153b
nop word [eax + eax]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x64], xmm0
call fcn.0041a4a0
mov ecx, eax
test ecx, ecx
je 0x461556
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0
lea ecx, [eax*4]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 0x98]
add eax, ecx
mov dword [ebp - 0x40], eax
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edx, [eax + 1]
mov dword [ebp - 0x4c], edx
test edx, edx
js 0x461560
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x461420
push edx
lea ecx, [ebp - 0x44]
call fcn.0041ac30
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x40]
push edx
push esi
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x46143e
push dword [esi - 8]
push esi
call fcn.004f8ad6
add esp, 8
test eax, eax
js 0x461560
cmp eax, dword [esi - 8]
jg 0x461560
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x98]
add eax, dword [ebp - 0x38]
push dword [eax]
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [ebp - 0x64]
push ecx
push dword [esi - 0xc]
push esi
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
add eax, ecx
mov dword [ebp - 0x18], edi
cmp eax, edx
jae 0x46149d
sub edi, edx
jmp 0x4614a2
sub edi, ecx
sub edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], edi
sub edi, dword [ebp - 0x5c]
mov eax, dword [eax + 0x98]
add eax, dword [ebp - 0x38]
push dword [eax]
call dword [sym.imp.USER32.dll_GetParent]
push 2
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push 1
mov eax, dword [eax + 0x98]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
sub eax, edx
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x40]
push edx
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46151a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [esi + 0x9c]
sub eax, dword [esi + 0x98]
sar eax, 2
cmp ecx, eax
jb 0x4613a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0041a0e0
push 0x80070057
call fcn.0041a0e0
int3