Function at 0x4aa970
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x62c]
sub esp, 0x62c
push 0xffffffffffffffff
push 0x6281b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x70a308]
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 0x4aac9a
push 0x104
mov ecx, dword [ebx + 0x234]
cmp dword [ebx + 0x238], 0
je 0x4aaa02
lea eax, [ebp + 0x218]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4aac9a
lea esi, [ebx + 0xc8]
lea edx, [ebp + 0x218]
push edx
mov ecx, esi
call fcn.004017d0
jmp 0x4aaa2e
lea eax, [ebp + 0x51c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4aac9a
lea esi, [ebx + 0xc8]
push 0
lea edx, [ebp + 0x51c]
push edx
mov ecx, esi
call fcn.00401960
cmp dword [esi], 0
je 0x4aaa37
mov eax, dword [esi]
jmp 0x4aaa3a
lea eax, [esi + 4]
push 0x2a
push eax
call fcn.005fa163
add esp, 8
test eax, eax
jne 0x4aaa59
mov eax, dword [ebx + 0xc4]
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004017d0
xor esi, esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebx + 0x84]
jge 0x4aac93
lea edi, [ebx + 0x7c]
push esi
mov ecx, edi
call fcn.00458380
mov ecx, eax
xor eax, eax
cmp dword [ecx + 0x10], eax
je 0x4aac8d
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.00458380
mov eax, dword [eax + 8]
add eax, 0x54
cmp dword [eax], 0
je 0x4aaaa9
mov eax, dword [eax]
jmp 0x4aaaac
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.005fb587
add esp, 0x24
test eax, eax
jne 0x4aac81
lea eax, [ebp + 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aaaf0
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 0x41e], 0x5c
mov ecx, 0x64fbb8
je 0x4aab14
mov ecx, 0x64f8c0
cmp dword [ebx + 0xc8], 0
je 0x4aab25
mov eax, dword [ebx + 0xc8]
jmp 0x4aab2b
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.0043a620
push esi
mov ecx, edi
call fcn.00458380
add eax, 0x2c
mov eax, dword [eax]
push eax
lea ecx, [ebp]
call fcn.00406ea0
mov byte [ebp - 4], 2
mov eax, dword [ebp]
test eax, eax
jne 0x4aab6e
lea eax, [ebp + 4]
push eax
push 0x65b2b4
lea ecx, [ebp + 0xc]
call fcn.0043a8a0
push 0
push esi
mov ecx, edi
call fcn.00458380
mov edx, dword [eax + 0x18]
push edx
mov eax, dword [ebx + 0x78]
push eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [0x70f5c8]
call fcn.0048de30
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4aaba7
lea eax, [ebp + 0x10]
push eax
push esi
mov ecx, edi
call fcn.00458380
mov ecx, dword [eax + 8]
call fcn.005a1460
push esi
mov ecx, edi
call fcn.00458380
mov edx, dword [eax + 8]
mov byte [edx + 0x19a], 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 0x4aac75
cmp dword [0x70f608], 0
je 0x4aac27
mov eax, dword [0x70f784]
test eax, eax
mov ecx, eax
jne 0x4aac0f
mov ecx, 0x70f788
mov eax, dword [0x70f6ec]
test eax, eax
jne 0x4aac1d
mov eax, 0x70f6f0
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043a8a0
cmp dword [0x70f60c], 0
je 0x4aac58
mov eax, dword [0x70f79c]
test eax, eax
mov ecx, eax
jne 0x4aac40
mov ecx, 0x70f7a0
mov eax, dword [0x70f790]
test eax, eax
jne 0x4aac4e
mov eax, 0x70f794
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043a8a0
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4aac62
lea eax, [ebp + 0x10]
push eax
push edi
push 4
mov edx, dword [ebx + 0x1fc]
push edx
call fcn.0044e630
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004011f0
inc esi
jmp 0x4aaa5b
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.005f85e7
add ebp, 0x62c
mov esp, ebp
pop ebp
ret