Function at 0x445488
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
push ebp
call fcn.004453f0
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x44571c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43e208]
call fcn.00440f4c
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x445715
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x3c
mov eax, dword [ebp - 0x18]
call fcn.004201f4
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.004201f4
mov eax, dword [ebp - 0x18]
call fcn.004201cc
add eax, 6
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.004201f4
lea edx, [ebp - 0x22]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004201cc
add eax, 0x70
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.004201f4
lea edx, [ebp - 0x28]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004201cc
add eax, 0x7c
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.004201f4
mov eax, dword [ebp - 0x18]
call fcn.004201cc
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov eax, ebx
shl eax, 3
lea eax, [eax + eax*4]
add eax, dword [ebp - 0x20]
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.004201f4
lea edx, [ebp - 0x54]
mov ecx, 0x28
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
inc ebx
movsx edx, word [ebp - 0x22]
cmp ebx, edx
je 0x4455b1
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x28]
jg 0x445572
add eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x28]
jle 0x445572
movsx eax, word [ebp - 0x22]
cmp ebx, eax
jge 0x4456ff
mov eax, dword [ebp - 0x28]
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.004201f4
lea edx, [ebp - 0x17c]
mov ecx, 0x28
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x17c], 0
jne 0x4456ff
mov ebx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
cmp ebx, eax
jle 0x4455fd
mov ebx, eax
mov eax, ebx
add eax, eax
add eax, dword [ebp - 0x158]
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.004201f4
mov esi, ebx
dec esi
test esi, esi
jl 0x4456f2
inc esi
xor ebx, ebx
mov eax, ebx
shl eax, 2
add eax, dword [ebp - 0x15c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.004201f4
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 0x18]
call fcn.00420428
mov eax, dword [ebp - 0x1c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
call fcn.004201f4
lea edx, [ebp - 0x154]
mov ecx, 0x100
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [0x43df48]
mov eax, 0xc
call fcn.00405df8
mov edi, eax
mov eax, edi
lea edx, [ebp - 0x154]
mov ecx, 0x100
call fcn.00405034
xor eax, eax
mov dword [edi + 4], eax
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextA
call fcn.00445458
mov dword [edi + 4], eax
call fcn.0042ad44
test al, al
je 0x4456ba
mov dword [edi + 8], 1
jmp 0x4456dc
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 8]
jb 0x4456d5
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00442ec4
mov dword [edi + 8], eax
jmp 0x4456dc
mov dword [edi + 8], 1
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0041cee0
mov byte [ebp - 0xd], 1
inc ebx
dec esi
jne 0x445620
mov edx, 0x4453e8
mov eax, dword [ebp - 0xc]
call fcn.0041d5bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44571c
mov eax, dword [ebp - 0x18]
call fcn.00403e74
ret
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret