Function at 0x5bab55f2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x5bb70c3c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x23c]
push eax
push edi
mov esi, ecx
mov dword [ebp - 0x244], edi
call dword [sym.imp.USER32.dll_GetClientRect]
xor ebx, ebx
push ebx
push ebx
call fcn.5bac6f49
push ebx
push 1
mov dword [ebp - 0x214], eax
call fcn.5bac6f49
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDC]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
push edi
call ebx
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x21c]
push eax
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [esi + 0x70]
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebp - 0x21c]
push 7
pop ecx
add eax, ecx
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0x218]
add eax, ecx
mov dword [esi + 0x6c], eax
inc eax
cmp dword [esi + 0x84], 0
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
je 0x5bab56c7
push dword [ebp - 0x214]
push edi
call ebx
lea eax, [ebp - 0x21c]
push eax
push dword [esi + 0x84]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [esi + 0x84]
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esi + 0x74]
add eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
push dword [ebp - 0x214]
mov edx, dword [ebp - 0x234]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x78]
add eax, ecx
xor ecx, ecx
mov dword [esi + 0x80], eax
add eax, 7
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x88], ecx
lea ecx, [eax + 1]
mov dword [esi + 0x8c], ecx
add ecx, eax
push edi
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], ecx
call ebx
xor eax, eax
cmp dword [esi + 0x4c], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], eax
jle 0x5bab5799
lea eax, [esi + 0x40]
mov dword [ebp - 0x208], eax
push 0x200
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp - 0x208]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x210]
jle 0x5bab5781
mov dword [ebp - 0x210], eax
inc dword [ebp - 0x20c]
mov eax, dword [ebp - 0x20c]
add dword [ebp - 0x208], 4
cmp eax, dword [esi + 0x4c]
jl 0x5bab573d
push dword [ebp - 0x240]
push edi
call ebx
push edi
push dword [ebp - 0x244]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esi + 0x80]
mov ebx, dword [esi + 0x8c]
sub edi, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
add ebx, 7
push 0x2d
add edi, ebx
mov dword [ebp - 0x22c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
and dword [ebp - 0x20c], 0
lea eax, [eax + eax + 6]
sub eax, ebx
add eax, edi
add eax, dword [ebp - 0x210]
mov dword [ebp - 0x224], eax
sub eax, dword [ebp - 0x22c]
add eax, 7
cmp dword [esi + 0x4c], 0
mov dword [ebp - 0x210], eax
jle 0x5bab5874
mov dword [ebp - 0x208], edi
sub dword [ebp - 0x208], ebx
lea edi, [esi + 0x40]
push 0
push dword [ebp - 0x214]
push 0x30
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x22c]
push 0x214
push dword [ebp - 0x208]
push eax
push ebx
push dword [ebp - 0x22c]
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x210]
add dword [ebp - 0x22c], eax
add dword [ebp - 0x224], eax
inc dword [ebp - 0x20c]
mov eax, dword [ebp - 0x20c]
add edi, 4
cmp eax, dword [esi + 0x4c]
jl 0x5bab5813
mov eax, dword [esi + 0x94]
push 0
push dword [ebp - 0x214]
inc eax
push 0x30
push dword [esi + 0x38]
mov dword [ebp - 0x238], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x230]
sub eax, dword [ebp - 0x238]
push 0x214
push eax
mov eax, dword [ebp - 0x234]
sub eax, dword [ebp - 0x23c]
push eax
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push 0
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.5bb3f314
leave
ret 4