Function at 0x434235
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 [0x508d30]
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push edi
push 0x4dd
push dword [0x508d30]
call esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0xb0
push dword [0x508d30]
call esi
push edi
push edi
push 0xb
push dword [0x508d30]
call esi
mov ebx, 0x50a148
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
mov eax, dword [0x508d08]
jae 0x4342c6
shl eax, 2
push dword [eax + 0x5088b0]
push dword [eax + 0x508c00]
push 0xffffffffffffffff
push edi
push dword [0x508d30]
call fcn.004296df
jmp 0x434411
shl eax, 2
push dword [eax + 0x5088b0]
push dword [eax + 0x508c00]
push 0xffffffffffffffff
push edi
push dword [0x508d30]
call fcn.004296df
push dword [0x508d30]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x434411
xor eax, eax
push 0x7fe
mov word [ebp - 0x82c], ax
lea eax, [ebp - 0x82a]
push edi
push eax
call fcn.00446b72
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.00446ca6
add esp, 0x10
inc edi
push edi
push eax
push dword [0x508d30]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
push dword [ebp - 4]
jmp 0x4343f5
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 [0x508d30]
add eax, edi
mov dword [ebp - 0x14], eax
call fcn.00429644
push 0
push edi
push 0xc9
push dword [0x508d30]
mov dword [ebp - 0x1c], eax
call esi
lea ecx, [ebp - 0x82c]
push ecx
push eax
push 0xc4
push dword [0x508d30]
mov dword [ebp - 0x82c], 0x3ff
call esi
cmp eax, 1
jle 0x4343ed
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 0x4343ed
mov eax, dword [0x508d08]
shl eax, 2
push dword [eax + 0x4a0ac8]
push dword [eax + 0x4a0ac0]
push dword [ebp - 0x14]
push edi
push dword [0x508d30]
call fcn.004296df
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 0x43434d
push dword [ebp - 4]
call fcn.00446ce1
pop ecx
xor edi, edi
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0xb1
push dword [0x508d30]
call esi
push edi
push edi
push 0xce
push dword [0x508d30]
call esi
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
je 0x43444b
sub ecx, eax
push ecx
push edi
push 0xb6
push dword [0x508d30]
call esi
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x4dd
push dword [0x508d30]
call esi
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], eax
je 0x43447d
movzx eax, ax
push edi
shl eax, 0x10
or eax, 4
push eax
push 0x114
push dword [0x508d30]
call esi
push edi
push 1
push 0xb
push dword [0x508d30]
call esi
push 5
push edi
push edi
push dword [0x508d30]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebx
leave
ret