Function at 0x4baaf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x62c]
sub esp, 0x62c
push 0xffffffffffffffff
push 0x6510b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x628], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
cmp byte [ebx + 0x354], 0
jne 0x4bae1a
push 0x104
mov ecx, dword [ebx + 0x234]
cmp dword [ebx + 0x238], 0
je 0x4bab82
lea eax, [ebp + 0x218]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4bae1a
lea esi, [ebx + 0xc8]
lea edx, [ebp + 0x218]
push edx
mov ecx, esi
call fcn.004017e0
jmp 0x4babae
lea eax, [ebp + 0x51c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4bae1a
lea esi, [ebx + 0xc8]
push 0
lea edx, [ebp + 0x51c]
push edx
mov ecx, esi
call fcn.00401970
cmp dword [esi], 0
je 0x4babb7
mov eax, dword [esi]
jmp 0x4babba
lea eax, [esi + 4]
push 0x2a
push eax
call fcn.00622700
add esp, 8
test eax, eax
jne 0x4babd9
mov eax, dword [ebx + 0xc4]
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004017e0
xor esi, esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebx + 0x84]
jge 0x4bae13
lea edi, [ebx + 0x7c]
push esi
mov ecx, edi
call fcn.00459bb0
mov ecx, eax
xor eax, eax
cmp dword [ecx + 0x10], eax
je 0x4bae0d
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x14], eax
xor edx, edx
mov word [ebp + 0x10], dx
mov byte [ebp - 4], 1
push esi
mov ecx, edi
call fcn.00459bb0
mov eax, dword [eax + 8]
add eax, 0x54
cmp dword [eax], 0
je 0x4bac29
mov eax, dword [eax]
jmp 0x4bac2c
add eax, 4
push 0x100
lea ecx, [ebp + 0x18]
push ecx
push 0x100
lea edx, [ebp + 0x220]
push edx
push 0x100
lea ecx, [ebp + 0x420]
push ecx
push 3
lea edx, [ebp + 0x620]
push edx
push eax
call fcn.00623b27
add esp, 0x24
test eax, eax
jne 0x4bae01
lea eax, [ebp + 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4bac70
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 0x41e], 0x5c
mov ecx, 0x679c78
je 0x4bac94
mov ecx, 0x679980
cmp dword [ebx + 0xc8], 0
je 0x4baca5
mov eax, dword [ebx + 0xc8]
jmp 0x4bacab
lea eax, [ebx + 0xcc]
push 0
push eax
push ecx
lea eax, [ebp + 0x420]
push eax
lea ecx, [ebp + 0x620]
push ecx
push str._s_s_s_s
lea ecx, [ebp + 0xc]
call fcn.0043c2c0
push esi
mov ecx, edi
call fcn.00459bb0
add eax, 0x2c
mov eax, dword [eax]
push eax
lea ecx, [ebp]
call fcn.004070a0
mov byte [ebp - 4], 2
mov eax, dword [ebp]
test eax, eax
jne 0x4bacee
lea eax, [ebp + 4]
push eax
push 0x685e98
lea ecx, [ebp + 0xc]
call fcn.0043c540
push 0
push esi
mov ecx, edi
call fcn.00459bb0
mov edx, dword [eax + 0x18]
push edx
mov eax, dword [ebx + 0x78]
push eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [0x75dba0]
call fcn.0049d5f0
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4bad27
lea eax, [ebp + 0x10]
push eax
push esi
mov ecx, edi
call fcn.00459bb0
mov ecx, dword [eax + 8]
call fcn.005be330
push esi
mov ecx, edi
call fcn.00459bb0
mov edx, dword [eax + 8]
mov byte [edx + 0x1b3], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
push 0x100d
mov ecx, dword [ebx + 0x1fc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jl 0x4badf5
cmp dword [0x75dbe8], 0
je 0x4bada7
mov eax, dword [0x75dce4]
test eax, eax
mov ecx, eax
jne 0x4bad8f
mov ecx, 0x75dce8
mov eax, dword [0x75dc94]
test eax, eax
jne 0x4bad9d
mov eax, 0x75dc98
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043c540
cmp dword [0x75dbec], 0
je 0x4badd8
mov eax, dword [0x75dd88]
test eax, eax
mov ecx, eax
jne 0x4badc0
mov ecx, 0x75dd8c
mov eax, dword [0x75dd7c]
test eax, eax
jne 0x4badce
mov eax, 0x75dd80
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043c540
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4bade2
lea eax, [ebp + 0x10]
push eax
push edi
push 4
mov edx, dword [ebx + 0x1fc]
push edx
call fcn.00453bd0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401210
inc esi
jmp 0x4babdb
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x628]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x62c
mov esp, ebp
pop ebp
ret