Function at 0x464bdf
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0xfc]
push 0x64
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0xfc]
push 0x40bec0
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
lea edi, [esi + 0x39c]
pop ecx
mov ecx, edi
call fcn.00450760
test eax, eax
je 0x464c4a
xor ebx, ebx
lea eax, [ebp - 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push 2
push eax
mov ecx, edi
push dword [ebp + 8]
call fcn.004500c8
jmp 0x464ca0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x464c90
cmp dword [eax + 0x1c], 0
jne 0x464c9e
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 8]
call edi
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0x40]
push dword [eax + 0x20]
call edi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
push ecx
mov ecx, dword [esi + 0x40]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045c029
jmp 0x464c9e
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.00465826
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.0045eb08
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
lea edi, [esi + 0x2e8]
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
jbe 0x464ce7
lea eax, [esi + 0x364]
push 0x24
push eax
push 0xffffffffffffffff
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esi + 0x4c]
or dword [esi + 0x38], 0xffffffff
xor edi, edi
cmp ecx, ebx
mov dword [esi + 0x288], ebx
mov dword [ebp + 0xc], edi
jle 0x464ddd
mov eax, dword [esi + 0x48]
mov edx, dword [eax + edi*4]
mov eax, edx
imul eax, eax, 0x1f0
add eax, dword [esi + 0x44]
test byte [eax + 0x44], 8
jne 0x464d49
cmp dword [esi + 0x34], ebx
je 0x464d30
dec ecx
cmp edi, ecx
jge 0x464d30
mov ecx, dword [ebp - 8]
sub ecx, dword [eax + 0x1b4]
cmp ecx, 0xa
jl 0x464d59
cmp dword [eax + 0x190], ebx
je 0x464d49
add eax, 0x1ac
mov ecx, esi
push eax
push edx
push dword [ebp + 8]
call fcn.00464f77
mov ecx, dword [esi + 0x4c]
inc edi
cmp edi, ecx
mov dword [ebp + 0xc], edi
jl 0x464d01
jmp 0x464ddd
mov dword [eax + 0x190], ebx
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
add eax, 0xfffffffe
mov dword [esi + 0x2ac], eax
lea ecx, [esi + 0x2a4]
add eax, 0xfffffff6
lea ebx, [esi + 0x2b0]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
sub eax, edi
push ecx
sub eax, 0xa
cdq
sub eax, edx
sar eax, 1
add eax, edi
lea edi, [esi + 0x2a8]
mov dword [edi], eax
add eax, 0xa
mov dword [ebx], eax
lea eax, [esi + 0x2c4]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0xc]
and dword [esi + 0x140], 0
mov dword [edi], eax
mov eax, dword [ebp - 4]
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x288], 1
mov dword [esi + 0x144], 0xa
mov byte [esi + 0x13c], 4
mov dword [esi + 0x38], eax
xor ebx, ebx
cmp dword [esi + 0x288], ebx
je 0x464df8
lea eax, [esi + 0x2a4]
mov ecx, esi
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00464f77
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebx
leave
ret 8