Function at 0x473e10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654f27
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x6ece84]
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
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
jl 0x474213
xor ebx, ebx
mov dword [ebp - 0x824], ebx
test eax, eax
je 0x473e78
lea ecx, [ebp - 0x824]
push ecx
push dword [eax + 4]
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov esi, eax
mov dword [ebp - 0x838], esi
mov ebx, dword [ebp - 0x824]
jmp 0x473e7e
mov esi, dword [ebp - 0x838]
mov dword [ebp - 0x83c], ebx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x820]
push eax
push dword [edi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x820], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x820]
lea ecx, [edi + 0x78]
mov dword [ebp - 0x828], eax
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x834], eax
mov eax, dword [ebp - 0x818]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp - 0x814]
mov dword [ebp - 0x824], eax
mov eax, dword [ecx]
test eax, eax
jne 0x473ef3
mov edx, dword [edi + 4]
push 2
push dword [edi + 0x24]
push ecx
mov eax, esp
mov dword [eax], edx
call fcn.00474320
mov eax, dword [edi + 0x78]
push dword [ebp - 0x824]
push dword [ebp - 0x840]
push dword [ebp - 0x834]
push dword [ebp - 0x828]
push dword [eax + 4]
push ebx
call sub.gdiplus.dll_GdipFillRectangleI
test eax, eax
lea ecx, [ebp - 0x824]
push ecx
cmovne esi, eax
mov dword [ebp - 0x838], esi
mov eax, dword [edi + 0x80]
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], 0
push dword [eax + 4]
call sub.gdiplus.dll_GdipGetImageWidth
mov ecx, eax
test ecx, ecx
je 0x473f53
mov eax, dword [ebp - 0x828]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x824]
lea ecx, [ebp - 0x824]
push ecx
mov dword [ebp - 0x824], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6812f0]
mov eax, dword [edi + 0x80]
mov dword [ebp - 0x828], eax
cvtpd2ps xmm1, xmm0
movd xmm0, dword [edi + 0x48]
cvtdq2ps xmm0, xmm0
push dword [eax + 4]
divss xmm1, xmm0
movss dword [ebp - 0x834], xmm1
call sub.gdiplus.dll_GdipGetImageHeight
mov ecx, eax
test ecx, ecx
je 0x473fb9
mov eax, dword [ebp - 0x828]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x824]
movss xmm1, dword [ebp - 0x834]
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x858], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movss dword [ebp - 0x854], xmm1
addsd xmm0, qword [eax*8 + 0x6812f0]
mov eax, dword [edi + 0x80]
cvtpd2ps xmm2, xmm0
movss dword [ebp - 0x850], xmm2
test eax, eax
je 0x474012
mov eax, dword [eax + 4]
jmp 0x474014
xor eax, eax
movd xmm0, dword [ebp + 0xc]
push 0
push 0
push 0
push 2
sub esp, 0x20
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm1
mov dword [esp + 0x14], 0
mulss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm1
mov dword [esp + 4], 0
mov dword [esp], 0
push eax
push ebx
call sub.gdiplus.dll_GdipDrawImageRectRect
test eax, eax
push 0x800
cmovne esi, eax
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 0x838], esi
call fcn.00607da0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x3ff
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4740a6
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x474206
mov ecx, dword [ebp + 0x10]
movzx edx, cl
or edx, 0xffffff00
movzx eax, cx
shl edx, 8
shr eax, 8
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [ebp - 0x84c], 0x68127c
mov dword [ebp - 0x844], 6
mov byte [ebp - 4], 1
lea eax, [ebp - 0x824]
push eax
push edx
mov dword [ebp - 0x84c], 0x681284
mov dword [ebp - 0x824], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [ebp - 0x844], eax
mov eax, dword [ebp - 0x824]
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x848], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x830]
push eax
push 0
push 0
mov dword [ebp - 0x830], 0
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [ebp - 0x82c], eax
mov byte [ebp - 4], 3
push 1
push dword [ebp - 0x830]
call sub.gdiplus.dll_GdipSetStringFormatAlign
mov ecx, dword [ebp - 0x82c]
test eax, eax
push 1
push dword [ebp - 0x830]
cmovne ecx, eax
mov dword [ebp - 0x82c], ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
mov ecx, dword [ebp - 0x82c]
test eax, eax
push 4
cmovne ecx, eax
push ebx
mov dword [ebp - 0x82c], ecx
call sub.gdiplus.dll_GdipSetTextRenderingHint
test eax, eax
cmovne esi, eax
mov dword [ebp - 0x838], esi
mov eax, dword [edi + 0x60]
test eax, eax
je 0x4741b2
mov eax, dword [eax]
jmp 0x4741b4
xor eax, eax
mov edi, dword [ebp - 0x828]
lea ecx, [ebp - 0x85c]
push edi
push dword [ebp - 0x830]
push ecx
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push eax
push ebx
call sub.gdiplus.dll_GdipDrawString
test eax, eax
cmovne esi, eax
mov dword [ebp - 0x838], esi
mov byte [ebp - 4], 2
push dword [ebp - 0x830]
call sub.gdiplus.dll_GdipDeleteStringFormat
mov byte [ebp - 4], 0
push edi
mov dword [ebp - 0x84c], 0x68127c
call sub.gdiplus.dll_GdipDeleteBrush
mov dword [ebp - 4], 0xffffffff
push ebx
call sub.gdiplus.dll_GdipDeleteGraphics
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.005e9f40
mov esp, ebp
pop ebp
ret 0xc