Function at 0x4352f0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x41c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x44]
push eax
push 0x3e7
mov edi, edx
push 0xd
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
jl 0x435327
cmp ebx, 0x3e7
jle 0x435329
xor ebx, ebx
cmp ebx, ebp
mov byte [esp + ebx + 0x44], 0
jne 0x435339
xor ebx, ebx
jmp 0x435467
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, 1
mov ecx, edi
call fcn.00477a90
mov edx, dword [esp + 0x10]
cmp edx, ebp
jge 0x43535d
xor edx, edx
mov dword [esp + 0x10], edx
lea eax, [esp + 0x44]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435364
sub eax, esi
cmp edx, eax
jle 0x435375
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x14]
cmp edx, ebp
jge 0x435383
xor edx, edx
mov dword [esp + 0x14], edx
lea eax, [esp + 0x44]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435390
sub eax, esi
cmp edx, eax
jle 0x4353a1
mov dword [esp + 0x14], ebp
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
cmp esi, ebp
jne 0x4353b5
xor ebx, ebx
jmp 0x435467
mov ecx, dword [0x5b4320]
mov dword [esp + 0x1c], ebp
call fcn.00542c90
mov edi, eax
test edi, edi
je 0x4353dc
mov eax, dword [edi + 0x974]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x44]
mov byte [esp + ecx + 0x44], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4353f0
sub eax, edx
push eax
lea edx, [esp + 0x48]
mov ecx, esi
call fcn.00500390
mov edx, dword [esp + 0x10]
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + edx + 0x44], 0x20
jge 0x43541f
mov byte [esp + eax + 0x45], 0
jmp 0x435424
mov byte [esp + eax + 0x44], 0
lea eax, [esp + 0x44]
lea edx, [eax + 1]
jmp 0x435430
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435430
sub eax, edx
push eax
lea edx, [esp + 0x48]
mov ecx, esi
call fcn.00500390
test edi, edi
mov ebx, eax
je 0x435457
mov eax, dword [esp + 0x1c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x34]
push edx
push edi
call esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
add ebp, eax
add ebx, eax
lea eax, [esp + 0x24]
push eax
push ecx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
sub ecx, eax
sub esi, edi
mov edi, dword [esp + 0x38]
mov eax, ecx
sub eax, ebx
add eax, ebp
sub edi, esi
sub edi, 3
test eax, eax
cdq
sub eax, edx
sar eax, 1
sub ebp, eax
mov eax, dword [esp + 0x34]
cmp ebp, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebp
jge 0x4354cc
lea ebp, [eax + 3]
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x3c]
lea edx, [ecx + ebp]
cmp edx, eax
jle 0x4354e2
sub eax, ecx
sub eax, 3
mov ebp, eax
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x20]
push 0
push esi
push ecx
push edi
push ebp
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret