Function at 0x434b6b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
xor edi, edi
push edi
push edi
push 0xce
push dword [0x50a148]
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push edi
push 0x4dd
push dword [0x50a148]
call esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0xb0
push dword [0x50a148]
call esi
push edi
push edi
push 0xb
push dword [0x50a148]
call esi
mov ebx, 0x50b560
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
mov eax, dword [0x50a120]
jae 0x434bfc
shl eax, 2
push dword [eax + 0x509cc0]
push dword [eax + 0x50a010]
push 0xffffffffffffffff
push edi
push dword [0x50a148]
call fcn.00429ac8
jmp 0x434d47
shl eax, 2
push dword [eax + 0x509cc0]
push dword [eax + 0x50a010]
push 0xffffffffffffffff
push edi
push dword [0x50a148]
call fcn.00429ac8
push dword [0x50a148]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x434d47
xor eax, eax
push 0x7fe
mov word [ebp - 0x82c], ax
lea eax, [ebp - 0x82a]
push edi
push eax
call fcn.004476fd
mov edi, dword [ebp - 4]
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447831
add esp, 0x10
inc edi
push edi
push eax
push dword [0x50a148]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
push dword [ebp - 4]
jmp 0x434d2b
mov edi, dword [ebp - 8]
sub edi, dword [ebp - 4]
push ebx
sar edi, 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push dword [0x50a148]
add eax, edi
mov dword [ebp - 0x14], eax
call fcn.00429a2d
push 0
push edi
push 0xc9
push dword [0x50a148]
mov dword [ebp - 0x1c], eax
call esi
lea ecx, [ebp - 0x82c]
push ecx
push eax
push 0xc4
push dword [0x50a148]
mov dword [ebp - 0x82c], 0x3ff
call esi
cmp eax, 1
jle 0x434d23
push 0x3a
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov ecx, eax
lea edx, [ebp - 0x82c]
sub eax, edx
sar eax, 1
neg ecx
sbb ecx, ecx
and ecx, eax
cmp dword [ebp - 0x1c], ecx
jle 0x434d23
mov eax, dword [0x50a120]
shl eax, 2
push dword [eax + 0x4a1ad0]
push dword [eax + 0x4a1ac8]
push dword [ebp - 0x14]
push edi
push dword [0x50a148]
call fcn.00429ac8
mov eax, dword [ebp - 8]
push ebx
add eax, 2
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x434c83
push dword [ebp - 4]
call fcn.0044786c
pop ecx
xor edi, edi
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0xb1
push dword [0x50a148]
call esi
push edi
push edi
push 0xce
push dword [0x50a148]
call esi
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
je 0x434d81
sub ecx, eax
push ecx
push edi
push 0xb6
push dword [0x50a148]
call esi
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x4dd
push dword [0x50a148]
call esi
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], eax
je 0x434db3
movzx eax, ax
push edi
shl eax, 0x10
or eax, 4
push eax
push 0x114
push dword [0x50a148]
call esi
push edi
push 1
push 0xb
push dword [0x50a148]
call esi
push 5
push edi
push edi
push dword [0x50a148]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebx
leave
ret