Function at 0x4ba4e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x62c]
sub esp, 0x62c
push 0xffffffffffffffff
push 0x6506e0
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 0x4ba80a
push 0x104
mov ecx, dword [ebx + 0x234]
cmp dword [ebx + 0x238], 0
je 0x4ba572
lea eax, [ebp + 0x218]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4ba80a
lea esi, [ebx + 0xc8]
lea edx, [ebp + 0x218]
push edx
mov ecx, esi
call fcn.00401800
jmp 0x4ba59e
lea eax, [ebp + 0x51c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4ba80a
lea esi, [ebx + 0xc8]
push 0
lea edx, [ebp + 0x51c]
push edx
mov ecx, esi
call fcn.00401990
cmp dword [esi], 0
je 0x4ba5a7
mov eax, dword [esi]
jmp 0x4ba5aa
lea eax, [esi + 4]
push 0x2a
push eax
call fcn.00621db0
add esp, 8
test eax, eax
jne 0x4ba5c9
mov eax, dword [ebx + 0xc4]
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00401800
xor esi, esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebx + 0x84]
jge 0x4ba803
lea edi, [ebx + 0x7c]
push esi
mov ecx, edi
call fcn.004597a0
mov ecx, eax
xor eax, eax
cmp dword [ecx + 0x10], eax
je 0x4ba7fd
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.004597a0
mov eax, dword [eax + 8]
add eax, 0x54
cmp dword [eax], 0
je 0x4ba619
mov eax, dword [eax]
jmp 0x4ba61c
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.006231d7
add esp, 0x24
test eax, eax
jne 0x4ba7f1
lea eax, [ebp + 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ba660
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 0x41e], 0x5c
mov ecx, 0x679c78
je 0x4ba684
mov ecx, 0x679980
cmp dword [ebx + 0xc8], 0
je 0x4ba695
mov eax, dword [ebx + 0xc8]
jmp 0x4ba69b
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.0043bd30
push esi
mov ecx, edi
call fcn.004597a0
add eax, 0x2c
mov eax, dword [eax]
push eax
lea ecx, [ebp]
call fcn.00406fb0
mov byte [ebp - 4], 2
mov eax, dword [ebp]
test eax, eax
jne 0x4ba6de
lea eax, [ebp + 4]
push eax
push 0x685e60
lea ecx, [ebp + 0xc]
call fcn.0043bfb0
push 0
push esi
mov ecx, edi
call fcn.004597a0
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.0049cce0
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ba717
lea eax, [ebp + 0x10]
push eax
push esi
mov ecx, edi
call fcn.004597a0
mov ecx, dword [eax + 8]
call fcn.005bde80
push esi
mov ecx, edi
call fcn.004597a0
mov edx, dword [eax + 8]
mov byte [edx + 0x1b2], 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 0x4ba7e5
cmp dword [0x75dbe8], 0
je 0x4ba797
mov eax, dword [0x75dce4]
test eax, eax
mov ecx, eax
jne 0x4ba77f
mov ecx, 0x75dce8
mov eax, dword [0x75dc94]
test eax, eax
jne 0x4ba78d
mov eax, 0x75dc98
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043bfb0
cmp dword [0x75dbec], 0
je 0x4ba7c8
mov eax, dword [0x75dd88]
test eax, eax
mov ecx, eax
jne 0x4ba7b0
mov ecx, 0x75dd8c
mov eax, dword [0x75dd7c]
test eax, eax
jne 0x4ba7be
mov eax, 0x75dd80
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043bfb0
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ba7d2
lea eax, [ebp + 0x10]
push eax
push edi
push 4
mov edx, dword [ebx + 0x1fc]
push edx
call fcn.00453660
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 0x4ba5cb
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.0062023e
add ebp, 0x62c
mov esp, ebp
pop ebp
ret