Function at 0x441350
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x8000
call fcn.004444f0
push esi
push edi
mov edi, dword [esp + 0x800c]
test edi, edi
mov eax, 0x44f4f8
jne 0x44136e
mov edi, eax
mov ecx, dword [esp + 0x8010]
test ecx, ecx
jne 0x441380
mov dword [esp + 0x8010], eax
mov esi, dword [esp + 0x8014]
test esi, esi
jne 0x44138d
mov esi, eax
mov ecx, dword [esp + 0x8018]
test ecx, ecx
jne 0x44139f
mov dword [esp + 0x8018], eax
mov al, byte [edi]
cmp al, 0x41
je 0x4413a9
cmp al, 0x61
jne 0x44140f
mov al, byte [edi + 1]
test al, al
jne 0x44140f
mov eax, dword [esp + 0x8010]
cmp byte [eax], 0
jne 0x44140f
cmp byte [esi], 0
jne 0x44140f
mov ecx, dword [esp + 0x8018]
cmp byte [ecx], 0
jne 0x44140f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4413ef
mov al, byte [0x45d5fd]
test al, al
jne 0x4413ef
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4413ef
xor esi, esi
mov al, byte [esp + 0x801c]
test al, al
je 0x441404
test esi, esi
je 0x441404
mov dword [0x45d6d0], esi
pop edi
mov eax, esi
pop esi
add esp, 0x8000
ret
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
test ebx, ebx
jne 0x441426
pop ebx
pop edi
pop esi
add esp, 0x8000
ret
mov al, byte [0x45d5fd]
test al, al
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
jne 0x441441
push ebx
call ebp
test eax, eax
je 0x441571
cmp byte [edi], 0
jne 0x4414c2
mov edx, dword [esp + 0x8018]
cmp byte [edx], 0
jne 0x4414c2
cmp byte [esi], 0
jne 0x4414c2
mov eax, dword [esp + 0x8020]
cmp byte [eax], 0
jne 0x4414c2
mov eax, dword [0x45d6d0]
test eax, eax
jne 0x441485
xor eax, eax
xor edx, edx
cmp ebx, eax
setne dl
pop ebp
dec edx
and edx, ebx
pop ebx
pop edi
mov eax, edx
pop esi
add esp, 0x8000
ret
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44146c
mov al, byte [0x45d5fd]
test al, al
jne 0x4414a6
mov ecx, dword [0x45d6d0]
push ecx
call ebp
test eax, eax
je 0x44146c
mov eax, dword [0x45d6d0]
xor edx, edx
cmp ebx, eax
setne dl
pop ebp
dec edx
and edx, ebx
pop ebx
pop edi
mov eax, edx
pop esi
add esp, 0x8000
ret
push 6
push str.ahk_id
push edi
call fcn.0044e5ed
add esp, 0xc
test eax, eax
jne 0x4415fb
add edi, 6
push edi
call fcn.00407b50
neg al
sbb eax, eax
and eax, 6
add eax, 0xa
push eax
push 0
push edi
call fcn.00444f82
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x441571
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x441571
cmp byte [esi], 0
je 0x4415bc
push 0x7fff
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4415bc
mov eax, dword [0x45d5f8]
dec eax
je 0x441599
dec eax
lea eax, [esp + 0x10]
je 0x44157e
jmp 0x441540
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x441568
test cl, cl
je 0x441564
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x441568
add eax, 2
add esi, 2
test cl, cl
jne 0x441540
xor eax, eax
jmp 0x44156d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4415bc
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x8000
ret
push esi
push eax
call fcn.00443c60
add esp, 8
test eax, eax
je 0x4415bc
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x8000
ret
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4415a0
sub eax, edx
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.00444c60
add esp, 0xc
test eax, eax
je 0x441571
mov edx, dword [esp + 0x8020]
mov eax, dword [esp + 0x8018]
push edx
push eax
push edi
call fcn.00441260
add esp, 0xc
test eax, eax
je 0x441571
mov al, byte [esp + 0x8024]
test al, al
je 0x4415ee
test edi, edi
je 0x4415ee
mov dword [0x45d6d0], edi
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x8000
ret
push 0x7fff
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x441614
mov byte [esp + 0x10], al
push esi
push edi
lea edx, [esp + 0x18]
push edx
push ebx
call fcn.0043fca0
add esp, 0x10
test al, al
je 0x441571
mov eax, dword [esp + 0x8020]
mov ecx, dword [esp + 0x8018]
push eax
push ecx
push ebx
call fcn.00441260
add esp, 0xc
test eax, eax
je 0x441571
mov al, byte [esp + 0x8024]
test al, al
je 0x44165e
mov dword [0x45d6d0], ebx
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
add esp, 0x8000
ret