Function at 0x5bac9dec
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x20]
imul eax, eax, 0x34
add eax, dword [edi]
push edi
mov dword [ebp - 0xc], eax
call fcn.5bac9c89
push 0x450
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
inc ebx
lea esi, [ebx + ebx + 0x20]
push esi
lea eax, [ebp + 0xc]
push eax
call fcn.5ba561af
test eax, eax
je 0x5baca057
mov eax, dword [ebp + 0xc]
push esi
push eax
push dword [ebp - 4]
lea ecx, [eax + ebx]
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push dword [ebp + 0xc]
sub esi, ebx
push esi
push dword [ebp - 8]
call sub.SHLWAPI.dll_wnsprintfA
add esp, 0x10
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x44f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 4
push 0
push 0x1036
push eax
mov dword [ebp + 8], eax
call esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
push ebx
push eax
push 0x1450
mov dword [ebp - 0x64], 6
mov dword [ebp - 0x58], eax
call fcn.5ba56439
lea eax, [ebp - 0x64]
push eax
push 0
push 0x101b
push dword [ebp + 8]
call esi
push ebx
push dword [ebp + 0xc]
push 0x1783
call fcn.5ba56439
lea eax, [ebp - 0x64]
push eax
push 1
push 0x101b
push dword [ebp + 8]
call esi
xor eax, eax
push eax
push eax
push 0xff00ff
push eax
push 0x10
push 0x10
push dword [0x5bb73708]
call dword [fcn.5ba56040]
push eax
push 1
push 0x1003
push dword [ebp + 8]
call esi
and dword [ebp - 8], 0
cmp dword [edi + 0x10], 0
mov eax, dword [edi + 0xc]
mov dword [ebp - 4], eax
jle 0x5baca049
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0xc]
push 0x123503f0
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x5baca014
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 7
mov ecx, dword [ecx + 4]
dec ecx
mov dword [ebp - 0x14], eax
neg ecx
lea eax, [ebp - 0x34]
push eax
sbb ecx, ecx
push 0
and ecx, 0xfffffffd
push 0x1007
push dword [ebp + 8]
add ecx, 0x13
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], 0xf000
call esi
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ecx + 4], 1
push ebx
push dword [ebp + 0xc]
setne al
add eax, 0x1784
push eax
call fcn.5ba56439
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x1006
push dword [ebp + 8]
mov dword [ebp - 0x30], ecx
call esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
cmp eax, dword [edi + 0x20]
jne 0x5baca014
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x7c], 0xf000
push 0x102b
push dword [ebp + 8]
mov dword [ebp - 0x80], 0x2000
call esi
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 4], 0xc
cmp eax, dword [edi + 0x10]
jl 0x5bac9f43
cmp dword [edi + 0x10], 0
jle 0x5baca049
push 3
pop eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 0x102b
push dword [ebp + 8]
call esi
mov eax, dword [0x5bb73714]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
pop edi
pop esi
pop ebx
leave
ret 8