Function at 0x446774
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, ecx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
je 0x4469ea
push ebx
inc edi
xor ecx, ecx
push 2
pop ebx
mov eax, edi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005b485c
pop ecx
push edi
push eax
push dword [esi + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
push eax
push ecx
push ecx
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [ebp - 0xc], eax
mov ecx, 0x1000
xor eax, eax
cmp byte [esi + 0xbc], al
cmovne ecx, eax
mov eax, ecx
or eax, 0x4000
cmp byte [esi + 0xbd], 0
cmovne eax, ecx
push eax
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipSetStringFormatFlags
mov ecx, dword [ebp - 0xc]
test eax, eax
cmovne ecx, eax
mov eax, dword [esi + 0xb8]
xor edi, edi
mov dword [ebp - 0xc], ecx
inc edi
test eax, eax
jne 0x446813
push eax
jmp 0x44681f
cmp eax, edi
jne 0x44681a
push edi
jmp 0x44681f
cmp eax, ebx
jne 0x446830
push ebx
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipSetStringFormatTrimming
test eax, eax
je 0x446849
mov dword [ebp - 0xc], eax
jmp 0x446849
cmp eax, 3
jne 0x446849
push eax
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipSetStringFormatTrimming
mov ecx, dword [ebp - 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [esi + 0xa0]
sub eax, 0
je 0x446873
sub eax, 1
je 0x446861
sub eax, 3
jne 0x446888
push edi
jmp 0x446862
push ebx
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
je 0x446888
mov dword [ebp - 0xc], eax
jmp 0x446888
push 0
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipSetStringFormatAlign
mov ecx, dword [ebp - 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [esi + 0xa4]
sub eax, ebx
je 0x4468b1
sub eax, 1
je 0x44689f
sub eax, 1
jne 0x4468c6
push edi
jmp 0x4468a0
push ebx
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
test eax, eax
je 0x4468c6
mov dword [ebp - 0xc], eax
jmp 0x4468c6
push 0
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
mov ecx, dword [ebp - 0xc]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0xc], ecx
cmp byte [esi + 0x40], 0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
mov edi, dword [ebx + 8]
mov dword [ebp + 0xc], ecx
je 0x446910
mov eax, dword [esi + 0x9c]
cmp eax, 2
je 0x446910
test eax, eax
jne 0x4468f8
mov ecx, dword [esi + 0x7c]
call fcn.0044404b
mov ecx, dword [esi + 0x34]
lea ecx, [eax + ecx*2]
sub edi, ecx
jmp 0x446910
cmp eax, 1
jne 0x446910
mov ecx, dword [esi + 0x7c]
call fcn.0044404b
mov edi, dword [ebx + 8]
sub edi, dword [esi + 0x34]
mov ecx, dword [ebp + 0xc]
sub edi, eax
cmp byte [esi + 0x43], 0
movd xmm0, ecx
lea ecx, [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
movd xmm0, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
movd xmm0, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
pop ebx
movss dword [ebp - 0x20], xmm0
je 0x44698a
lea eax, [esi + 0x70]
push eax
call fcn.00445a78
cmp byte [esi + 0x4a], 0
jne 0x446971
push dword [esi + 0x74]
push dword [ebp - 0x18]
call sub.gdiplus.dll_GdipSetSolidFillColor
mov ecx, dword [ebp - 0x14]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4469af
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
jmp 0x4469c1
lea eax, [esi + 0x6c]
push eax
call fcn.00445a78
cmp byte [esi + 0x4a], 0
jne 0x4469af
push dword [esi + 0x74]
push dword [ebp - 0x18]
call sub.gdiplus.dll_GdipSetSolidFillColor
mov ecx, dword [ebp - 0x14]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x84]
push dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 8]
push esi
call fcn.00446723
push dword [ebp - 0x18]
call sub.gdiplus.dll_GdipDeleteBrush
push 2
push esi
call fcn.005b433e
pop ecx
pop ecx
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipDeleteStringFormat
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8